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.001196/0.001196, allocations: 100.1 kB / 15.88 MB, free: 12 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.001221/0.001221, allocations: 206.8 kB / 16.79 MB, free: 6.84 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.239/1.239, allocations: 222.9 MB / 240.5 MB, free: 4.645 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6274/0.6274, allocations: 115.3 MB / 406 MB, free: 2.781 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 69.14 kB / 493 MB, free: 6.746 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1188, allocations: 76.18 MB / 0.5559 GB, free: 10.76 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01072/0.1295, allocations: 11.03 MB / 0.5666 GB, free: 15.69 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007514/0.1371, allocations: 5.848 MB / 0.5723 GB, free: 9.82 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006779/0.1378, allocations: 47.69 kB / 0.5724 GB, free: 9.773 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003316/0.1411, allocations: 1.611 MB / 0.574 GB, free: 8.16 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002049/0.1432, allocations: 1.062 MB / 0.575 GB, free: 7.094 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001506/0.1447, allocations: 0.744 MB / 0.5757 GB, free: 6.355 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002193/0.1469, allocations: 2.856 MB / 0.5785 GB, free: 3.492 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001456/0.1484, allocations: 1.32 MB / 0.5798 GB, free: 2.152 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008394/0.1492, allocations: 0.7585 MB / 0.5805 GB, free: 1.391 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009059/0.1501, allocations: 0.9221 MB / 0.5814 GB, free: 476 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001354/0.1503, allocations: 87.94 kB / 0.5815 GB, free: 388 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.204/0.3543, allocations: 1.447 MB / 0.5829 GB, free: 14.05 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007088/0.355, allocations: 0.4968 MB / 0.5834 GB, free: 14.05 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000852/0.3559, allocations: 0.7485 MB / 0.5842 GB, free: 13.95 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002866/0.3587, allocations: 2.448 MB / 0.5866 GB, free: 13.68 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3588, allocations: 1.125 kB / 0.5866 GB, free: 13.68 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3588, allocations: 2.25 kB / 0.5866 GB, free: 13.68 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.529e-05/0.3588, allocations: 0 / 0.5866 GB, free: 13.68 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.002833/0.3616, allocations: 1.87 MB / 0.5884 GB, free: 12.72 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.3617, allocations: 10.25 kB / 0.5884 GB, free: 12.72 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002334/0.3619, allocations: 215.8 kB / 0.5886 GB, free: 12.67 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004403/0.3663, allocations: 0.6684 MB / 0.5893 GB, free: 12.58 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001485/0.3678, allocations: 0.9145 MB / 0.5901 GB, free: 12.21 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.17e-05/0.3679, allocations: 96.95 kB / 0.5902 GB, free: 12.2 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001905/0.3681, allocations: 126.5 kB / 0.5904 GB, free: 12.2 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003065/0.3712, allocations: 2.211 MB / 0.5925 GB, free: 11.59 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.06e-05/0.3712, allocations: 15.52 kB / 0.5925 GB, free: 11.59 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001382/0.3714, allocations: 59.61 kB / 0.5926 GB, free: 11.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002325/0.3716, allocations: 160.3 kB / 0.5927 GB, free: 11.59 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002924/0.3745, allocations: 1.87 MB / 0.5946 GB, free: 11.57 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009835/0.3844, allocations: 12.47 MB / 0.6067 GB, free: 18.39 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003633/0.388, allocations: 1.978 MB / 0.6087 GB, free: 17.82 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007156/0.3888, allocations: 0.6029 MB / 0.6093 GB, free: 17.62 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001224/0.3889, allocations: 108.8 kB / 0.6094 GB, free: 17.52 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.649e-05/0.3889, allocations: 40.12 kB / 0.6094 GB, free: 17.47 MB / 462.1 MB Notification: Performance of pre-optimization done (n=103): time 2.424e-06/0.3889, allocations: 0 / 0.6094 GB, free: 17.47 MB / 462.1 MB Notification: Performance of matching and sorting (n=110): time 0.004986/0.3939, allocations: 3.703 MB / 0.613 GB, free: 15.55 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/0.394, allocations: 67 kB / 0.6131 GB, free: 15.48 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008421/0.3948, allocations: 0.9225 MB / 0.614 GB, free: 15.1 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.723e-05/0.3949, allocations: 41.27 kB / 0.614 GB, free: 15.05 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002835/0.3952, allocations: 0.7342 MB / 0.6147 GB, free: 14.47 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001906/0.3954, allocations: 385.9 kB / 0.6151 GB, free: 14.18 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003228/0.3957, allocations: 292 kB / 0.6154 GB, free: 14.04 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.196e-05/0.3958, allocations: 302.2 kB / 0.6157 GB, free: 13.75 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007582/0.3966, allocations: 0.6117 MB / 0.6163 GB, free: 13.54 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009131/0.3975, allocations: 1.104 MB / 0.6174 GB, free: 12.72 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001862/0.3993, allocations: 1.833 MB / 0.6191 GB, free: 11.58 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.3994, allocations: 4.156 kB / 0.6191 GB, free: 11.58 MB / 462.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.002939/0.4023, allocations: 2.104 MB / 0.6212 GB, free: 10.83 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.4023, allocations: 13.19 kB / 0.6212 GB, free: 10.83 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/0.4024, allocations: 14.75 kB / 0.6212 GB, free: 10.83 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007012/0.4031, allocations: 258.7 kB / 0.6215 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/0.4041, allocations: 374.8 kB / 0.6218 GB, free: 10.66 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006731/0.4109, allocations: 10.76 MB / 0.6323 GB, free: 15.77 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/0.4119, allocations: 129.4 kB / 0.6325 GB, free: 15.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.344e-05/0.412, allocations: 71.77 kB / 0.6325 GB, free: 15.69 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.0005828/0.4126, allocations: 403.2 kB / 0.6329 GB, free: 15.42 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001754/0.4128, allocations: 131.7 kB / 0.633 GB, free: 15.35 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00242/0.4152, allocations: 1.68 MB / 0.6347 GB, free: 14.38 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.4152, allocations: 11.62 kB / 0.6347 GB, free: 14.38 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.4152, allocations: 2.469 kB / 0.6347 GB, free: 14.38 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/0.4152, allocations: 3.984 kB / 0.6347 GB, free: 14.37 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004046/0.4193, allocations: 3.301 MB / 0.6379 GB, free: 12.34 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.4193, allocations: 10.31 kB / 0.6379 GB, free: 12.34 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007129/0.42, allocations: 222.8 kB / 0.6381 GB, free: 12.29 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006125/0.4206, allocations: 242.9 kB / 0.6384 GB, free: 12.13 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.154e-05/0.4207, allocations: 33.67 kB / 0.6384 GB, free: 12.11 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006568/0.4273, allocations: 10.73 MB / 0.6489 GB, free: 1.219 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.4273, allocations: 11.16 kB / 0.6489 GB, free: 1.215 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002336/0.4296, allocations: 1.8 MB / 0.6507 GB, free: 15.49 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004647/0.4301, allocations: 307.4 kB / 0.651 GB, free: 15.17 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001507/0.4303, allocations: 24 kB / 0.651 GB, free: 15.15 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000636/0.4309, allocations: 99.8 kB / 0.6511 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001612/0.4311, allocations: 93.89 kB / 0.6512 GB, free: 14.96 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.124e-05/0.4312, allocations: 39.94 kB / 0.6512 GB, free: 14.93 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006693/0.4318, allocations: 0.6138 MB / 0.6518 GB, free: 14.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4318, allocations: 0 / 0.6518 GB, free: 14.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001239/0.4331, allocations: 396 kB / 0.6522 GB, free: 13.92 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.002516/0.4356, allocations: 2.385 MB / 0.6545 GB, free: 11.43 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002973/0.4386, allocations: 2.482 MB / 0.6569 GB, free: 8.91 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.4386, allocations: 0 / 0.6569 GB, free: 8.91 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001745/0.4404, allocations: 1.632 MB / 0.6585 GB, free: 7.207 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001392/0.4418, allocations: 325.8 kB / 0.6588 GB, free: 6.895 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01457/0.4563, allocations: 12.6 MB / 0.6711 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001/0.4574, allocations: 1.327 MB / 0.6724 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001001/0.4584, allocations: 359.3 kB / 0.6728 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006447/0.459, allocations: 0.5383 MB / 0.6733 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of SimCode: time 5.61e-07/0.4591, allocations: 0 / 0.6733 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03875/0.4978, allocations: 27.08 MB / 0.6997 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002347/0.4981, allocations: 241.9 kB / 0.7 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.182/2.68, allocations: 4 kB / 0.7 GB, free: 12.31 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)