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.001522/0.001522, allocations: 108.7 kB / 16.37 MB, free: 6.016 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.001745/0.001745, allocations: 197.4 kB / 17.31 MB, free: 5.613 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.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002108/0.002108, allocations: 292.8 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.937/0.937, allocations: 169.3 MB / 0.4989 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 101.3 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1546, allocations: 86.97 MB / 0.6816 GB, free: 7.441 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.272/0.4266, allocations: 14.75 MB / 0.696 GB, free: 11.52 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01302/0.4396, allocations: 10.36 MB / 0.7061 GB, free: 4.758 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001396/0.4411, allocations: 57.22 kB / 0.7062 GB, free: 4.734 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003771/0.4448, allocations: 1.689 MB / 0.7078 GB, free: 3.719 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005249/0.4501, allocations: 1.814 MB / 0.7096 GB, free: 2.684 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001892/0.452, allocations: 0.7546 MB / 0.7104 GB, free: 2.293 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003705/0.4557, allocations: 2.754 MB / 0.713 GB, free: 1.059 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001809/0.4575, allocations: 1.415 MB / 0.7144 GB, free: 416 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002437/0.46, allocations: 1.507 MB / 0.7159 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001809/0.4618, allocations: 1.166 MB / 0.717 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000221/0.462, allocations: 158.7 kB / 0.7172 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001575/0.4636, allocations: 0.7861 MB / 0.718 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006423/0.4643, allocations: 0.6029 MB / 0.7185 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001038/0.4653, allocations: 0.9486 MB / 0.7195 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003143/0.4685, allocations: 2.768 MB / 0.7222 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.097e-06/0.4685, allocations: 0 / 0.7222 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4685, allocations: 3.938 kB / 0.7222 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.521e-05/0.4685, allocations: 3.984 kB / 0.7222 GB, free: 13.21 MB / 0.4981 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.003947/0.4725, allocations: 2.17 MB / 0.7243 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.4725, allocations: 13.3 kB / 0.7243 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01121/0.4838, allocations: 2.108 MB / 0.7264 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003686/0.4875, allocations: 1.306 MB / 0.7276 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001006/0.4876, allocations: 85 kB / 0.7277 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005491/0.4882, allocations: 111.1 kB / 0.7278 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006769/0.4949, allocations: 2.678 MB / 0.7304 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.827e-05/0.495, allocations: 6.656 kB / 0.7305 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002885/0.4953, allocations: 54.98 kB / 0.7305 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006307/0.496, allocations: 194.2 kB / 0.7307 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007615/0.5036, allocations: 2.791 MB / 0.7334 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01557/0.5192, allocations: 10.46 MB / 0.7436 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006007/0.5252, allocations: 2.334 MB / 0.7459 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002886/0.5281, allocations: 1.283 MB / 0.7472 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 8.225e-05/0.5282, allocations: 12.98 kB / 0.7472 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.5283, allocations: 43.56 kB / 0.7472 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=89): time 2.575e-06/0.5283, allocations: 4 kB / 0.7472 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of matching and sorting (n=153): time 0.07298/0.6012, allocations: 16.49 MB / 0.7633 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.006e-05/0.6014, allocations: 64.72 kB / 0.7634 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002667/0.604, allocations: 1.172 MB / 0.7645 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002234/0.6043, allocations: 49.7 kB / 0.7646 GB, free: 9.332 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007405/0.605, allocations: 0.7475 MB / 0.7653 GB, free: 8.578 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006417/0.6057, allocations: 0.5082 MB / 0.7658 GB, free: 8.062 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007285/0.6064, allocations: 291.4 kB / 0.7661 GB, free: 7.773 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.6066, allocations: 309 kB / 0.7664 GB, free: 7.469 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003483/0.6101, allocations: 1.507 MB / 0.7679 GB, free: 5.961 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003588/0.6137, allocations: 1.784 MB / 0.7696 GB, free: 4.082 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006962/0.6206, allocations: 3.369 MB / 0.7729 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.6207, allocations: 0 / 0.7729 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01316/0.6338, allocations: 5.277 MB / 0.778 GB, free: 11.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.6339, allocations: 8 kB / 0.778 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/0.6339, allocations: 8 kB / 0.7781 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00671/0.6406, allocations: 1.871 MB / 0.7799 GB, free: 9.391 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001817/0.6424, allocations: 420.3 kB / 0.7803 GB, free: 8.98 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02912/0.6716, allocations: 24.14 MB / 0.8039 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002793/0.6744, allocations: 303.5 kB / 0.8041 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002907/0.6747, allocations: 67.95 kB / 0.8042 GB, free: 15.37 MB / 0.5762 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.001068/0.6758, allocations: 470.8 kB / 0.8047 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004905/0.6763, allocations: 177.8 kB / 0.8048 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01333/0.6896, allocations: 5.324 MB / 0.81 GB, free: 9.355 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.327e-05/0.6897, allocations: 12 kB / 0.81 GB, free: 9.344 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.583e-05/0.6897, allocations: 20 kB / 0.8101 GB, free: 9.324 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.479e-05/0.6897, allocations: 7.969 kB / 0.8101 GB, free: 9.316 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01645/0.7062, allocations: 7.423 MB / 0.8173 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/0.7062, allocations: 7.938 kB / 0.8173 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00157/0.7078, allocations: 351.7 kB / 0.8177 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005924/0.7137, allocations: 1.709 MB / 0.8193 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001535/0.7139, allocations: 43.97 kB / 0.8194 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02708/0.741, allocations: 23.3 MB / 0.8421 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/0.741, allocations: 8.016 kB / 0.8421 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01206/0.7531, allocations: 4.891 MB / 0.8469 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001355/0.7545, allocations: 490.7 kB / 0.8474 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004902/0.755, allocations: 35.98 kB / 0.8474 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002316/0.7573, allocations: 315.5 kB / 0.8477 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005528/0.7578, allocations: 157 kB / 0.8479 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001765/0.758, allocations: 51.97 kB / 0.8479 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001283/0.7593, allocations: 0.7904 MB / 0.8487 GB, free: 404 kB / 0.6075 GB Notification: Performance of sort global known variables: time 2.8e-07/0.7593, allocations: 0 / 0.8487 GB, free: 404 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002344/0.7617, allocations: 0.6563 MB / 0.8493 GB, free: 15.73 MB / 0.6231 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.0003592/0.7621, allocations: 139.1 kB / 0.8495 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01084/0.7729, allocations: 5.163 MB / 0.8545 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.7729, allocations: 3.938 kB / 0.8545 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00675/0.7797, allocations: 3.343 MB / 0.8578 GB, free: 6.875 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002614/0.7823, allocations: 0.5653 MB / 0.8583 GB, free: 6.34 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008879/0.7912, allocations: 4.287 MB / 0.8625 GB, free: 2.012 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001498/0.7927, allocations: 1.568 MB / 0.864 GB, free: 412 kB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001371/0.7941, allocations: 386.4 kB / 0.8644 GB, free: 20 kB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000435/0.7946, allocations: 115.3 kB / 0.8645 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of SimCode: time 5.31e-07/0.7946, allocations: 0 / 0.8645 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of Templates: time 0.06612/0.8607, allocations: 44.87 MB / 0.9083 GB, free: 3.551 MB / 0.67 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)