Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.682/1.682, allocations: 288.2 MB / 303.2 MB, free: 8.219 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.001092/0.001092, allocations: 189.1 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.626/1.626, allocations: 205.4 MB / 0.6305 GB, free: 10 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.0009125/0.0009124, allocations: 96.55 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004576/0.0004578, allocations: 15.52 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.282/0.2825, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.02404/0.3066, allocations: 14.87 MB / 0.994 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01435/0.321, allocations: 5.942 MB / 0.9998 GB, free: 6.734 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0022/0.3233, allocations: 39.88 kB / 0.9998 GB, free: 6.695 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001815/0.3251, allocations: 329.9 kB / 1 GB, free: 6.371 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.003978/0.3291, allocations: 0.6269 MB / 1.001 GB, free: 5.742 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.004852/0.334, allocations: 0.9028 MB / 1.002 GB, free: 4.84 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.004424/0.3385, allocations: 1.712 MB / 1.003 GB, free: 3.125 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01349/0.352, allocations: 5.238 MB / 1.008 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003713/0.3558, allocations: 0.9424 MB / 1.009 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00366/0.3595, allocations: 1.102 MB / 1.01 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.001129/0.3607, allocations: 163.9 kB / 1.011 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002499/0.3632, allocations: 387.6 kB / 1.011 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0022/0.3655, allocations: 1.115 MB / 1.012 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001382/0.3669, allocations: 0.5043 MB / 1.013 GB, free: 9.617 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.00624/0.3732, allocations: 4.621 MB / 1.017 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3732, allocations: 0 / 1.017 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.645e-06/0.3732, allocations: 0 / 1.017 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0002184/0.3734, allocations: 0 / 1.017 GB, free: 4.984 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.006984/0.3804, allocations: 2.235 MB / 1.019 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.46e-05/0.3805, allocations: 12.02 kB / 1.019 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001528/0.382, allocations: 399.5 kB / 1.02 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004897/0.387, allocations: 0.832 MB / 1.02 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004095/0.3911, allocations: 1.383 MB / 1.022 GB, free: 20 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002209/0.3913, allocations: 193.2 kB / 1.022 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008045/0.3922, allocations: 248 kB / 1.022 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008589/0.4007, allocations: 4.541 MB / 1.027 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.598e-05/0.4009, allocations: 23.72 kB / 1.027 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003062/0.4012, allocations: 108 kB / 1.027 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002364/0.4014, allocations: 184.2 kB / 1.027 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006876/0.4083, allocations: 3.803 MB / 1.031 GB, free: 6.723 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02706/0.4354, allocations: 21.43 MB / 1.052 GB, free: 15.39 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002676/0.4382, allocations: 2.257 MB / 1.054 GB, free: 12.85 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.026e-05/0.4382, allocations: 16.38 kB / 1.054 GB, free: 12.83 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.142e-05/0.4383, allocations: 50.34 kB / 1.054 GB, free: 12.77 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=62): time 3.436e-06/0.4383, allocations: 4 kB / 1.054 GB, free: 12.77 MB / 0.6823 GB Notification: Performance of matching and sorting (n=68): time 0.00601/0.4443, allocations: 4.21 MB / 1.058 GB, free: 8.508 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001476/0.4445, allocations: 243.3 kB / 1.058 GB, free: 8.215 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001592/0.4461, allocations: 1.105 MB / 1.059 GB, free: 7.086 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.543e-05/0.4462, allocations: 33.7 kB / 1.059 GB, free: 7.047 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008142/0.447, allocations: 1.199 MB / 1.06 GB, free: 5.828 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002421/0.4473, allocations: 252.6 kB / 1.061 GB, free: 5.578 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.164e-05/0.4473, allocations: 28 kB / 1.061 GB, free: 5.551 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002338/0.4476, allocations: 418.7 kB / 1.061 GB, free: 5.133 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001021/0.4486, allocations: 0.6987 MB / 1.062 GB, free: 4.434 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001527/0.4501, allocations: 1.399 MB / 1.063 GB, free: 2.695 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001372/0.4515, allocations: 0.9951 MB / 1.064 GB, free: 1.703 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.005e-05/0.4515, allocations: 4 kB / 1.064 GB, free: 1.699 MB / 0.6823 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.653/1.105, allocations: 2.176 MB / 1.066 GB, free: 82 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.002256/1.107, allocations: 9.391 MB / 1.075 GB, free: 72.19 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.257e-05/1.107, allocations: 24.28 kB / 1.075 GB, free: 72.19 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001279/1.107, allocations: 36 kB / 1.076 GB, free: 72.19 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002931/1.11, allocations: 433.2 kB / 1.076 GB, free: 72.19 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001055/1.11, allocations: 49.58 kB / 1.076 GB, free: 72.19 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002787/1.113, allocations: 194.8 kB / 1.076 GB, free: 72.18 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002654/1.113, allocations: 86.44 kB / 1.076 GB, free: 72.18 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/1.113, allocations: 3.906 kB / 1.076 GB, free: 72.18 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004927/1.118, allocations: 1.86 MB / 1.078 GB, free: 71.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.504e-05/1.118, allocations: 26.81 kB / 1.078 GB, free: 71.88 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.153e-05/1.118, allocations: 38.41 kB / 1.078 GB, free: 71.88 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002342/1.121, allocations: 388 kB / 1.079 GB, free: 71.84 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000101/1.121, allocations: 50.16 kB / 1.079 GB, free: 71.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001937/1.123, allocations: 127.4 kB / 1.079 GB, free: 71.81 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002482/1.123, allocations: 82.34 kB / 1.079 GB, free: 71.8 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.003671/1.127, allocations: 1.137 MB / 1.08 GB, free: 71.24 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000698/1.128, allocations: 108.4 kB / 1.08 GB, free: 71.24 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003098/1.131, allocations: 1.112 MB / 1.081 GB, free: 70.81 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.087e-05/1.131, allocations: 11.8 kB / 1.081 GB, free: 70.81 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.67e-05/1.131, allocations: 3.062 kB / 1.081 GB, free: 70.81 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.198e-05/1.131, allocations: 9.969 kB / 1.081 GB, free: 70.81 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02384/1.155, allocations: 10.27 MB / 1.091 GB, free: 66.56 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.467e-05/1.155, allocations: 19.22 kB / 1.091 GB, free: 66.55 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007679/1.155, allocations: 190.1 kB / 1.091 GB, free: 66.54 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.791e-05/1.155, allocations: 26.98 kB / 1.091 GB, free: 66.54 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.563e-05/1.156, allocations: 34.95 kB / 1.091 GB, free: 66.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.943e-05/1.156, allocations: 31.55 kB / 1.091 GB, free: 66.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-05/1.156, allocations: 26.39 kB / 1.091 GB, free: 66.51 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003133/1.159, allocations: 2.991 MB / 1.094 GB, free: 63.71 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007939/1.16, allocations: 337.8 kB / 1.095 GB, free: 63.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002127/1.16, allocations: 42.61 kB / 1.095 GB, free: 63.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001358/1.161, allocations: 97.62 kB / 1.095 GB, free: 63.53 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000174/1.161, allocations: 98.8 kB / 1.095 GB, free: 63.48 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.775e-05/1.161, allocations: 37.25 kB / 1.095 GB, free: 63.48 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001581/1.163, allocations: 0.7641 MB / 1.096 GB, free: 63.16 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.31e-07/1.163, allocations: 0 / 1.096 GB, free: 63.16 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00433/1.167, allocations: 0.7256 MB / 1.096 GB, free: 63.11 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.004229/1.172, allocations: 8.307 MB / 1.104 GB, free: 55.15 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004992/1.177, allocations: 2.494 MB / 1.107 GB, free: 54.31 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.238e-05/1.177, allocations: 6.375 kB / 1.107 GB, free: 54.31 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008824/1.178, allocations: 0.5735 MB / 1.107 GB, free: 54.12 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001547/1.179, allocations: 224.7 kB / 1.108 GB, free: 54.05 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02055/1.2, allocations: 26.72 MB / 1.134 GB, free: 31.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002597/1.202, allocations: 2.052 MB / 1.136 GB, free: 30.68 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002449/1.205, allocations: 0.8424 MB / 1.137 GB, free: 30.52 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00086/1.206, allocations: 0.728 MB / 1.137 GB, free: 29.86 MB / 0.6823 GB Notification: Performance of SimCode: time 7.61e-07/1.206, allocations: 0 / 1.137 GB, free: 29.86 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04892/1.255, allocations: 28.35 MB / 1.165 GB, free: 9.195 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002123/1.255, allocations: 225.6 kB / 1.165 GB, free: 8.957 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.661/3.916, allocations: 1.875 kB / 1.165 GB, free: 8.957 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)