Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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.Impedances,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",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.001072/0.001072, allocations: 99.28 kB / 16.02 MB, free: 80 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.001181/0.001181, allocations: 185.8 kB / 16.92 MB, free: 6.754 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.324/1.324, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6709/0.6709, allocations: 115.5 MB / 407.6 MB, free: 2.715 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003375/0.0003376, allocations: 12 kB / 496 MB, free: 6.242 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1507, allocations: 77.53 MB / 0.5601 GB, free: 8.922 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01654/0.1673, allocations: 15.35 MB / 0.575 GB, free: 9.516 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007912/0.1752, allocations: 4.786 MB / 0.5797 GB, free: 4.715 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00108/0.1764, allocations: 55.69 kB / 0.5798 GB, free: 4.66 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008109/0.1772, allocations: 254.1 kB / 0.58 GB, free: 4.41 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00199/0.1792, allocations: 0.6885 MB / 0.5807 GB, free: 3.719 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001796/0.181, allocations: 0.6699 MB / 0.5813 GB, free: 3.051 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.2862/0.4672, allocations: 5.246 MB / 0.5865 GB, free: 15.11 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009145/0.4764, allocations: 5.834 MB / 0.5922 GB, free: 14.17 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002493/0.4789, allocations: 1.097 MB / 0.5932 GB, free: 14.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002581/0.4815, allocations: 1.506 MB / 0.5947 GB, free: 13.9 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003368/0.4819, allocations: 143.1 kB / 0.5948 GB, free: 13.9 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001613/0.4835, allocations: 0.7396 MB / 0.5956 GB, free: 13.89 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001507/0.485, allocations: 1.071 MB / 0.5966 GB, free: 13.8 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001261/0.4863, allocations: 1.186 MB / 0.5978 GB, free: 13.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005265/0.4915, allocations: 4.892 MB / 0.6025 GB, free: 12.96 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.4916, allocations: 3.938 kB / 0.6025 GB, free: 12.96 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4916, allocations: 0 / 0.6025 GB, free: 12.96 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.935e-05/0.4917, allocations: 0 / 0.6025 GB, free: 12.96 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: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.00445/0.4961, allocations: 2.178 MB / 0.6047 GB, free: 11.89 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.4962, allocations: 9.406 kB / 0.6047 GB, free: 11.89 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005181/0.4967, allocations: 372.4 kB / 0.605 GB, free: 11.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003895/0.5006, allocations: 0.8358 MB / 0.6059 GB, free: 11.55 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00227/0.5029, allocations: 1.505 MB / 0.6073 GB, free: 10.99 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001284/0.503, allocations: 179.1 kB / 0.6075 GB, free: 10.98 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003977/0.5034, allocations: 239.7 kB / 0.6077 GB, free: 10.93 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00634/0.5098, allocations: 4.163 MB / 0.6118 GB, free: 8.461 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.149e-05/0.5099, allocations: 6.062 kB / 0.6118 GB, free: 8.461 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002603/0.5101, allocations: 97.56 kB / 0.6119 GB, free: 8.391 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001837/0.5103, allocations: 173.7 kB / 0.6121 GB, free: 8.344 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005259/0.5156, allocations: 3.64 MB / 0.6156 GB, free: 6.523 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01734/0.5329, allocations: 16.55 MB / 0.6318 GB, free: 8.121 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003335/0.5363, allocations: 2.292 MB / 0.634 GB, free: 5.742 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008752/0.5372, allocations: 0.583 MB / 0.6346 GB, free: 5.156 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001497/0.5374, allocations: 96.7 kB / 0.6347 GB, free: 5.047 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.5374, allocations: 43.12 kB / 0.6347 GB, free: 4.996 MB / 462.1 MB Notification: Performance of pre-optimization done (n=72): time 2.284e-06/0.5374, allocations: 0 / 0.6347 GB, free: 4.996 MB / 462.1 MB Notification: Performance of matching and sorting (n=76): time 0.006505/0.5439, allocations: 3.457 MB / 0.6381 GB, free: 1.449 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.489e-05/0.544, allocations: 115.5 kB / 0.6382 GB, free: 1.312 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001526/0.5455, allocations: 1.018 MB / 0.6392 GB, free: 276 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.672e-05/0.5456, allocations: 41.7 kB / 0.6392 GB, free: 228 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007582/0.5464, allocations: 1.104 MB / 0.6403 GB, free: 15.12 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002349/0.5466, allocations: 274.8 kB / 0.6406 GB, free: 14.85 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000161/0.5468, allocations: 113.7 kB / 0.6407 GB, free: 14.73 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001981/0.547, allocations: 410.7 kB / 0.6411 GB, free: 14.32 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009608/0.548, allocations: 0.6284 MB / 0.6417 GB, free: 13.7 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001308/0.5493, allocations: 1.197 MB / 0.6428 GB, free: 12.25 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002252/0.5516, allocations: 1.876 MB / 0.6447 GB, free: 10.19 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.506e-05/0.5516, allocations: 4 kB / 0.6447 GB, free: 10.18 MB / 478.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003162/0.5548, allocations: 2.025 MB / 0.6467 GB, free: 8.145 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/0.5548, allocations: 12 kB / 0.6467 GB, free: 8.133 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.002e-05/0.5548, allocations: 20 kB / 0.6467 GB, free: 8.113 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004208/0.5553, allocations: 167.9 kB / 0.6469 GB, free: 7.938 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001139/0.5564, allocations: 351.4 kB / 0.6472 GB, free: 7.594 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-05/0.5565, allocations: 39.86 kB / 0.6472 GB, free: 7.555 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/0.5576, allocations: 135.7 kB / 0.6474 GB, free: 7.422 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001294/0.5577, allocations: 71.98 kB / 0.6474 GB, free: 7.352 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001689/0.5594, allocations: 0.9693 MB / 0.6484 GB, free: 6.371 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002243/0.5597, allocations: 114.6 kB / 0.6485 GB, free: 6.258 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002091/0.5618, allocations: 1.234 MB / 0.6497 GB, free: 5.004 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.5618, allocations: 11.94 kB / 0.6497 GB, free: 4.992 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.5618, allocations: 0 / 0.6497 GB, free: 4.992 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.5618, allocations: 7.984 kB / 0.6497 GB, free: 4.984 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005935/0.5678, allocations: 3.827 MB / 0.6534 GB, free: 1.027 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.5678, allocations: 0 / 0.6534 GB, free: 1.027 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006116/0.5684, allocations: 159.8 kB / 0.6536 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003657/0.5688, allocations: 143.3 kB / 0.6537 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.093e-05/0.5688, allocations: 20.22 kB / 0.6537 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.049e-05/0.5689, allocations: 11.94 kB / 0.6538 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.5689, allocations: 0 / 0.6538 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002015/0.5709, allocations: 1.48 MB / 0.6552 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005293/0.5714, allocations: 291.6 kB / 0.6555 GB, free: 14.85 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001827/0.5716, allocations: 16 kB / 0.6555 GB, free: 14.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006695/0.5723, allocations: 71.91 kB / 0.6556 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001395/0.5724, allocations: 64.36 kB / 0.6556 GB, free: 14.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.272e-05/0.5725, allocations: 23.98 kB / 0.6557 GB, free: 14.68 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001024/0.5735, allocations: 0.6953 MB / 0.6563 GB, free: 13.97 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5735, allocations: 3.938 kB / 0.6563 GB, free: 13.97 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001671/0.5752, allocations: 388 kB / 0.6567 GB, free: 13.59 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002311/0.5775, allocations: 2.052 MB / 0.6587 GB, free: 11.47 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002372/0.5799, allocations: 1.714 MB / 0.6604 GB, free: 9.668 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.5799, allocations: 0 / 0.6604 GB, free: 9.668 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000944/0.5809, allocations: 0.8757 MB / 0.6612 GB, free: 8.711 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001775/0.5827, allocations: 251.1 kB / 0.6615 GB, free: 8.461 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02406/0.6067, allocations: 14.34 MB / 0.6755 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002571/0.6094, allocations: 1.92 MB / 0.6774 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001384/0.6108, allocations: 449.4 kB / 0.6778 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001214/0.612, allocations: 0.7102 MB / 0.6785 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of SimCode: time 1.754e-06/0.612, allocations: 4 kB / 0.6785 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04629/0.6583, allocations: 26.42 MB / 0.7043 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002283/0.6586, allocations: 243.2 kB / 0.7045 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.12/2.778, allocations: 4.125 kB / 0.7045 GB, free: 11.9 MB / 0.5294 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1)