Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 108.4 kB / 16.37 MB, free: 6.477 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.001835/0.001835, allocations: 185.8 kB / 17.31 MB, free: 5.824 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.378/1.378, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.708/1.708, allocations: 292.3 MB / 0.5496 GB, free: 17.6 MB / 462.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.001437/0.001437, allocations: 71.91 kB / 0.6729 GB, free: 5.816 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1966/0.198, allocations: 114.5 MB / 0.7848 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.3372/0.5352, allocations: 34.69 MB / 0.8187 GB, free: 29.23 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01752/0.5528, allocations: 11.61 MB / 0.83 GB, free: 21.35 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003904/0.5567, allocations: 162.8 kB / 0.8302 GB, free: 21.3 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.01015/0.567, allocations: 4.246 MB / 0.8343 GB, free: 18.75 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006428/0.5734, allocations: 1.993 MB / 0.8363 GB, free: 17.54 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.007583/0.581, allocations: 2.408 MB / 0.8386 GB, free: 16.18 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01154/0.5926, allocations: 8.459 MB / 0.8469 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01949/0.6122, allocations: 11.22 MB / 0.8578 GB, free: 8.074 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008619/0.6208, allocations: 3.734 MB / 0.8615 GB, free: 6.344 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0081/0.6289, allocations: 4.191 MB / 0.8656 GB, free: 4.051 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.003521/0.6325, allocations: 0.7791 MB / 0.8663 GB, free: 4.051 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007184/0.6397, allocations: 2.027 MB / 0.8683 GB, free: 3.371 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.005917/0.6457, allocations: 3.06 MB / 0.8713 GB, free: 1.418 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.009113/0.6548, allocations: 3.398 MB / 0.8746 GB, free: 14.59 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01745/0.6723, allocations: 11.98 MB / 0.8863 GB, free: 2.582 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 1.375e-05/0.6724, allocations: 4 kB / 0.8863 GB, free: 2.578 MB / 0.67 GB Notification: Performance of FrontEnd: time 4.989e-06/0.6724, allocations: 0 / 0.8863 GB, free: 2.578 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0004941/0.6729, allocations: 0 / 0.8863 GB, free: 2.578 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01671/0.6896, allocations: 5.803 MB / 0.892 GB, free: 12.7 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.6897, allocations: 11.97 kB / 0.892 GB, free: 12.69 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007422/0.6971, allocations: 1.06 MB / 0.893 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008016/0.7052, allocations: 3.461 MB / 0.8964 GB, free: 8.105 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004701/0.7057, allocations: 411.5 kB / 0.8968 GB, free: 7.703 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002302/0.708, allocations: 0.5471 MB / 0.8973 GB, free: 7.156 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02295/0.731, allocations: 9.079 MB / 0.9062 GB, free: 13.76 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002734/0.7313, allocations: 31.69 kB / 0.9062 GB, free: 13.73 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001435/0.7327, allocations: 236 kB / 0.9065 GB, free: 13.5 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004173/0.7331, allocations: 350.7 kB / 0.9068 GB, free: 13.15 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01451/0.7477, allocations: 6.822 MB / 0.9135 GB, free: 6.32 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04771/0.7954, allocations: 39.78 MB / 0.9523 GB, free: 10.83 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004175/0.7996, allocations: 3.108 MB / 0.9553 GB, free: 7.57 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002825/0.8025, allocations: 1.978 MB / 0.9573 GB, free: 5.59 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001357/0.8026, allocations: 25.94 kB / 0.9573 GB, free: 5.566 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.097e-05/0.8027, allocations: 52.56 kB / 0.9573 GB, free: 5.504 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=179): time 4.208e-06/0.8027, allocations: 0 / 0.9573 GB, free: 5.504 MB / 0.7481 GB Notification: Performance of matching and sorting (n=182): time 0.02498/0.8277, allocations: 9.971 MB / 0.9671 GB, free: 11.43 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.32e-05/0.8278, allocations: 77.34 kB / 0.9672 GB, free: 11.35 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002269/0.8301, allocations: 1.522 MB / 0.9686 GB, free: 9.781 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001932/0.8303, allocations: 61.7 kB / 0.9687 GB, free: 9.715 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.001447/0.8317, allocations: 2.257 MB / 0.9709 GB, free: 7.426 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006117/0.8323, allocations: 0.6238 MB / 0.9715 GB, free: 6.793 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006665/0.833, allocations: 407.9 kB / 0.9719 GB, free: 6.387 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 9.491e-05/0.8331, allocations: 305.1 kB / 0.9722 GB, free: 6.086 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001698/0.8348, allocations: 1.179 MB / 0.9734 GB, free: 4.902 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002258/0.8371, allocations: 1.881 MB / 0.9752 GB, free: 2.699 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004291/0.8414, allocations: 3.375 MB / 0.9785 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.518e-05/0.8414, allocations: 8 kB / 0.9785 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008159/0.8496, allocations: 4.574 MB / 0.983 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.454e-05/0.8497, allocations: 16 kB / 0.983 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.69e-05/0.8497, allocations: 23.94 kB / 0.983 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004001/0.8537, allocations: 1.584 MB / 0.9845 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001351/0.8551, allocations: 351.4 kB / 0.9849 GB, free: 8.434 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02436/0.8795, allocations: 18.59 MB / 1.003 GB, free: 5.293 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001774/0.8813, allocations: 119.8 kB / 1.003 GB, free: 5.176 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003008/0.8816, allocations: 95.98 kB / 1.003 GB, free: 5.082 MB / 0.795 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 (177): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003112/0.8848, allocations: 1.894 MB / 1.005 GB, free: 3.176 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005294/0.8853, allocations: 221.4 kB / 1.005 GB, free: 2.957 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007318/0.8926, allocations: 4.086 MB / 1.009 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-05/0.8927, allocations: 20 kB / 1.009 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.913e-05/0.8927, allocations: 16 kB / 1.009 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.584e-05/0.8928, allocations: 12.06 kB / 1.009 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01699/0.9098, allocations: 9.469 MB / 1.019 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.782e-05/0.9098, allocations: 4.562 kB / 1.019 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008786/0.9107, allocations: 179.7 kB / 1.019 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00358/0.9143, allocations: 1.369 MB / 1.02 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002242/0.9145, allocations: 32 kB / 1.02 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02224/0.9368, allocations: 17.34 MB / 1.037 GB, free: 1.582 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.9368, allocations: 4 kB / 1.037 GB, free: 1.578 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007146/0.944, allocations: 4.078 MB / 1.041 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001278/0.9453, allocations: 0.5256 MB / 1.042 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004973/0.9458, allocations: 40.44 kB / 1.042 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001119/0.9469, allocations: 87.89 kB / 1.042 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004198/0.9474, allocations: 165.7 kB / 1.042 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001184/0.9475, allocations: 44 kB / 1.042 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001553/0.9491, allocations: 1.005 MB / 1.043 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9491, allocations: 0 / 1.043 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0034/0.9525, allocations: 0.9922 MB / 1.044 GB, free: 10.5 MB / 0.8419 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 (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003234/0.9528, allocations: 143.8 kB / 1.044 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.007044/0.9599, allocations: 4.323 MB / 1.048 GB, free: 5.988 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.9599, allocations: 1 kB / 1.048 GB, free: 5.988 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.004589/0.9645, allocations: 2.657 MB / 1.051 GB, free: 3.281 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004091/0.9686, allocations: 0.7812 MB / 1.052 GB, free: 2.543 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01858/0.9872, allocations: 9.368 MB / 1.061 GB, free: 9.09 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007181/0.9945, allocations: 3.662 MB / 1.064 GB, free: 5.395 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006053/0.9951, allocations: 127.4 kB / 1.064 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of SimCode: time 3.457e-06/0.9951, allocations: 0 / 1.064 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of Templates: time 0.5194/1.515, allocations: 159.4 MB / 1.22 GB, free: 241.3 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)