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.003883/0.003883, allocations: 101.1 kB / 15.88 MB, free: 6.32 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.001032/0.001032, allocations: 197.3 kB / 16.79 MB, free: 6.246 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.232/1.232, allocations: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6361/0.6361, allocations: 115.3 MB / 405.9 MB, free: 2.773 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 72.06 kB / 493 MB, free: 6.688 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1346, allocations: 76.18 MB / 0.5559 GB, free: 10.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.2855/0.4201, allocations: 36.89 MB / 0.5919 GB, free: 17.39 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02165/0.4418, allocations: 13.6 MB / 0.6052 GB, free: 10.22 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00457/0.4464, allocations: 94 kB / 0.6053 GB, free: 10.2 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005511/0.452, allocations: 2.12 MB / 0.6073 GB, free: 8.93 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004311/0.4563, allocations: 1.33 MB / 0.6086 GB, free: 8.199 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008085/0.4644, allocations: 3.257 MB / 0.6118 GB, free: 6.293 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.008752/0.4732, allocations: 9.589 MB / 0.6212 GB, free: 1.883 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01532/0.4885, allocations: 11.2 MB / 0.6321 GB, free: 11.07 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004583/0.4931, allocations: 2.278 MB / 0.6343 GB, free: 8.785 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005455/0.4986, allocations: 3.291 MB / 0.6376 GB, free: 5.484 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001427/0.5001, allocations: 436 kB / 0.638 GB, free: 5.059 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00319/0.5033, allocations: 1.225 MB / 0.6392 GB, free: 3.832 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003181/0.5065, allocations: 2.284 MB / 0.6414 GB, free: 1.543 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00479/0.5113, allocations: 2.334 MB / 0.6437 GB, free: 15.2 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009351/0.5206, allocations: 8.986 MB / 0.6524 GB, free: 6.188 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.5207, allocations: 0 / 0.6524 GB, free: 6.188 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.5207, allocations: 0 / 0.6524 GB, free: 6.188 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0002645/0.5209, allocations: 0 / 0.6524 GB, free: 6.188 MB / 478.1 MB 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.009993/0.5309, allocations: 4.295 MB / 0.6566 GB, free: 1.824 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.013e-05/0.531, allocations: 15.97 kB / 0.6567 GB, free: 1.809 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001301/0.5323, allocations: 0.6365 MB / 0.6573 GB, free: 1.16 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003692/0.536, allocations: 0.9404 MB / 0.6582 GB, free: 220 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003945/0.54, allocations: 2.198 MB / 0.6603 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002296/0.5402, allocations: 325 kB / 0.6607 GB, free: 13.65 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000781/0.541, allocations: 424.3 kB / 0.6611 GB, free: 13.24 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01331/0.5543, allocations: 7.361 MB / 0.6682 GB, free: 5.641 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.474e-05/0.5544, allocations: 19.78 kB / 0.6683 GB, free: 5.621 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004448/0.5549, allocations: 184 kB / 0.6684 GB, free: 5.441 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003116/0.5552, allocations: 290.9 kB / 0.6687 GB, free: 5.156 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009376/0.5646, allocations: 5.959 MB / 0.6745 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03367/0.5983, allocations: 32.62 MB / 0.7064 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003025/0.6013, allocations: 2.119 MB / 0.7085 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001458/0.6028, allocations: 1.239 MB / 0.7097 GB, free: 8.316 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001496/0.603, allocations: 106.1 kB / 0.7098 GB, free: 8.195 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.603, allocations: 43.56 kB / 0.7098 GB, free: 8.145 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=98): time 2.284e-06/0.603, allocations: 0 / 0.7098 GB, free: 8.145 MB / 0.5294 GB Notification: Performance of matching and sorting (n=101): time 0.007432/0.6105, allocations: 5.239 MB / 0.7149 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.302e-05/0.6105, allocations: 141.5 kB / 0.7151 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001784/0.6123, allocations: 1.449 MB / 0.7165 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 9.165e-05/0.6124, allocations: 45.7 kB / 0.7165 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001132/0.6136, allocations: 1.874 MB / 0.7184 GB, free: 15.27 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003742/0.614, allocations: 370.9 kB / 0.7187 GB, free: 14.91 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007125/0.6147, allocations: 459 kB / 0.7191 GB, free: 14.45 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.6148, allocations: 309.1 kB / 0.7194 GB, free: 14.14 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001557/0.6164, allocations: 1.118 MB / 0.7205 GB, free: 13.02 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002306/0.6187, allocations: 2.184 MB / 0.7227 GB, free: 10.31 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003859/0.6226, allocations: 3.395 MB / 0.726 GB, free: 6.438 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-05/0.6226, allocations: 12 kB / 0.726 GB, free: 6.426 MB / 0.545 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.004738/0.6273, allocations: 3.311 MB / 0.7292 GB, free: 3.105 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.66e-05/0.6274, allocations: 20 kB / 0.7292 GB, free: 3.086 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-05/0.6274, allocations: 36.84 kB / 0.7293 GB, free: 3.051 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.724e-05/0.6275, allocations: 51.94 kB / 0.7293 GB, free: 3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001908/0.6294, allocations: 0.6277 MB / 0.7299 GB, free: 2.371 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.653e-05/0.6295, allocations: 67.72 kB / 0.73 GB, free: 2.305 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001636/0.6311, allocations: 310.7 kB / 0.7303 GB, free: 2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001721/0.6313, allocations: 112 kB / 0.7304 GB, free: 1.891 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003481/0.6348, allocations: 2.409 MB / 0.7328 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001974/0.6368, allocations: 2.015 MB / 0.7347 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003286/0.6401, allocations: 3.025 MB / 0.7377 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.566e-05/0.6401, allocations: 12 kB / 0.7377 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.004117/0.6442, allocations: 2.922 MB / 0.7405 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.02e-05/0.6443, allocations: 20.22 kB / 0.7406 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-05/0.6443, allocations: 40 kB / 0.7406 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.504e-05/0.6444, allocations: 48 kB / 0.7407 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001573/0.6459, allocations: 0.5498 MB / 0.7412 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-05/0.646, allocations: 75.66 kB / 0.7413 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001522/0.6475, allocations: 247 kB / 0.7415 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001585/0.6477, allocations: 112 kB / 0.7416 GB, free: 5.379 MB / 0.5606 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.0004799/0.6482, allocations: 335.3 kB / 0.7419 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003412/0.6485, allocations: 154.1 kB / 0.7421 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003114/0.6517, allocations: 2.223 MB / 0.7442 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.206e-05/0.6517, allocations: 16 kB / 0.7443 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.6517, allocations: 4 kB / 0.7443 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.6517, allocations: 7.984 kB / 0.7443 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01437/0.6661, allocations: 10.98 MB / 0.755 GB, free: 7.398 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.808e-05/0.6662, allocations: 12.94 kB / 0.755 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001355/0.6675, allocations: 379.3 kB / 0.7554 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.149e-05/0.6676, allocations: 24 kB / 0.7554 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001104/0.6677, allocations: 32 kB / 0.7554 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-05/0.6677, allocations: 23.92 kB / 0.7554 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-05/0.6677, allocations: 19.88 kB / 0.7555 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003175/0.6709, allocations: 2.763 MB / 0.7582 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008374/0.6717, allocations: 450.9 kB / 0.7586 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003117/0.6721, allocations: 35.92 kB / 0.7586 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001158/0.6732, allocations: 167.7 kB / 0.7588 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002419/0.6735, allocations: 104.1 kB / 0.7589 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.57e-05/0.6736, allocations: 39.94 kB / 0.7589 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001778/0.6754, allocations: 0.9742 MB / 0.7599 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6754, allocations: 4 kB / 0.7599 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003668/0.6791, allocations: 1.125 MB / 0.761 GB, free: 1.09 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.003493/0.6826, allocations: 3.34 MB / 0.7642 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005495/0.6881, allocations: 3.981 MB / 0.7681 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.6881, allocations: 4 kB / 0.7681 GB, free: 9.613 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001327/0.6894, allocations: 1.056 MB / 0.7692 GB, free: 8.559 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0021/0.6915, allocations: 417.6 kB / 0.7696 GB, free: 8.156 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03183/0.7234, allocations: 24.31 MB / 0.7933 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004148/0.7276, allocations: 2.864 MB / 0.7961 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002991/0.7306, allocations: 1.204 MB / 0.7973 GB, free: 9.902 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001928/0.7325, allocations: 1.272 MB / 0.7985 GB, free: 8.629 MB / 0.6231 GB Notification: Performance of SimCode: time 2.745e-06/0.7325, allocations: 0 / 0.7985 GB, free: 8.629 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3055/1.038, allocations: 44.88 MB / 0.8423 GB, free: 212.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000159/1.038, allocations: 215.3 kB / 0.8425 GB, free: 212.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.315/3.353, allocations: 2.531 kB / 0.8425 GB, free: 212.5 MB / 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)