Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource",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.0008658/0.0008659, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005584/0.005584, allocations: 171.1 kB / 16.26 MB, free: 6.676 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.266/1.266, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001692/0.001692, allocations: 270.9 kB / 291.7 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9483/0.9483, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004025/0.0004025, allocations: 13.92 kB / 0.5988 GB, free: 27.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1536, allocations: 88.54 MB / 0.6852 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.0168/0.1705, allocations: 16.01 MB / 0.7009 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009068/0.1796, allocations: 6.219 MB / 0.707 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001096/0.1807, allocations: 39.88 kB / 0.707 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008655/0.1816, allocations: 317.7 kB / 0.7073 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001874/0.1834, allocations: 0.7832 MB / 0.7081 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00233/0.1858, allocations: 1.079 MB / 0.7091 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004972/0.1908, allocations: 5.793 MB / 0.7148 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008979/0.1998, allocations: 6.146 MB / 0.7208 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001971/0.2018, allocations: 1.129 MB / 0.7219 GB, free: 9.289 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003086/0.2049, allocations: 1.717 MB / 0.7236 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0006982/0.2056, allocations: 160 kB / 0.7237 GB, free: 7.41 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001876/0.2075, allocations: 0.7409 MB / 0.7244 GB, free: 6.668 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001758/0.2092, allocations: 1.228 MB / 0.7256 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001675/0.2109, allocations: 1.242 MB / 0.7268 GB, free: 4.184 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004468/0.2154, allocations: 5.276 MB / 0.732 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.2154, allocations: 4 kB / 0.732 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.064e-06/0.2154, allocations: 0 / 0.732 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001031/0.2155, allocations: 0 / 0.732 GB, free: 14.89 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.004165/0.2197, allocations: 2.199 MB / 0.7341 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.2198, allocations: 11.97 kB / 0.7342 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006621/0.2204, allocations: 407.7 kB / 0.7345 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003495/0.2239, allocations: 0.794 MB / 0.7353 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001958/0.2259, allocations: 1.407 MB / 0.7367 GB, free: 9.965 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001238/0.226, allocations: 189.5 kB / 0.7369 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003785/0.2264, allocations: 248.4 kB / 0.7371 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006164/0.2326, allocations: 4.591 MB / 0.7416 GB, free: 4.742 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.114e-05/0.2327, allocations: 15.78 kB / 0.7416 GB, free: 4.727 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002649/0.2329, allocations: 112 kB / 0.7417 GB, free: 4.617 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001847/0.2331, allocations: 172.3 kB / 0.7419 GB, free: 4.449 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00528/0.2384, allocations: 3.828 MB / 0.7456 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02019/0.2586, allocations: 21.44 MB / 0.7666 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002346/0.261, allocations: 2.257 MB / 0.7688 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009241/0.262, allocations: 0.7167 MB / 0.7695 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.311e-05/0.262, allocations: 16.86 kB / 0.7695 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.262, allocations: 42.5 kB / 0.7695 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=62): time 2.155e-06/0.2621, allocations: 4 kB / 0.7695 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of matching and sorting (n=68): time 0.005115/0.2672, allocations: 4.195 MB / 0.7736 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/0.2673, allocations: 244.4 kB / 0.7739 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001277/0.2686, allocations: 1.112 MB / 0.7749 GB, free: 244 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.995e-05/0.2686, allocations: 37.7 kB / 0.775 GB, free: 200 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.2767/0.5453, allocations: 1.187 MB / 0.7761 GB, free: 87.39 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004008/0.5458, allocations: 253.7 kB / 0.7764 GB, free: 87.24 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003893/0.5462, allocations: 126.3 kB / 0.7765 GB, free: 87.23 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.5463, allocations: 341.2 kB / 0.7768 GB, free: 86.92 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001686/0.548, allocations: 0.7023 MB / 0.7775 GB, free: 86.92 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002115/0.5501, allocations: 1.402 MB / 0.7789 GB, free: 86.05 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00318/0.5533, allocations: 2.166 MB / 0.781 GB, free: 84.78 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.586e-05/0.5534, allocations: 7.25 kB / 0.781 GB, free: 84.78 MB / 0.5606 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.004471/0.5579, allocations: 2.182 MB / 0.7831 GB, free: 83.95 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005103/0.5584, allocations: 0.7797 MB / 0.7839 GB, free: 82.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.84e-05/0.5585, allocations: 24.44 kB / 0.7839 GB, free: 82.89 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.493e-05/0.5586, allocations: 32.88 kB / 0.7839 GB, free: 82.89 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002006/0.5606, allocations: 432.1 kB / 0.7844 GB, free: 82.85 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-05/0.5607, allocations: 46 kB / 0.7844 GB, free: 82.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001889/0.5626, allocations: 200.1 kB / 0.7846 GB, free: 82.79 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002129/0.5628, allocations: 81.98 kB / 0.7847 GB, free: 82.78 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.5628, allocations: 4.188 kB / 0.7847 GB, free: 82.78 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003328/0.5661, allocations: 1.853 MB / 0.7865 GB, free: 82.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.888e-05/0.5662, allocations: 24.22 kB / 0.7865 GB, free: 82.08 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.734e-05/0.5663, allocations: 33.19 kB / 0.7865 GB, free: 82.08 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001552/0.5678, allocations: 391.8 kB / 0.7869 GB, free: 82.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.66e-05/0.5679, allocations: 48.47 kB / 0.787 GB, free: 82.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/0.5692, allocations: 139.2 kB / 0.7871 GB, free: 81.98 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001565/0.5693, allocations: 83.89 kB / 0.7872 GB, free: 81.97 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * 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 (192): * Single equations (assignments): 192 * 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.001947/0.5713, allocations: 1.126 MB / 0.7883 GB, free: 81.41 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004212/0.5717, allocations: 101.8 kB / 0.7884 GB, free: 81.36 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002102/0.5738, allocations: 1.103 MB / 0.7894 GB, free: 80.92 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/0.5739, allocations: 10.88 kB / 0.7895 GB, free: 80.92 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-05/0.5739, allocations: 7.562 kB / 0.7895 GB, free: 80.92 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.437e-05/0.5739, allocations: 8.016 kB / 0.7895 GB, free: 80.92 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01691/0.5908, allocations: 10.18 MB / 0.7994 GB, free: 76.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.931e-05/0.5909, allocations: 15.91 kB / 0.7994 GB, free: 76.65 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007597/0.5917, allocations: 194.1 kB / 0.7996 GB, free: 76.63 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.55e-05/0.5917, allocations: 21.03 kB / 0.7996 GB, free: 76.63 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.671e-05/0.5918, allocations: 30.19 kB / 0.7997 GB, free: 76.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-05/0.5918, allocations: 35.75 kB / 0.7997 GB, free: 76.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.815e-05/0.5919, allocations: 25.31 kB / 0.7997 GB, free: 76.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001755/0.5936, allocations: 2.156 MB / 0.8018 GB, free: 74.97 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005414/0.5942, allocations: 341.7 kB / 0.8021 GB, free: 74.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002294/0.5944, allocations: 37.44 kB / 0.8022 GB, free: 74.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/0.5955, allocations: 93.42 kB / 0.8023 GB, free: 74.73 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.5956, allocations: 103.3 kB / 0.8024 GB, free: 74.69 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.424e-05/0.5957, allocations: 38.75 kB / 0.8024 GB, free: 74.68 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001012/0.5967, allocations: 0.7657 MB / 0.8032 GB, free: 74.37 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5967, allocations: 0 / 0.8032 GB, free: 74.37 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003129/0.5998, allocations: 0.7227 MB / 0.8039 GB, free: 74.32 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 70 * 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 (74): * Single equations (assignments): 74 * 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.001936/0.6018, allocations: 2.746 MB / 0.8065 GB, free: 72.13 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003316/0.6051, allocations: 2.476 MB / 0.809 GB, free: 71.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.135e-06/0.6051, allocations: 6.719 kB / 0.809 GB, free: 71.29 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006238/0.6057, allocations: 0.569 MB / 0.8095 GB, free: 71.01 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003715/0.6095, allocations: 249 kB / 0.8098 GB, free: 70.89 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01677/0.6262, allocations: 16.47 MB / 0.8259 GB, free: 57.61 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001534/0.6278, allocations: 2.007 MB / 0.8278 GB, free: 55.57 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001671/0.6295, allocations: 0.8611 MB / 0.8287 GB, free: 54.72 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007275/0.6302, allocations: 0.7258 MB / 0.8294 GB, free: 53.99 MB / 0.5606 GB Notification: Performance of SimCode: time 6.61e-07/0.6302, allocations: 0 / 0.8294 GB, free: 53.99 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8144/1.445, allocations: 27.55 MB / 0.8563 GB, free: 26.82 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001731/1.445, allocations: 250.9 kB / 0.8565 GB, free: 26.56 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.325/3.77, allocations: 3.828 kB / 0.8565 GB, free: 26.56 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)