Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_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.0007297/0.0007297, allocations: 93.19 kB / 16.02 MB, free: 84 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.0007985/0.0007986, allocations: 181.7 kB / 16.92 MB, free: 6.684 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.282/1.282, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6454/0.6454, allocations: 115.5 MB / 407.6 MB, free: 2.73 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002738/0.0002738, allocations: 8.281 kB / 496 MB, free: 6.242 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1274, allocations: 77.54 MB / 0.5601 GB, free: 8.91 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01098/0.1385, allocations: 10.53 MB / 0.5703 GB, free: 14.34 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007998/0.1465, allocations: 5.763 MB / 0.576 GB, free: 8.562 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009213/0.1474, allocations: 43.69 kB / 0.576 GB, free: 8.52 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007283/0.1482, allocations: 241.9 kB / 0.5762 GB, free: 8.281 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002677/0.1509, allocations: 1.074 MB / 0.5773 GB, free: 7.203 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001819/0.1527, allocations: 0.7321 MB / 0.578 GB, free: 6.473 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003058/0.1558, allocations: 2.856 MB / 0.5808 GB, free: 3.609 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003865/0.1596, allocations: 2.347 MB / 0.5831 GB, free: 1.223 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00111/0.1608, allocations: 0.6999 MB / 0.5838 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2381/0.3989, allocations: 0.8413 MB / 0.5846 GB, free: 12.74 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000496/0.3994, allocations: 60.55 kB / 0.5846 GB, free: 12.74 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002904/0.4023, allocations: 1.435 MB / 0.586 GB, free: 12.74 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007748/0.4031, allocations: 468.1 kB / 0.5865 GB, free: 12.74 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008664/0.404, allocations: 0.7254 MB / 0.5872 GB, free: 12.64 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003302/0.4073, allocations: 2.416 MB / 0.5896 GB, free: 12.34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.4073, allocations: 0.6875 kB / 0.5896 GB, free: 12.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4073, allocations: 0 / 0.5896 GB, free: 12.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.452e-05/0.4074, allocations: 0.75 kB / 0.5896 GB, free: 12.34 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.002514/0.4099, allocations: 1.606 MB / 0.5911 GB, free: 11.42 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.4099, allocations: 8.875 kB / 0.5911 GB, free: 11.42 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002459/0.4102, allocations: 212 kB / 0.5913 GB, free: 11.37 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004331/0.4145, allocations: 0.6761 MB / 0.592 GB, free: 11.28 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001299/0.4158, allocations: 0.914 MB / 0.5929 GB, free: 10.91 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.876e-05/0.4159, allocations: 97.52 kB / 0.593 GB, free: 10.9 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002022/0.4161, allocations: 124.6 kB / 0.5931 GB, free: 10.9 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002883/0.419, allocations: 2.207 MB / 0.5953 GB, free: 10.28 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.235e-05/0.4191, allocations: 14.91 kB / 0.5953 GB, free: 10.28 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001491/0.4192, allocations: 60.73 kB / 0.5953 GB, free: 10.28 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000232/0.4195, allocations: 162.6 kB / 0.5955 GB, free: 10.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002888/0.4224, allocations: 1.872 MB / 0.5973 GB, free: 10.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00971/0.4321, allocations: 12.48 MB / 0.6095 GB, free: 17.11 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003865/0.436, allocations: 1.97 MB / 0.6114 GB, free: 17.03 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007726/0.4368, allocations: 0.6056 MB / 0.612 GB, free: 16.89 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001309/0.4369, allocations: 99.84 kB / 0.6121 GB, free: 16.79 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.4369, allocations: 47.59 kB / 0.6122 GB, free: 16.75 MB / 462.1 MB Notification: Performance of pre-optimization done (n=103): time 2.615e-06/0.4369, allocations: 0 / 0.6122 GB, free: 16.75 MB / 462.1 MB Notification: Performance of matching and sorting (n=110): time 0.005499/0.4424, allocations: 3.723 MB / 0.6158 GB, free: 14.81 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.4425, allocations: 63.53 kB / 0.6159 GB, free: 14.75 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001033/0.4435, allocations: 0.9186 MB / 0.6168 GB, free: 14.37 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.393e-05/0.4436, allocations: 41.14 kB / 0.6168 GB, free: 14.32 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003325/0.4439, allocations: 0.7268 MB / 0.6175 GB, free: 13.75 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002204/0.4442, allocations: 395 kB / 0.6179 GB, free: 13.45 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/0.4443, allocations: 120.5 kB / 0.618 GB, free: 13.39 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.98e-05/0.4444, allocations: 308.2 kB / 0.6183 GB, free: 13.09 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008075/0.4452, allocations: 0.6118 MB / 0.6189 GB, free: 12.88 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009866/0.4462, allocations: 1.105 MB / 0.62 GB, free: 11.95 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002134/0.4484, allocations: 1.832 MB / 0.6218 GB, free: 10.67 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.674e-06/0.4484, allocations: 5.25 kB / 0.6218 GB, free: 10.67 MB / 462.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003054/0.4514, allocations: 2.099 MB / 0.6238 GB, free: 9.676 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.4515, allocations: 17 kB / 0.6238 GB, free: 9.672 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/0.4515, allocations: 18 kB / 0.6238 GB, free: 9.668 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007344/0.4522, allocations: 261.5 kB / 0.6241 GB, free: 9.516 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/0.4534, allocations: 373.4 kB / 0.6244 GB, free: 9.438 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007453/0.4609, allocations: 10.76 MB / 0.635 GB, free: 14.55 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/0.4622, allocations: 128.3 kB / 0.6351 GB, free: 14.48 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/0.4623, allocations: 67 kB / 0.6351 GB, free: 14.47 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * 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 {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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.000793/0.4631, allocations: 405 kB / 0.6355 GB, free: 14.2 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002089/0.4633, allocations: 133.9 kB / 0.6357 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002619/0.466, allocations: 1.679 MB / 0.6373 GB, free: 13.16 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-06/0.466, allocations: 10.38 kB / 0.6373 GB, free: 13.16 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.466, allocations: 5.938 kB / 0.6373 GB, free: 13.16 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/0.466, allocations: 10.47 kB / 0.6373 GB, free: 13.15 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004366/0.4704, allocations: 3.293 MB / 0.6405 GB, free: 11.13 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.4704, allocations: 3.656 kB / 0.6405 GB, free: 11.13 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007749/0.4712, allocations: 222.6 kB / 0.6408 GB, free: 11.08 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006533/0.4719, allocations: 250.8 kB / 0.641 GB, free: 10.92 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.213e-05/0.4719, allocations: 21.28 kB / 0.641 GB, free: 10.91 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006938/0.4789, allocations: 10.75 MB / 0.6515 GB, free: 15.99 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/0.4789, allocations: 8 kB / 0.6515 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002475/0.4814, allocations: 1.8 MB / 0.6533 GB, free: 14.09 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000589/0.482, allocations: 323.3 kB / 0.6536 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001519/0.4821, allocations: 24 kB / 0.6536 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007292/0.4829, allocations: 91.81 kB / 0.6537 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001812/0.4831, allocations: 100.1 kB / 0.6538 GB, free: 13.55 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.265e-05/0.4831, allocations: 35.98 kB / 0.6538 GB, free: 13.51 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007465/0.4839, allocations: 0.6177 MB / 0.6544 GB, free: 12.89 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4839, allocations: 0 / 0.6544 GB, free: 12.89 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001451/0.4853, allocations: 395.8 kB / 0.6548 GB, free: 12.5 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * 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 {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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.00273/0.4881, allocations: 2.383 MB / 0.6571 GB, free: 10.02 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003413/0.4915, allocations: 2.498 MB / 0.6596 GB, free: 7.48 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.4915, allocations: 0 / 0.6596 GB, free: 7.48 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001914/0.4934, allocations: 1.634 MB / 0.6612 GB, free: 5.777 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002395/0.4959, allocations: 335.9 kB / 0.6615 GB, free: 5.449 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01552/0.5114, allocations: 12.59 MB / 0.6738 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001033/0.5125, allocations: 1.327 MB / 0.6751 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001107/0.5136, allocations: 359.3 kB / 0.6754 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006952/0.5143, allocations: 0.5344 MB / 0.6759 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of SimCode: time 7.11e-07/0.5143, allocations: 7.469 kB / 0.676 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04753/0.5618, allocations: 26.71 MB / 0.702 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002719/0.5621, allocations: 251.3 kB / 0.7023 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.215/2.777, allocations: 0 / 0.7023 GB, free: 11.27 MB / 0.5294 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1)