Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.075/3.075, allocations: 287.3 MB / 302.3 MB, free: 8.281 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001629/0.001629, allocations: 178.9 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.116/2.116, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001663/0.001663, allocations: 91.14 kB / 0.7428 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004786/0.0004788, allocations: 11.91 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.21, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.02117/0.2312, allocations: 14.87 MB / 0.9928 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01207/0.2433, allocations: 5.938 MB / 0.9986 GB, free: 7.43 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001497/0.2449, allocations: 39.88 kB / 0.9987 GB, free: 7.391 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001461/0.2464, allocations: 333.9 kB / 0.999 GB, free: 7.062 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002932/0.2493, allocations: 0.623 MB / 0.9996 GB, free: 6.438 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003932/0.2533, allocations: 0.904 MB / 1 GB, free: 5.535 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.004026/0.2574, allocations: 1.715 MB / 1.002 GB, free: 3.816 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0114/0.2688, allocations: 5.249 MB / 1.007 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002397/0.2713, allocations: 0.9385 MB / 1.008 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002952/0.2743, allocations: 1.11 MB / 1.009 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.000714/0.275, allocations: 160 kB / 1.009 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001779/0.2768, allocations: 391.5 kB / 1.01 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.002209/0.2791, allocations: 1.115 MB / 1.011 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001189/0.2803, allocations: 0.5004 MB / 1.011 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.007752/0.2881, allocations: 4.621 MB / 1.016 GB, free: 5.664 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.2882, allocations: 0 / 1.016 GB, free: 5.664 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.176e-06/0.2882, allocations: 0 / 1.016 GB, free: 5.664 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001748/0.2884, allocations: 0 / 1.016 GB, free: 5.664 MB / 0.6355 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.008012/0.2964, allocations: 2.234 MB / 1.018 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.552e-05/0.2965, allocations: 12.03 kB / 1.018 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001405/0.2979, allocations: 395.5 kB / 1.018 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006885/0.3048, allocations: 0.832 MB / 1.019 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004637/0.3095, allocations: 1.379 MB / 1.021 GB, free: 0.707 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002758/0.3098, allocations: 189.2 kB / 1.021 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001136/0.311, allocations: 252 kB / 1.021 GB, free: 280 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.014/0.325, allocations: 4.545 MB / 1.025 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000124/0.3252, allocations: 15.78 kB / 1.025 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000618/0.3258, allocations: 119.9 kB / 1.026 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003626/0.3262, allocations: 172.3 kB / 1.026 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0122/0.3384, allocations: 3.817 MB / 1.029 GB, free: 7.402 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03919/0.3776, allocations: 21.42 MB / 1.05 GB, free: 84 kB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004657/0.3824, allocations: 2.243 MB / 1.053 GB, free: 13.55 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001013/0.3825, allocations: 16.38 kB / 1.053 GB, free: 13.54 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.052e-05/0.3826, allocations: 58.28 kB / 1.053 GB, free: 13.47 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=62): time 3.948e-06/0.3826, allocations: 0 / 1.053 GB, free: 13.47 MB / 0.6823 GB Notification: Performance of matching and sorting (n=68): time 0.01031/0.3929, allocations: 4.213 MB / 1.057 GB, free: 9.199 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001729/0.3931, allocations: 251.3 kB / 1.057 GB, free: 8.898 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002513/0.3957, allocations: 1.1 MB / 1.058 GB, free: 7.773 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001787/0.3959, allocations: 37.7 kB / 1.058 GB, free: 7.73 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001169/0.3971, allocations: 1.195 MB / 1.059 GB, free: 6.516 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004317/0.3975, allocations: 252.6 kB / 1.06 GB, free: 6.266 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000167/0.3977, allocations: 32 kB / 1.06 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002982/0.398, allocations: 410.7 kB / 1.06 GB, free: 5.824 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001856/0.3999, allocations: 0.7065 MB / 1.061 GB, free: 5.113 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002535/0.4025, allocations: 1.391 MB / 1.062 GB, free: 3.387 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002554/0.4051, allocations: 0.9912 MB / 1.063 GB, free: 2.398 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.241e-05/0.4051, allocations: 8 kB / 1.063 GB, free: 2.391 MB / 0.6823 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.006107/0.4113, allocations: 2.184 MB / 1.065 GB, free: 204 kB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.6335/1.045, allocations: 9.387 MB / 1.074 GB, free: 72.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.233e-05/1.045, allocations: 25.11 kB / 1.074 GB, free: 72.73 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.871e-05/1.045, allocations: 40.31 kB / 1.074 GB, free: 72.73 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003265/1.048, allocations: 428.3 kB / 1.075 GB, free: 72.73 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.54e-05/1.048, allocations: 51.03 kB / 1.075 GB, free: 72.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002475/1.051, allocations: 191.8 kB / 1.075 GB, free: 72.73 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002928/1.051, allocations: 81.91 kB / 1.075 GB, free: 72.73 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/1.051, allocations: 3.625 kB / 1.075 GB, free: 72.73 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005117/1.056, allocations: 1.861 MB / 1.077 GB, free: 72.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.143e-05/1.057, allocations: 24.23 kB / 1.077 GB, free: 72.55 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.267e-05/1.057, allocations: 36.09 kB / 1.077 GB, free: 72.55 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002702/1.059, allocations: 392.2 kB / 1.077 GB, free: 72.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.367e-05/1.059, allocations: 50.44 kB / 1.077 GB, free: 72.51 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001723/1.061, allocations: 127.3 kB / 1.077 GB, free: 72.51 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002063/1.061, allocations: 83.64 kB / 1.078 GB, free: 72.51 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002788/1.064, allocations: 1.135 MB / 1.079 GB, free: 71.97 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004783/1.065, allocations: 103.9 kB / 1.079 GB, free: 71.97 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002789/1.067, allocations: 1.111 MB / 1.08 GB, free: 71.54 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.278e-05/1.068, allocations: 16.14 kB / 1.08 GB, free: 71.54 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/1.068, allocations: 2.969 kB / 1.08 GB, free: 71.54 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.997e-05/1.068, allocations: 5.734 kB / 1.08 GB, free: 71.54 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03001/1.098, allocations: 10.28 MB / 1.09 GB, free: 67.28 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001093/1.098, allocations: 17.16 kB / 1.09 GB, free: 67.28 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002159/1.1, allocations: 193.2 kB / 1.09 GB, free: 67.26 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.105e-05/1.1, allocations: 22.58 kB / 1.09 GB, free: 67.26 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002176/1.1, allocations: 34.91 kB / 1.09 GB, free: 67.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.253e-05/1.1, allocations: 27.59 kB / 1.09 GB, free: 67.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.519e-05/1.1, allocations: 25.94 kB / 1.09 GB, free: 67.24 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005526/1.106, allocations: 2.994 MB / 1.093 GB, free: 64.43 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001492/1.108, allocations: 339.2 kB / 1.093 GB, free: 64.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005294/1.108, allocations: 35.08 kB / 1.094 GB, free: 64.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002777/1.111, allocations: 97.44 kB / 1.094 GB, free: 64.25 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004154/1.111, allocations: 93.92 kB / 1.094 GB, free: 64.21 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001489/1.112, allocations: 46.52 kB / 1.094 GB, free: 64.2 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002398/1.114, allocations: 0.7577 MB / 1.094 GB, free: 63.89 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.042e-06/1.114, allocations: 0 / 1.094 GB, free: 63.89 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.006232/1.12, allocations: 0.7252 MB / 1.095 GB, free: 63.83 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004648/1.125, allocations: 8.314 MB / 1.103 GB, free: 55.88 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005962/1.131, allocations: 2.495 MB / 1.106 GB, free: 55.04 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.85e-05/1.131, allocations: 3.906 kB / 1.106 GB, free: 55.04 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001372/1.132, allocations: 0.5689 MB / 1.106 GB, free: 54.85 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002221/1.135, allocations: 231 kB / 1.107 GB, free: 54.78 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03708/1.172, allocations: 26.73 MB / 1.133 GB, free: 32.42 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005531/1.177, allocations: 2.048 MB / 1.135 GB, free: 31.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003734/1.181, allocations: 0.8463 MB / 1.135 GB, free: 31.35 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00169/1.183, allocations: 0.7356 MB / 1.136 GB, free: 30.75 MB / 0.6823 GB Notification: Performance of SimCode: time 8.32e-07/1.183, allocations: 4 kB / 1.136 GB, free: 30.75 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07942/1.262, allocations: 28.33 MB / 1.164 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002505/1.263, allocations: 227.4 kB / 1.164 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.246/4.508, allocations: 0 / 1.164 GB, free: 10.17 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)