Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",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.00118/0.00118, allocations: 105.7 kB / 16.4 MB, free: 6.449 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.001157/0.001157, allocations: 193.2 kB / 17.34 MB, free: 5.719 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.184/1.184, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.658/0.658, allocations: 115.3 MB / 406.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001101/0.001101, allocations: 62.17 kB / 0.5572 GB, free: 32.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1135, allocations: 76.18 MB / 0.6316 GB, free: 5.027 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.004809/0.1184, allocations: 4.256 MB / 0.6357 GB, free: 0.7461 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003018/0.1214, allocations: 2.392 MB / 0.6381 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001585/0.1216, allocations: 15.88 kB / 0.6381 GB, free: 14.33 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009438/0.1225, allocations: 374.2 kB / 0.6385 GB, free: 13.96 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006202/0.1232, allocations: 386.2 kB / 0.6388 GB, free: 13.58 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005593/0.1237, allocations: 322 kB / 0.6391 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005709/0.1243, allocations: 0.6827 MB / 0.6398 GB, free: 12.58 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003333/0.1246, allocations: 256.8 kB / 0.64 GB, free: 12.33 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002534/0.1249, allocations: 259.1 kB / 0.6403 GB, free: 12.08 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002896/0.1252, allocations: 274.8 kB / 0.6405 GB, free: 11.81 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.05e-05/0.1253, allocations: 28 kB / 0.6406 GB, free: 11.78 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005155/0.1258, allocations: 435 kB / 0.641 GB, free: 11.36 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001268/0.1259, allocations: 143.5 kB / 0.6411 GB, free: 11.21 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001935/0.1261, allocations: 242.7 kB / 0.6414 GB, free: 10.98 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006492/0.1268, allocations: 0.7289 MB / 0.6421 GB, free: 10.25 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.1268, allocations: 4 kB / 0.6421 GB, free: 10.24 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1268, allocations: 0 / 0.6421 GB, free: 10.24 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.1268, allocations: 0 / 0.6421 GB, free: 10.24 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.000918/0.1277, allocations: 0.7831 MB / 0.6428 GB, free: 9.41 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.07e-05/0.1278, allocations: 8.031 kB / 0.6428 GB, free: 9.402 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.853e-05/0.1278, allocations: 86.69 kB / 0.6429 GB, free: 9.309 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001195/0.129, allocations: 180 kB / 0.6431 GB, free: 9.133 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005102/0.1296, allocations: 440.5 kB / 0.6435 GB, free: 8.656 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.258e-05/0.1296, allocations: 29.36 kB / 0.6435 GB, free: 8.629 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.1e-05/0.1296, allocations: 32.31 kB / 0.6436 GB, free: 8.598 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007434/0.1304, allocations: 0.6547 MB / 0.6442 GB, free: 7.848 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.1304, allocations: 3.938 kB / 0.6442 GB, free: 7.844 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.687e-05/0.1305, allocations: 23.92 kB / 0.6442 GB, free: 7.82 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-05/0.1305, allocations: 55.89 kB / 0.6443 GB, free: 7.766 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00064/0.1312, allocations: 0.4911 MB / 0.6448 GB, free: 7.277 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002657/0.1338, allocations: 3.779 MB / 0.6485 GB, free: 3.238 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001512/0.1354, allocations: 0.6243 MB / 0.6491 GB, free: 2.586 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002151/0.1356, allocations: 182.5 kB / 0.6493 GB, free: 2.398 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/0.1356, allocations: 4 kB / 0.6493 GB, free: 2.395 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.1357, allocations: 42.5 kB / 0.6493 GB, free: 2.344 MB / 494.1 MB Notification: Performance of pre-optimization done (n=30): time 1.373e-06/0.1357, allocations: 0 / 0.6493 GB, free: 2.344 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.001912/0.1376, allocations: 1.269 MB / 0.6505 GB, free: 1 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.505e-05/0.1376, allocations: 110.8 kB / 0.6506 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003371/0.138, allocations: 401.7 kB / 0.651 GB, free: 476 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.84e-05/0.138, allocations: 30.27 kB / 0.6511 GB, free: 440 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.1382, allocations: 287.5 kB / 0.6513 GB, free: 148 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.344e-05/0.1383, allocations: 122.3 kB / 0.6514 GB, free: 24 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/0.1384, allocations: 94.33 kB / 0.6515 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.1385, allocations: 362.7 kB / 0.6519 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000236/0.1388, allocations: 173 kB / 0.652 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000333/0.1391, allocations: 379.2 kB / 0.6524 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000606/0.1397, allocations: 0.5874 MB / 0.653 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1397, allocations: 0 / 0.653 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.000929/0.1406, allocations: 0.6868 MB / 0.6537 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.1407, allocations: 8 kB / 0.6537 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.1407, allocations: 7.984 kB / 0.6537 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003042/0.141, allocations: 102.4 kB / 0.6538 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003332/0.1413, allocations: 111.8 kB / 0.6539 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002788/0.1441, allocations: 4.344 MB / 0.6581 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002744/0.1444, allocations: 31.97 kB / 0.6581 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.091e-05/0.1445, allocations: 24 kB / 0.6582 GB, free: 8.492 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001713/0.1446, allocations: 201.5 kB / 0.6584 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.897e-05/0.1447, allocations: 47.44 kB / 0.6584 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007715/0.1455, allocations: 0.5109 MB / 0.6589 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.1455, allocations: 4 kB / 0.6589 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1455, allocations: 7.938 kB / 0.6589 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1456, allocations: 0 / 0.6589 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001523/0.1471, allocations: 1.287 MB / 0.6602 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.1471, allocations: 0 / 0.6602 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000213/0.1473, allocations: 67.89 kB / 0.6602 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002287/0.1476, allocations: 86.8 kB / 0.6603 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.181e-05/0.1476, allocations: 8 kB / 0.6603 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002726/0.1503, allocations: 4.341 MB / 0.6646 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.1503, allocations: 4.031 kB / 0.6646 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007533/0.1511, allocations: 0.7779 MB / 0.6653 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001422/0.1512, allocations: 152.5 kB / 0.6655 GB, free: 392 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.293e-05/0.1513, allocations: 12 kB / 0.6655 GB, free: 380 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002689/0.1516, allocations: 23.97 kB / 0.6655 GB, free: 356 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.232e-05/0.1516, allocations: 39.84 kB / 0.6655 GB, free: 316 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.1516, allocations: 8 kB / 0.6656 GB, free: 308 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002496/0.1519, allocations: 283.1 kB / 0.6658 GB, free: 24 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1519, allocations: 0 / 0.6658 GB, free: 24 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000573/0.1525, allocations: 120 kB / 0.6659 GB, free: 15.9 MB / 0.5137 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009916/0.1535, allocations: 1.33 MB / 0.6672 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001039/0.1545, allocations: 0.8066 MB / 0.668 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1545, allocations: 0 / 0.668 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006116/0.1552, allocations: 0.543 MB / 0.6686 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007843/0.156, allocations: 150.5 kB / 0.6687 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004563/0.1605, allocations: 4.548 MB / 0.6731 GB, free: 8.055 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/0.1609, allocations: 0.8586 MB / 0.674 GB, free: 7.172 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002153/0.1611, allocations: 100.5 kB / 0.6741 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001826/0.1613, allocations: 155.4 kB / 0.6742 GB, free: 6.922 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/0.1613, allocations: 0 / 0.6742 GB, free: 6.922 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03156/0.1929, allocations: 10.01 MB / 0.684 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.072/9.265, allocations: 17.95 kB / 0.684 GB, free: 13.08 MB / 0.5294 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1)