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.0008637/0.0008639, allocations: 95.88 kB / 15.68 MB, free: 488 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.0009555/0.0009558, allocations: 176.9 kB / 16.57 MB, free: 6.391 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.281/1.281, allocations: 223.2 MB / 240.5 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6127/0.6127, allocations: 113.7 MB / 405.3 MB, free: 4.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003462/0.0003463, allocations: 8 kB / 493 MB, free: 8.598 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1384, allocations: 77.11 MB / 0.5567 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.3/0.4385, allocations: 30.63 MB / 0.5867 GB, free: 16.16 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01772/0.4563, allocations: 10.99 MB / 0.5974 GB, free: 15.16 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003363/0.4597, allocations: 127.6 kB / 0.5975 GB, free: 15.11 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002423/0.4621, allocations: 0.7057 MB / 0.5982 GB, free: 14.7 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005196/0.4673, allocations: 1.327 MB / 0.5995 GB, free: 14.25 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0053/0.4726, allocations: 1.45 MB / 0.6009 GB, free: 13.63 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007787/0.4804, allocations: 3.885 MB / 0.6047 GB, free: 12.34 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01922/0.4997, allocations: 12.56 MB / 0.617 GB, free: 7.387 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004621/0.5043, allocations: 2.297 MB / 0.6192 GB, free: 5.992 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003952/0.5083, allocations: 2.367 MB / 0.6215 GB, free: 4.559 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000802/0.5091, allocations: 327.3 kB / 0.6218 GB, free: 4.559 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002709/0.5118, allocations: 0.8269 MB / 0.6226 GB, free: 4.305 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001824/0.5137, allocations: 2.247 MB / 0.6248 GB, free: 3.062 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001447/0.5151, allocations: 1.102 MB / 0.6259 GB, free: 2.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009345/0.5245, allocations: 9.778 MB / 0.6355 GB, free: 9.766 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.5245, allocations: 0 / 0.6355 GB, free: 9.766 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.948e-06/0.5245, allocations: 0 / 0.6355 GB, free: 9.766 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002699/0.5248, allocations: 3.938 kB / 0.6355 GB, free: 9.762 MB / 462.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.009347/0.5341, allocations: 4.687 MB / 0.64 GB, free: 5.012 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.5342, allocations: 8.031 kB / 0.64 GB, free: 5.004 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001854/0.5361, allocations: 0.8049 MB / 0.6408 GB, free: 4.188 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005314/0.5414, allocations: 1.024 MB / 0.6418 GB, free: 3.156 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00745/0.5489, allocations: 3.192 MB / 0.645 GB, free: 15.9 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003285/0.5492, allocations: 415.1 kB / 0.6453 GB, free: 15.5 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001475/0.5507, allocations: 0.5388 MB / 0.6459 GB, free: 14.96 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01632/0.567, allocations: 8.997 MB / 0.6547 GB, free: 5.645 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001492/0.5672, allocations: 27.77 kB / 0.6547 GB, free: 5.617 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005723/0.5678, allocations: 240 kB / 0.6549 GB, free: 5.383 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003435/0.5682, allocations: 346.8 kB / 0.6552 GB, free: 5.043 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01195/0.5801, allocations: 6.787 MB / 0.6619 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04114/0.6213, allocations: 40.17 MB / 0.7011 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003314/0.6246, allocations: 3.097 MB / 0.7041 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 7.734e-05/0.6247, allocations: 25.95 kB / 0.7041 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.6248, allocations: 52.56 kB / 0.7042 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=179): time 2.905e-06/0.6248, allocations: 0 / 0.7042 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of matching and sorting (n=182): time 0.02459/0.6494, allocations: 9.869 MB / 0.7138 GB, free: 5.102 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.4e-05/0.6494, allocations: 69.41 kB / 0.7139 GB, free: 5.02 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002176/0.6516, allocations: 1.514 MB / 0.7154 GB, free: 3.461 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001195/0.6518, allocations: 53.7 kB / 0.7154 GB, free: 3.402 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001516/0.6533, allocations: 2.253 MB / 0.7176 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006084/0.6539, allocations: 0.6277 MB / 0.7182 GB, free: 488 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.654, allocations: 44 kB / 0.7183 GB, free: 444 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002045/0.6542, allocations: 402.4 kB / 0.7187 GB, free: 36 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001555/0.6558, allocations: 1.168 MB / 0.7198 GB, free: 14.86 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00196/0.6578, allocations: 1.862 MB / 0.7216 GB, free: 12.68 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001859/0.6596, allocations: 1.521 MB / 0.7231 GB, free: 11.16 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.859e-06/0.6596, allocations: 8 kB / 0.7231 GB, free: 11.15 MB / 0.545 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.006755/0.6664, allocations: 4.555 MB / 0.7276 GB, free: 6.574 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.855e-05/0.6664, allocations: 15.98 kB / 0.7276 GB, free: 6.559 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.472e-05/0.6665, allocations: 24 kB / 0.7276 GB, free: 6.535 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003403/0.6699, allocations: 1.577 MB / 0.7291 GB, free: 4.953 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/0.671, allocations: 347.4 kB / 0.7295 GB, free: 4.613 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02078/0.6918, allocations: 17.7 MB / 0.7468 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001745/0.6935, allocations: 112 kB / 0.7469 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001689/0.6937, allocations: 111.9 kB / 0.747 GB, free: 2.156 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(12,31.2%) 26,(6,66.7%) 24,(6,66.7%) 16,(6,66.7%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003979/0.6977, allocations: 1.887 MB / 0.7488 GB, free: 264 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005712/0.6983, allocations: 225.3 kB / 0.749 GB, free: 36 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006509/0.7048, allocations: 4.075 MB / 0.753 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.461e-05/0.7048, allocations: 20 kB / 0.753 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-05/0.7049, allocations: 16 kB / 0.7531 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.678e-05/0.7049, allocations: 11.95 kB / 0.7531 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01471/0.7196, allocations: 9.431 MB / 0.7623 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/0.7196, allocations: 4 kB / 0.7623 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007579/0.7204, allocations: 183.7 kB / 0.7625 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003078/0.7235, allocations: 1.352 MB / 0.7638 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001112/0.7236, allocations: 36 kB / 0.7638 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01882/0.7424, allocations: 16.55 MB / 0.78 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/0.7425, allocations: 8 kB / 0.78 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007104/0.7496, allocations: 4.346 MB / 0.7842 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001581/0.7513, allocations: 0.5372 MB / 0.7847 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002576/0.7515, allocations: 36 kB / 0.7848 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000906/0.7524, allocations: 87.89 kB / 0.7849 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005273/0.753, allocations: 161.7 kB / 0.785 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001042/0.7531, allocations: 44 kB / 0.7851 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001332/0.7544, allocations: 0.9851 MB / 0.786 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.61e-07/0.7544, allocations: 0 / 0.786 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00321/0.7576, allocations: 0.9883 MB / 0.787 GB, free: 8.066 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,66.7%) 16,(6,66.7%) 16,(6,66.7%) 24,(6,66.7%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006331/0.764, allocations: 6.115 MB / 0.793 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.005986/0.77, allocations: 4.273 MB / 0.7971 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/0.77, allocations: 0 / 0.7971 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.003771/0.7738, allocations: 2.682 MB / 0.7997 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003043/0.7769, allocations: 0.6717 MB / 0.8004 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2965/1.073, allocations: 37.85 MB / 0.8374 GB, free: 183.5 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006663/1.08, allocations: 3.666 MB / 0.8409 GB, free: 182.7 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001602/1.082, allocations: 457.6 kB / 0.8414 GB, free: 182.7 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001709/1.083, allocations: 1.79 MB / 0.8431 GB, free: 182.7 MB / 0.6387 GB Notification: Performance of SimCode: time 1.122e-06/1.083, allocations: 3.219 kB / 0.8431 GB, free: 182.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 8.701/9.785, allocations: 70.46 MB / 0.9119 GB, free: 129.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001949/9.785, allocations: 217.5 kB / 0.9122 GB, free: 129.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.757/12.54, allocations: 0 / 0.9122 GB, free: 129.3 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/linux/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) Environment - environmentSimulation: