Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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.0007249/0.0007249, allocations: 88.17 kB / 15.7 MB, free: 460 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.000883/0.000883, allocations: 173 kB / 16.58 MB, free: 6.852 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.261/1.261, allocations: 223.3 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6637/0.6637, allocations: 113.7 MB / 405.4 MB, free: 4.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003119/0.0003119, allocations: 8 kB / 493.2 MB, free: 8.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1481, allocations: 77.11 MB / 0.5569 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.3098/0.458, allocations: 30.3 MB / 0.5865 GB, free: 14.99 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02193/0.4799, allocations: 13.94 MB / 0.6001 GB, free: 13.88 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003955/0.484, allocations: 136.1 kB / 0.6002 GB, free: 13.83 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002915/0.4869, allocations: 0.703 MB / 0.6009 GB, free: 13.43 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008718/0.4956, allocations: 2.405 MB / 0.6033 GB, free: 12.48 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005971/0.5016, allocations: 1.382 MB / 0.6046 GB, free: 11.89 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01488/0.5165, allocations: 9.787 MB / 0.6142 GB, free: 8.027 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01962/0.5362, allocations: 9.849 MB / 0.6238 GB, free: 3.027 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006611/0.5429, allocations: 2.957 MB / 0.6267 GB, free: 1.551 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006333/0.5492, allocations: 3.392 MB / 0.63 GB, free: 15.67 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001743/0.551, allocations: 301 kB / 0.6303 GB, free: 15.53 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004348/0.5554, allocations: 0.8038 MB / 0.6311 GB, free: 14.72 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003968/0.5594, allocations: 2.279 MB / 0.6333 GB, free: 12.44 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003685/0.5631, allocations: 1.128 MB / 0.6344 GB, free: 11.3 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01454/0.5777, allocations: 9.163 MB / 0.6434 GB, free: 2.113 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.687e-06/0.5777, allocations: 0 / 0.6434 GB, free: 2.113 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.178e-06/0.5777, allocations: 0 / 0.6434 GB, free: 2.113 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004948/0.5782, allocations: 0 / 0.6434 GB, free: 2.113 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01528/0.5935, allocations: 4.892 MB / 0.6481 GB, free: 13.15 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.5936, allocations: 12.03 kB / 0.6481 GB, free: 13.14 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003533/0.5971, allocations: 0.7269 MB / 0.6489 GB, free: 12.4 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007864/0.605, allocations: 1.145 MB / 0.65 GB, free: 11.25 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007997/0.6131, allocations: 3.236 MB / 0.6531 GB, free: 7.934 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003105/0.6134, allocations: 382 kB / 0.6535 GB, free: 7.559 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001734/0.6152, allocations: 495.9 kB / 0.654 GB, free: 7.074 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01769/0.6329, allocations: 7.97 MB / 0.6618 GB, free: 14.82 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001507/0.6331, allocations: 19.78 kB / 0.6618 GB, free: 14.8 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005765/0.6336, allocations: 216 kB / 0.662 GB, free: 14.59 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009545/0.6346, allocations: 445.5 kB / 0.6624 GB, free: 14.15 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01367/0.6483, allocations: 6.046 MB / 0.6683 GB, free: 8.094 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04667/0.695, allocations: 35.21 MB / 0.7027 GB, free: 1.703 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002809/0.6979, allocations: 2.019 MB / 0.7047 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002385/0.7003, allocations: 1.842 MB / 0.7065 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001257/0.7005, allocations: 18 kB / 0.7065 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6e-05/0.7005, allocations: 60.56 kB / 0.7065 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=171): time 3.246e-06/0.7005, allocations: 4 kB / 0.7065 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of matching and sorting (n=276): time 0.1263/0.8268, allocations: 38.99 MB / 0.7446 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.432e-05/0.8269, allocations: 85.5 kB / 0.7447 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003524/0.8305, allocations: 2.254 MB / 0.7469 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004528/0.8309, allocations: 73.7 kB / 0.747 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00182/0.8327, allocations: 2.28 MB / 0.7492 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001016/0.8338, allocations: 0.9317 MB / 0.7501 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000192/0.834, allocations: 60 kB / 0.7502 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002432/0.8342, allocations: 428.1 kB / 0.7506 GB, free: 488 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003058/0.8373, allocations: 1.962 MB / 0.7525 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003365/0.8407, allocations: 2.595 MB / 0.755 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003287/0.844, allocations: 2.368 MB / 0.7573 GB, free: 9.285 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.234e-05/0.844, allocations: 8 kB / 0.7573 GB, free: 9.277 MB / 0.5762 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01388/0.8579, allocations: 7.713 MB / 0.7649 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.698e-05/0.858, allocations: 12 kB / 0.7649 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.977e-05/0.858, allocations: 20 kB / 0.7649 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008615/0.8666, allocations: 3.213 MB / 0.768 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001697/0.8684, allocations: 399.4 kB / 0.7684 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04162/0.91, allocations: 31.09 MB / 0.7988 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002521/0.9125, allocations: 159.8 kB / 0.7989 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002575/0.9128, allocations: 108 kB / 0.799 GB, free: 13.68 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(10,71.0%) 28,(10,65.0%) 28,(6,77.8%) 24,(6,77.8%) 24,(5,92.0%) 17,(5,92.0%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002924/0.9158, allocations: 1.803 MB / 0.8008 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005946/0.9164, allocations: 336 kB / 0.8011 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01259/0.929, allocations: 7.318 MB / 0.8083 GB, free: 4.137 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.793e-05/0.929, allocations: 32.33 kB / 0.8083 GB, free: 4.105 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.854e-05/0.9291, allocations: 32 kB / 0.8083 GB, free: 4.074 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-05/0.9291, allocations: 11.95 kB / 0.8083 GB, free: 4.062 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02216/0.9513, allocations: 12.91 MB / 0.821 GB, free: 6.98 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-05/0.9514, allocations: 7.938 kB / 0.821 GB, free: 6.973 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001004/0.9524, allocations: 231.6 kB / 0.8212 GB, free: 6.746 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007716/0.9601, allocations: 2.846 MB / 0.824 GB, free: 3.883 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003293/0.9605, allocations: 52 kB / 0.824 GB, free: 3.832 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3359/1.296, allocations: 29.92 MB / 0.8532 GB, free: 197.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.465e-06/1.296, allocations: 9.094 kB / 0.8532 GB, free: 197.9 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01123/1.308, allocations: 6.866 MB / 0.8599 GB, free: 195 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001692/1.309, allocations: 0.7833 MB / 0.8607 GB, free: 194.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004311/1.31, allocations: 52.28 kB / 0.8608 GB, free: 194.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001401/1.311, allocations: 169.9 kB / 0.8609 GB, free: 194.6 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008861/1.312, allocations: 249.5 kB / 0.8612 GB, free: 194.6 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001714/1.312, allocations: 79.22 kB / 0.8612 GB, free: 194.6 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002065/1.314, allocations: 1.497 MB / 0.8627 GB, free: 194 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.21e-07/1.314, allocations: 1.281 kB / 0.8627 GB, free: 194 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003926/1.318, allocations: 1.374 MB / 0.864 GB, free: 193.9 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(5,84.0%) 17,(6,77.8%) 24,(10,65.0%) 28,(5,92.0%) 17,(6,77.8%) 24,(10,65.0%) 28} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009961/1.328, allocations: 7.483 MB / 0.8713 GB, free: 190.3 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00963/1.338, allocations: 6.891 MB / 0.8781 GB, free: 187.2 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.022e-05/1.338, allocations: 7.531 kB / 0.8781 GB, free: 187.2 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.006574/1.345, allocations: 4.42 MB / 0.8824 GB, free: 185 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004499/1.349, allocations: 1.035 MB / 0.8834 GB, free: 184.7 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0459/1.395, allocations: 32.3 MB / 0.9149 GB, free: 152.6 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003278/1.398, allocations: 3.643 MB / 0.9185 GB, free: 148.9 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002091/1.4, allocations: 0.5556 MB / 0.919 GB, free: 148.4 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001757/1.402, allocations: 1.975 MB / 0.921 GB, free: 146.4 MB / 0.6387 GB Notification: Performance of SimCode: time 1.293e-06/1.402, allocations: 3.938 kB / 0.921 GB, free: 146.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1388/1.541, allocations: 107.3 MB / 1.026 GB, free: 40.27 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001624/1.541, allocations: 231.5 kB / 1.026 GB, free: 40.02 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.638/5.179, allocations: 4 kB / 1.026 GB, free: 40.02 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) Environment - environmentSimulation: