Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001159, allocations: 109.4 kB / 16.41 MB, free: 6.488 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.001258/0.001258, allocations: 185.5 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002185/0.002185, allocations: 290.9 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9568/0.9568, allocations: 169.2 MB / 0.499 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00326/0.00326, allocations: 103.8 kB / 0.6821 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4878/0.4911, allocations: 86.97 MB / 0.767 GB, free: 3.797 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01732/0.5085, allocations: 14.78 MB / 0.7815 GB, free: 4.965 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01586/0.5244, allocations: 10.35 MB / 0.7916 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002264/0.5267, allocations: 51.69 kB / 0.7916 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004948/0.5316, allocations: 1.691 MB / 0.7933 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005729/0.5374, allocations: 1.846 MB / 0.7951 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002172/0.5396, allocations: 0.7596 MB / 0.7958 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004262/0.5439, allocations: 2.758 MB / 0.7985 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002294/0.5462, allocations: 1.415 MB / 0.7999 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002328/0.5485, allocations: 1.527 MB / 0.8014 GB, free: 484 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001754/0.5503, allocations: 1.164 MB / 0.8025 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002332/0.5505, allocations: 164 kB / 0.8027 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001564/0.5521, allocations: 0.7877 MB / 0.8035 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006991/0.5528, allocations: 0.6076 MB / 0.8041 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001184/0.554, allocations: 0.9561 MB / 0.805 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003113/0.5571, allocations: 2.765 MB / 0.8077 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.5572, allocations: 0 / 0.8077 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.362e-06/0.5572, allocations: 0 / 0.8077 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.873e-05/0.5572, allocations: 0 / 0.8077 GB, free: 10.01 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003687/0.5609, allocations: 2.166 MB / 0.8098 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.561, allocations: 8.031 kB / 0.8098 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0121/0.5731, allocations: 2.116 MB / 0.8119 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003201/0.5763, allocations: 1.307 MB / 0.8132 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.823e-05/0.5764, allocations: 82.69 kB / 0.8132 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002762/0.5767, allocations: 124 kB / 0.8134 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006138/0.5828, allocations: 2.67 MB / 0.816 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.995e-05/0.5829, allocations: 7.938 kB / 0.816 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001775/0.5831, allocations: 47.98 kB / 0.816 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006899/0.5838, allocations: 202.1 kB / 0.8162 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008026/0.5918, allocations: 2.791 MB / 0.8189 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01519/0.607, allocations: 10.46 MB / 0.8292 GB, free: 3.168 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006885/0.614, allocations: 2.328 MB / 0.8314 GB, free: 0.8164 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003305/0.6173, allocations: 1.276 MB / 0.8327 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.432e-05/0.6174, allocations: 12.94 kB / 0.8327 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.432e-05/0.6175, allocations: 47.5 kB / 0.8327 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=89): time 3.236e-06/0.6175, allocations: 0 / 0.8327 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of matching and sorting (n=153): time 0.06142/0.6789, allocations: 16.5 MB / 0.8488 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.624e-05/0.679, allocations: 76.66 kB / 0.8489 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001644/0.6806, allocations: 1.176 MB / 0.8501 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001878/0.6808, allocations: 49.7 kB / 0.8501 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005538/0.6814, allocations: 0.7435 MB / 0.8508 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005034/0.6819, allocations: 0.5159 MB / 0.8513 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005519/0.6825, allocations: 287.4 kB / 0.8516 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.6826, allocations: 309.1 kB / 0.8519 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003745/0.6864, allocations: 1.51 MB / 0.8534 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003885/0.6903, allocations: 1.776 MB / 0.8551 GB, free: 8.234 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007537/0.6978, allocations: 3.365 MB / 0.8584 GB, free: 4.773 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/0.6978, allocations: 4 kB / 0.8584 GB, free: 4.77 MB / 0.6231 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01381/0.7117, allocations: 5.273 MB / 0.8636 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.096e-05/0.7117, allocations: 15.12 kB / 0.8636 GB, free: 15.44 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/0.7117, allocations: 8 kB / 0.8636 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006974/0.7187, allocations: 1.874 MB / 0.8654 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002125/0.7209, allocations: 423.3 kB / 0.8658 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03074/0.7516, allocations: 24.12 MB / 0.8894 GB, free: 3.891 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002945/0.7546, allocations: 307.6 kB / 0.8897 GB, free: 3.59 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001812/0.7548, allocations: 67.97 kB / 0.8897 GB, free: 3.523 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009385/0.7558, allocations: 472.3 kB / 0.8902 GB, free: 3.055 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003473/0.7561, allocations: 173.9 kB / 0.8903 GB, free: 2.883 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01378/0.7699, allocations: 5.324 MB / 0.8955 GB, free: 13.51 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.153e-05/0.77, allocations: 19.98 kB / 0.8956 GB, free: 13.49 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.86e-05/0.77, allocations: 16 kB / 0.8956 GB, free: 13.48 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-05/0.77, allocations: 3.984 kB / 0.8956 GB, free: 13.47 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01705/0.7871, allocations: 7.423 MB / 0.9028 GB, free: 5.926 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.819e-06/0.7871, allocations: 0 / 0.9028 GB, free: 5.926 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001752/0.7889, allocations: 351.4 kB / 0.9032 GB, free: 5.582 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00625/0.7952, allocations: 1.71 MB / 0.9048 GB, free: 3.848 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001699/0.7954, allocations: 39.97 kB / 0.9049 GB, free: 3.809 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03011/0.8255, allocations: 23.31 MB / 0.9276 GB, free: 11.38 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.8255, allocations: 3.938 kB / 0.9276 GB, free: 11.38 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01296/0.8385, allocations: 4.891 MB / 0.9324 GB, free: 6.402 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001075/0.8396, allocations: 498.8 kB / 0.9329 GB, free: 5.895 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002788/0.8399, allocations: 28 kB / 0.9329 GB, free: 5.867 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002244/0.8421, allocations: 319.5 kB / 0.9332 GB, free: 5.555 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005711/0.8427, allocations: 152.9 kB / 0.9334 GB, free: 5.402 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001351/0.8429, allocations: 55.95 kB / 0.9334 GB, free: 5.348 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001159/0.844, allocations: 0.7903 MB / 0.9342 GB, free: 4.559 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.41e-07/0.844, allocations: 8 kB / 0.9342 GB, free: 4.551 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002034/0.8461, allocations: 0.6562 MB / 0.9348 GB, free: 3.895 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003104/0.8464, allocations: 147 kB / 0.935 GB, free: 3.742 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01141/0.8578, allocations: 5.136 MB / 0.94 GB, free: 14.5 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 9.288e-06/0.8579, allocations: 3.938 kB / 0.94 GB, free: 14.5 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.007155/0.865, allocations: 3.359 MB / 0.9433 GB, free: 11.04 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002493/0.8675, allocations: 0.5622 MB / 0.9438 GB, free: 10.5 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008932/0.8765, allocations: 4.404 MB / 0.9481 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001299/0.8778, allocations: 1.572 MB / 0.9497 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005432/0.8784, allocations: 123.3 kB / 0.9498 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of SimCode: time 8.51e-07/0.8784, allocations: 0 / 0.9498 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of Templates: time 0.4249/1.303, allocations: 85.85 MB / 1.034 GB, free: 137 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)