Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007737/0.007737, allocations: 104 kB / 15.74 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001605/0.001606, allocations: 199 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.714/1.714, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.434/1.434, allocations: 251.7 MB / 0.5094 GB, free: 404 kB / 430.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 67.91 kB / 0.7258 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9255/0.927, allocations: 104.7 MB / 0.828 GB, free: 2.598 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.04149/0.9685, allocations: 32.5 MB / 0.8598 GB, free: 1.988 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02945/0.9981, allocations: 10.37 MB / 0.8699 GB, free: 7.586 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006564/1.005, allocations: 151.2 kB / 0.8701 GB, free: 7.438 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.01508/1.02, allocations: 3.724 MB / 0.8737 GB, free: 3.703 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01164/1.032, allocations: 1.96 MB / 0.8756 GB, free: 1.734 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01094/1.043, allocations: 2.13 MB / 0.8777 GB, free: 15.61 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.01892/1.062, allocations: 7.341 MB / 0.8849 GB, free: 8.242 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02999/1.092, allocations: 9.408 MB / 0.894 GB, free: 14.73 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01111/1.103, allocations: 3.229 MB / 0.8972 GB, free: 11.49 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01095/1.114, allocations: 3.477 MB / 0.9006 GB, free: 8 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.004578/1.118, allocations: 0.6484 MB / 0.9012 GB, free: 7.352 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008246/1.127, allocations: 1.771 MB / 0.903 GB, free: 5.578 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.006844/1.134, allocations: 2.554 MB / 0.9054 GB, free: 3.02 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.01136/1.145, allocations: 2.894 MB / 0.9083 GB, free: 116 kB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.02198/1.167, allocations: 10.11 MB / 0.9181 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.508e-05/1.167, allocations: 0 / 0.9181 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of FrontEnd: time 5.961e-06/1.167, allocations: 3.938 kB / 0.9181 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0004541/1.168, allocations: 0 / 0.9181 GB, free: 5.977 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01894/1.187, allocations: 5.002 MB / 0.923 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.52e-05/1.187, allocations: 8.031 kB / 0.923 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007555/1.194, allocations: 0.9591 MB / 0.924 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009894/1.204, allocations: 3.046 MB / 0.927 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006194/1.205, allocations: 345.7 kB / 0.9273 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002921/1.208, allocations: 464.2 kB / 0.9277 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02847/1.236, allocations: 7.667 MB / 0.9352 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006118/1.237, allocations: 27.78 kB / 0.9352 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002567/1.24, allocations: 204 kB / 0.9354 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006397/1.24, allocations: 309 kB / 0.9357 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01756/1.258, allocations: 5.718 MB / 0.9413 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06244/1.32, allocations: 34.81 MB / 0.9753 GB, free: 7.727 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004551/1.325, allocations: 2.157 MB / 0.9774 GB, free: 5.449 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002718/1.328, allocations: 1.261 MB / 0.9786 GB, free: 4.184 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001941/1.328, allocations: 21.3 kB / 0.9787 GB, free: 4.164 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.917e-05/1.328, allocations: 43.88 kB / 0.9787 GB, free: 4.113 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=133): time 5.41e-06/1.328, allocations: 0 / 0.9787 GB, free: 4.113 MB / 0.7794 GB Notification: Performance of matching and sorting (n=136): time 0.01918/1.347, allocations: 7.092 MB / 0.9856 GB, free: 12.75 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.71e-05/1.348, allocations: 68.72 kB / 0.9857 GB, free: 12.67 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004431/1.352, allocations: 1.48 MB / 0.9871 GB, free: 11.14 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.000444/1.353, allocations: 57.62 kB / 0.9872 GB, free: 11.08 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001969/1.355, allocations: 2.008 MB / 0.9892 GB, free: 9.047 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007966/1.355, allocations: 489 kB / 0.9896 GB, free: 8.562 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009213/1.356, allocations: 347.2 kB / 0.99 GB, free: 8.219 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001334/1.356, allocations: 305.1 kB / 0.9902 GB, free: 7.918 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001718/1.358, allocations: 0.9135 MB / 0.9911 GB, free: 7.004 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00297/1.361, allocations: 1.593 MB / 0.9927 GB, free: 5.098 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004332/1.366, allocations: 2.733 MB / 0.9954 GB, free: 2.055 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.45e-05/1.366, allocations: 8 kB / 0.9954 GB, free: 2.047 MB / 0.795 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.008023/1.374, allocations: 3.526 MB / 0.9988 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.082e-05/1.374, allocations: 12 kB / 0.9988 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.028e-05/1.374, allocations: 24.91 kB / 0.9988 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002869/1.377, allocations: 0.9114 MB / 0.9997 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001322/1.378, allocations: 347.4 kB / 1 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02549/1.404, allocations: 23.1 MB / 1.023 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002232/1.406, allocations: 104 kB / 1.023 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00045/1.406, allocations: 84 kB / 1.023 GB, free: 4.195 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004487/1.411, allocations: 1.606 MB / 1.024 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008408/1.412, allocations: 209.5 kB / 1.025 GB, free: 2.371 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006369/1.418, allocations: 2.994 MB / 1.027 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.758e-05/1.418, allocations: 16 kB / 1.028 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.734e-05/1.418, allocations: 8 kB / 1.028 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.942e-05/1.418, allocations: 7.969 kB / 1.028 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01806/1.436, allocations: 7.34 MB / 1.035 GB, free: 7.715 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.458e-05/1.436, allocations: 7.938 kB / 1.035 GB, free: 7.707 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008124/1.437, allocations: 179.7 kB / 1.035 GB, free: 7.531 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002483/1.44, allocations: 0.8223 MB / 1.036 GB, free: 6.672 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001602/1.44, allocations: 24 kB / 1.036 GB, free: 6.648 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02348/1.463, allocations: 21.95 MB / 1.057 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/1.463, allocations: 4.125 kB / 1.057 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007046/1.471, allocations: 3.029 MB / 1.06 GB, free: 11.87 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001629/1.472, allocations: 454.5 kB / 1.061 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007262/1.473, allocations: 31.94 kB / 1.061 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001437/1.474, allocations: 75.91 kB / 1.061 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004998/1.475, allocations: 128.7 kB / 1.061 GB, free: 11.18 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/1.475, allocations: 36 kB / 1.061 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.002229/1.477, allocations: 0.9756 MB / 1.062 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of sort global known variables: time 6.11e-07/1.477, allocations: 0 / 1.062 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.004389/1.482, allocations: 0.789 MB / 1.063 GB, free: 9.352 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004975/1.482, allocations: 147.6 kB / 1.063 GB, free: 9.203 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00796/1.49, allocations: 4.039 MB / 1.067 GB, free: 5.008 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.321e-05/1.49, allocations: 0 / 1.067 GB, free: 5.008 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.004288/1.495, allocations: 2.737 MB / 1.069 GB, free: 2.113 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005416/1.5, allocations: 0.7216 MB / 1.07 GB, free: 1.414 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02092/1.521, allocations: 7.112 MB / 1.077 GB, free: 10.21 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007227/1.528, allocations: 3.113 MB / 1.08 GB, free: 7.07 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.00241/1.531, allocations: 450 kB / 1.08 GB, free: 6.629 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006532/1.531, allocations: 119.4 kB / 1.081 GB, free: 6.512 MB / 0.8887 GB Notification: Performance of SimCode: time 1.854e-06/1.532, allocations: 0 / 1.081 GB, free: 6.512 MB / 0.8887 GB Notification: Performance of Templates: time 0.7474/2.279, allocations: 36.24 MB / 1.116 GB, free: 244.7 MB / 0.9044 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)