Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.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.Loads.Examples.Loads,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",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.001056/0.001056, allocations: 109.8 kB / 16.41 MB, free: 6.426 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.001014/0.001014, allocations: 189.2 kB / 17.34 MB, free: 5.73 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.196/1.196, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6757/0.6757, allocations: 115.3 MB / 406.5 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001103/0.001103, allocations: 64.41 kB / 0.5572 GB, free: 32.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1215, allocations: 76.19 MB / 0.6316 GB, free: 4.918 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.04095/0.1625, allocations: 37.24 MB / 0.668 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02006/0.1826, allocations: 13.7 MB / 0.6813 GB, free: 1.809 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00271/0.1854, allocations: 115.6 kB / 0.6815 GB, free: 1.695 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.005479/0.1909, allocations: 2.274 MB / 0.6837 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003202/0.1941, allocations: 1.451 MB / 0.6851 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.007712/0.2018, allocations: 3.525 MB / 0.6885 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.005962/0.2078, allocations: 6.403 MB / 0.6948 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009599/0.2174, allocations: 9.881 MB / 0.7044 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002994/0.2204, allocations: 2.766 MB / 0.7071 GB, free: 7.242 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00334/0.2238, allocations: 3.202 MB / 0.7103 GB, free: 4.031 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0006452/0.2244, allocations: 0.6211 MB / 0.7109 GB, free: 3.41 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001891/0.2263, allocations: 1.264 MB / 0.7121 GB, free: 2.145 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.002002/0.2283, allocations: 2.476 MB / 0.7145 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002379/0.2307, allocations: 2.545 MB / 0.717 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.006926/0.2377, allocations: 9.167 MB / 0.726 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2377, allocations: 0 / 0.726 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2377, allocations: 0 / 0.726 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.186e-05/0.2378, allocations: 0 / 0.726 GB, free: 3.918 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.006814/0.2446, allocations: 4.311 MB / 0.7302 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.2446, allocations: 8.031 kB / 0.7302 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008313/0.2455, allocations: 0.6365 MB / 0.7308 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004248/0.2497, allocations: 1.034 MB / 0.7318 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003366/0.2531, allocations: 2.233 MB / 0.734 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001997/0.2533, allocations: 325 kB / 0.7343 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005938/0.2539, allocations: 432.2 kB / 0.7347 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009752/0.2637, allocations: 7.401 MB / 0.7419 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.798e-05/0.2638, allocations: 7.938 kB / 0.7419 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004086/0.2642, allocations: 192 kB / 0.7421 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002601/0.2645, allocations: 282.9 kB / 0.7424 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.275/0.5395, allocations: 6.023 MB / 0.7483 GB, free: 101.1 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02784/0.5674, allocations: 32.45 MB / 0.78 GB, free: 74.56 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002866/0.5703, allocations: 2.135 MB / 0.7821 GB, free: 73.41 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001291/0.5716, allocations: 1.256 MB / 0.7833 GB, free: 72.76 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001193/0.5717, allocations: 103.4 kB / 0.7834 GB, free: 72.66 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.5717, allocations: 54.98 kB / 0.7834 GB, free: 72.61 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=98): time 2.925e-06/0.5718, allocations: 3.938 kB / 0.7834 GB, free: 72.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=101): time 0.005916/0.5777, allocations: 5.261 MB / 0.7886 GB, free: 69.27 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.683e-05/0.5777, allocations: 143 kB / 0.7887 GB, free: 69.11 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001465/0.5792, allocations: 1.476 MB / 0.7902 GB, free: 68.3 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.213e-05/0.5793, allocations: 46.55 kB / 0.7902 GB, free: 68.25 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005435/0.5798, allocations: 1.856 MB / 0.792 GB, free: 66.63 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001966/0.58, allocations: 374.6 kB / 0.7924 GB, free: 66.32 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006408/0.5807, allocations: 469.3 kB / 0.7928 GB, free: 66.06 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.111e-05/0.5807, allocations: 305.1 kB / 0.7931 GB, free: 65.76 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001261/0.582, allocations: 1.151 MB / 0.7942 GB, free: 65.16 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001678/0.5837, allocations: 2.213 MB / 0.7964 GB, free: 62.83 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002973/0.5867, allocations: 3.438 MB / 0.7998 GB, free: 58.92 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-05/0.5867, allocations: 8 kB / 0.7998 GB, free: 58.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.003814/0.5905, allocations: 3.367 MB / 0.803 GB, free: 55.54 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.5905, allocations: 20 kB / 0.8031 GB, free: 55.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.203e-05/0.5906, allocations: 34.58 kB / 0.8031 GB, free: 55.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.834e-05/0.5906, allocations: 48 kB / 0.8031 GB, free: 55.44 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001898/0.5925, allocations: 0.6349 MB / 0.8038 GB, free: 54.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.362e-05/0.5926, allocations: 75.72 kB / 0.8038 GB, free: 54.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001637/0.5942, allocations: 326.6 kB / 0.8041 GB, free: 54.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001321/0.5943, allocations: 112 kB / 0.8043 GB, free: 54.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002468/0.5968, allocations: 2.44 MB / 0.8066 GB, free: 51.85 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001444/0.5983, allocations: 2.039 MB / 0.8086 GB, free: 49.28 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002514/0.6008, allocations: 3.064 MB / 0.8116 GB, free: 45.72 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.562e-05/0.6009, allocations: 12 kB / 0.8116 GB, free: 45.71 MB / 0.5762 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.003373/0.6042, allocations: 2.98 MB / 0.8145 GB, free: 42.72 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.6043, allocations: 20 kB / 0.8146 GB, free: 42.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.958e-05/0.6043, allocations: 39.98 kB / 0.8146 GB, free: 42.66 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.589e-05/0.6043, allocations: 48 kB / 0.8146 GB, free: 42.62 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001535/0.6059, allocations: 0.5614 MB / 0.8152 GB, free: 42.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.173e-05/0.6059, allocations: 71.97 kB / 0.8153 GB, free: 41.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001569/0.6075, allocations: 274.9 kB / 0.8155 GB, free: 41.71 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001147/0.6076, allocations: 112 kB / 0.8156 GB, free: 41.61 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (264): * Single equations (assignments): 264 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002949/0.6079, allocations: 335.3 kB / 0.816 GB, free: 41.27 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002181/0.6081, allocations: 158.1 kB / 0.8161 GB, free: 41.11 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002553/0.6107, allocations: 2.243 MB / 0.8183 GB, free: 38.86 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.6107, allocations: 12 kB / 0.8183 GB, free: 38.84 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.6107, allocations: 0 / 0.8183 GB, free: 38.84 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.357e-06/0.6107, allocations: 16.98 kB / 0.8183 GB, free: 38.83 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0104/0.6211, allocations: 10.97 MB / 0.829 GB, free: 27.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.238e-06/0.6212, allocations: 12.97 kB / 0.8291 GB, free: 27.61 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001171/0.6223, allocations: 391.3 kB / 0.8294 GB, free: 27.23 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.304e-05/0.6224, allocations: 23.94 kB / 0.8294 GB, free: 27.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.302e-05/0.6224, allocations: 32 kB / 0.8295 GB, free: 27.17 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.128e-05/0.6225, allocations: 23.92 kB / 0.8295 GB, free: 27.15 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/0.6225, allocations: 15.94 kB / 0.8295 GB, free: 27.13 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002137/0.6246, allocations: 2.759 MB / 0.8322 GB, free: 24.21 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004986/0.6251, allocations: 450.8 kB / 0.8326 GB, free: 23.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001641/0.6253, allocations: 51.64 kB / 0.8327 GB, free: 23.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009881/0.6263, allocations: 175.7 kB / 0.8329 GB, free: 23.53 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001596/0.6264, allocations: 96.22 kB / 0.8329 GB, free: 23.44 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.844e-05/0.6265, allocations: 43.94 kB / 0.833 GB, free: 23.39 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001008/0.6275, allocations: 1.005 MB / 0.834 GB, free: 22.39 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6275, allocations: 0 / 0.834 GB, free: 22.39 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002814/0.6304, allocations: 1.136 MB / 0.8351 GB, free: 21.26 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (104): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002414/0.6328, allocations: 3.34 MB / 0.8383 GB, free: 17.75 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004277/0.6371, allocations: 4.067 MB / 0.8423 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/0.6371, allocations: 4.25 kB / 0.8423 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009528/0.638, allocations: 1.06 MB / 0.8434 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001795/0.6398, allocations: 446 kB / 0.8438 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02372/0.6636, allocations: 21.82 MB / 0.8651 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003153/0.6668, allocations: 2.864 MB / 0.8679 GB, free: 2.094 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.002686/0.6695, allocations: 1.226 MB / 0.8691 GB, free: 0.8711 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001671/0.6711, allocations: 1.272 MB / 0.8703 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of SimCode: time 5.91e-07/0.6712, allocations: 0 / 0.8703 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.072/0.7432, allocations: 47.72 MB / 0.9169 GB, free: 264 kB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.49/10.23, allocations: 14.78 kB / 0.9169 GB, free: 256 kB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1)