Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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: "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007466/0.0007466, allocations: 98.97 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000876/0.0008761, allocations: 179.1 kB / 16.92 MB, free: 6.922 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.306/1.306, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6582/0.6582, allocations: 115.5 MB / 407.6 MB, free: 2.773 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003035/0.0003035, allocations: 13.16 kB / 496 MB, free: 6.312 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1491, allocations: 77.52 MB / 0.5601 GB, free: 8.988 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.308/0.4571, allocations: 33.67 MB / 0.5929 GB, free: 15.29 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02034/0.4775, allocations: 11.39 MB / 0.6041 GB, free: 11.44 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0043/0.4818, allocations: 140.6 kB / 0.6042 GB, free: 11.39 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003024/0.4849, allocations: 0.6925 MB / 0.6049 GB, free: 10.97 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007302/0.4922, allocations: 1.867 MB / 0.6067 GB, free: 9.891 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007157/0.4994, allocations: 2.001 MB / 0.6087 GB, free: 8.707 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01671/0.5161, allocations: 12.41 MB / 0.6208 GB, free: 3.348 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02534/0.5415, allocations: 14.34 MB / 0.6348 GB, free: 9.887 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006759/0.5483, allocations: 2.614 MB / 0.6373 GB, free: 7.262 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00746/0.5558, allocations: 3.554 MB / 0.6408 GB, free: 3.695 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001727/0.5575, allocations: 328 kB / 0.6411 GB, free: 3.375 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006052/0.5636, allocations: 1.914 MB / 0.643 GB, free: 1.457 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005122/0.5687, allocations: 2.455 MB / 0.6454 GB, free: 15 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008506/0.5773, allocations: 2.734 MB / 0.6481 GB, free: 12.24 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01511/0.5924, allocations: 11.43 MB / 0.6592 GB, free: 0.7734 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.5925, allocations: 4 kB / 0.6592 GB, free: 0.7695 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.5925, allocations: 0 / 0.6592 GB, free: 0.7695 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0003777/0.5928, allocations: 0 / 0.6592 GB, free: 0.7695 MB / 478.1 MB 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.01345/0.6063, allocations: 4.652 MB / 0.6638 GB, free: 12.05 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.6064, allocations: 15.97 kB / 0.6638 GB, free: 12.03 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00223/0.6086, allocations: 0.809 MB / 0.6646 GB, free: 11.21 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006389/0.615, allocations: 1.064 MB / 0.6656 GB, free: 10.14 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006396/0.6214, allocations: 3.255 MB / 0.6688 GB, free: 6.828 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003118/0.6218, allocations: 415.5 kB / 0.6692 GB, free: 6.422 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001321/0.6231, allocations: 0.5353 MB / 0.6697 GB, free: 5.887 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01619/0.6393, allocations: 9.083 MB / 0.6786 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002146/0.6396, allocations: 31.77 kB / 0.6786 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009536/0.6405, allocations: 240 kB / 0.6788 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004262/0.641, allocations: 350.8 kB / 0.6792 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0147/0.6557, allocations: 6.822 MB / 0.6858 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05203/0.7078, allocations: 40.2 MB / 0.7251 GB, free: 9.129 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004205/0.712, allocations: 3.107 MB / 0.7281 GB, free: 5.875 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002861/0.7149, allocations: 1.95 MB / 0.73 GB, free: 3.93 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001485/0.7151, allocations: 26 kB / 0.73 GB, free: 3.906 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.132e-05/0.7151, allocations: 48.56 kB / 0.7301 GB, free: 3.848 MB / 0.545 GB Notification: Performance of pre-optimization done (n=179): time 3.857e-06/0.7152, allocations: 0 / 0.7301 GB, free: 3.848 MB / 0.545 GB Notification: Performance of matching and sorting (n=182): time 0.02673/0.7419, allocations: 10.04 MB / 0.7399 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.967e-05/0.742, allocations: 73.39 kB / 0.74 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002842/0.7448, allocations: 1.526 MB / 0.7415 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001839/0.745, allocations: 53.7 kB / 0.7415 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001711/0.7468, allocations: 2.253 MB / 0.7437 GB, free: 5.719 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000712/0.7475, allocations: 0.6238 MB / 0.7443 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003146/0.7478, allocations: 182.1 kB / 0.7445 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.7479, allocations: 309.1 kB / 0.7448 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002029/0.75, allocations: 1.179 MB / 0.7459 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002374/0.7524, allocations: 1.885 MB / 0.7478 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00447/0.7568, allocations: 3.371 MB / 0.7511 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.507e-05/0.7569, allocations: 8 kB / 0.7511 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008213/0.7651, allocations: 4.577 MB / 0.7555 GB, free: 8.918 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.87e-05/0.7652, allocations: 24 kB / 0.7556 GB, free: 8.895 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.68e-05/0.7652, allocations: 20 kB / 0.7556 GB, free: 8.875 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003876/0.7691, allocations: 1.58 MB / 0.7571 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/0.7703, allocations: 351.3 kB / 0.7575 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02273/0.7931, allocations: 17.07 MB / 0.7741 GB, free: 5.328 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002232/0.7954, allocations: 111.9 kB / 0.7742 GB, free: 5.219 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004246/0.7958, allocations: 108 kB / 0.7743 GB, free: 5.113 MB / 0.5919 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.004113/0.7999, allocations: 1.901 MB / 0.7762 GB, free: 3.203 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006207/0.8006, allocations: 221.4 kB / 0.7764 GB, free: 2.984 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008108/0.8087, allocations: 4.094 MB / 0.7804 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.315e-05/0.8088, allocations: 19.94 kB / 0.7804 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.892e-05/0.8088, allocations: 20 kB / 0.7805 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.676e-05/0.8089, allocations: 15.95 kB / 0.7805 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01721/0.8261, allocations: 9.454 MB / 0.7897 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-05/0.8262, allocations: 4 kB / 0.7897 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008064/0.827, allocations: 184.2 kB / 0.7899 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003363/0.8303, allocations: 1.352 MB / 0.7912 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001242/0.8305, allocations: 40 kB / 0.7912 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01988/0.8504, allocations: 15.98 MB / 0.8068 GB, free: 3.016 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.456e-06/0.8504, allocations: 7.984 kB / 0.8068 GB, free: 3.008 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00708/0.8575, allocations: 4.081 MB / 0.8108 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001247/0.8588, allocations: 0.5295 MB / 0.8113 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005089/0.8593, allocations: 36 kB / 0.8114 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00119/0.8605, allocations: 91.83 kB / 0.8115 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004835/0.861, allocations: 161.7 kB / 0.8116 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001125/0.8611, allocations: 48 kB / 0.8117 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001629/0.8628, allocations: 1.005 MB / 0.8127 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8628, allocations: 0 / 0.8127 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003265/0.866, allocations: 0.9844 MB / 0.8136 GB, free: 11.93 MB / 0.6387 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.006863/0.8729, allocations: 4.667 MB / 0.8182 GB, free: 7.172 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.006896/0.8798, allocations: 4.293 MB / 0.8224 GB, free: 2.828 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.046e-06/0.8798, allocations: 4 kB / 0.8224 GB, free: 2.824 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.004301/0.8842, allocations: 2.669 MB / 0.825 GB, free: 112 kB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2787/1.163, allocations: 0.7065 MB / 0.8257 GB, free: 213.3 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04986/1.213, allocations: 30.91 MB / 0.8558 GB, free: 198.7 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003828/1.217, allocations: 3.579 MB / 0.8593 GB, free: 197.3 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001631/1.218, allocations: 462.7 kB / 0.8598 GB, free: 197.3 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001534/1.22, allocations: 1.787 MB / 0.8615 GB, free: 195.7 MB / 0.6387 GB Notification: Performance of SimCode: time 9.01e-07/1.22, allocations: 0 / 0.8615 GB, free: 195.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09304/1.313, allocations: 69.84 MB / 0.9297 GB, free: 135 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001588/1.313, allocations: 242.4 kB / 0.93 GB, free: 134.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.892/4.206, allocations: 0 / 0.93 GB, free: 134.7 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)