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 1.605/1.605, allocations: 287.4 MB / 302.6 MB, free: 8.176 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.0009619/0.0009619, allocations: 178.5 kB / 371.1 MB, free: 10.82 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.321/1.321, allocations: 205.4 MB / 0.6298 GB, free: 10.56 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.0007509/0.0007508, allocations: 98.91 kB / 0.7431 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003767/0.000377, allocations: 10.22 kB / 0.8662 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.176, allocations: 115.3 MB / 0.9787 GB, free: 28.1 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.01211/0.1882, allocations: 15.16 MB / 0.9936 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.009081/0.1973, allocations: 5.969 MB / 0.9994 GB, free: 6.898 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001446/0.1988, allocations: 47.81 kB / 0.9994 GB, free: 6.852 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001093/0.1999, allocations: 305.7 kB / 0.9997 GB, free: 6.551 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001738/0.2017, allocations: 0.6535 MB / 1 GB, free: 5.895 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002275/0.204, allocations: 0.8122 MB / 1.001 GB, free: 5.082 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003535/0.2075, allocations: 4.482 MB / 1.006 GB, free: 0.5898 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008627/0.2162, allocations: 6.079 MB / 1.011 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002038/0.2182, allocations: 1.144 MB / 1.013 GB, free: 9.281 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002705/0.2209, allocations: 1.682 MB / 1.014 GB, free: 7.594 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0006278/0.2216, allocations: 160 kB / 1.014 GB, free: 7.438 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001448/0.223, allocations: 395.6 kB / 1.015 GB, free: 7.051 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001685/0.2247, allocations: 1.216 MB / 1.016 GB, free: 5.832 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0009964/0.2257, allocations: 0.5005 MB / 1.016 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.004407/0.2302, allocations: 4.632 MB / 1.021 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.2302, allocations: 0 / 1.021 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.044e-06/0.2302, allocations: 0 / 1.021 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001197/0.2303, allocations: 4 kB / 1.021 GB, free: 0.6758 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.004193/0.2345, allocations: 2.199 MB / 1.023 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.2346, allocations: 8.031 kB / 1.023 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006093/0.2352, allocations: 403.7 kB / 1.024 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003479/0.2387, allocations: 0.7978 MB / 1.024 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002407/0.2411, allocations: 1.407 MB / 1.026 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001444/0.2413, allocations: 189.5 kB / 1.026 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004934/0.2418, allocations: 264.2 kB / 1.026 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007589/0.2494, allocations: 4.564 MB / 1.031 GB, free: 6.547 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.714e-05/0.2495, allocations: 7.938 kB / 1.031 GB, free: 6.539 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000278/0.2498, allocations: 112 kB / 1.031 GB, free: 6.43 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002209/0.25, allocations: 176.2 kB / 1.031 GB, free: 6.258 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006184/0.2562, allocations: 3.815 MB / 1.035 GB, free: 2.434 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02209/0.2783, allocations: 21.43 MB / 1.055 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002432/0.2808, allocations: 2.251 MB / 1.058 GB, free: 8.566 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009682/0.2818, allocations: 0.7137 MB / 1.058 GB, free: 7.828 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.18e-05/0.2819, allocations: 19.92 kB / 1.058 GB, free: 7.809 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.2819, allocations: 50.41 kB / 1.058 GB, free: 7.75 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=62): time 2.896e-06/0.2819, allocations: 0 / 1.058 GB, free: 7.75 MB / 0.6823 GB Notification: Performance of matching and sorting (n=68): time 0.006008/0.2879, allocations: 4.185 MB / 1.063 GB, free: 3.512 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.288, allocations: 251.3 kB / 1.063 GB, free: 3.211 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001385/0.2894, allocations: 1.096 MB / 1.064 GB, free: 2.09 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.108e-05/0.2895, allocations: 37.7 kB / 1.064 GB, free: 2.047 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006875/0.2902, allocations: 1.195 MB / 1.065 GB, free: 0.832 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001975/0.2904, allocations: 252.6 kB / 1.065 GB, free: 0.582 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.811e-05/0.2905, allocations: 32 kB / 1.065 GB, free: 0.5508 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001755/0.2907, allocations: 414.7 kB / 1.066 GB, free: 140 kB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3441/0.6348, allocations: 0.687 MB / 1.066 GB, free: 83.92 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001794/0.6366, allocations: 1.399 MB / 1.068 GB, free: 83.05 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002507/0.6392, allocations: 2.149 MB / 1.07 GB, free: 81.63 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.933e-05/0.6392, allocations: 11.92 kB / 1.07 GB, free: 81.63 MB / 0.6823 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003476/0.6427, allocations: 2.17 MB / 1.072 GB, free: 80.84 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003671/0.6431, allocations: 0.7833 MB / 1.073 GB, free: 79.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.362e-05/0.6431, allocations: 27.19 kB / 1.073 GB, free: 79.78 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.402e-05/0.6432, allocations: 33.69 kB / 1.073 GB, free: 79.78 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001497/0.6447, allocations: 429.1 kB / 1.073 GB, free: 79.74 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.429e-05/0.6448, allocations: 50.45 kB / 1.073 GB, free: 79.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001299/0.6461, allocations: 188.7 kB / 1.073 GB, free: 79.71 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001554/0.6462, allocations: 83.27 kB / 1.074 GB, free: 79.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.067e-06/0.6463, allocations: 8.312 kB / 1.074 GB, free: 79.69 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002763/0.649, allocations: 1.842 MB / 1.075 GB, free: 79 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.634e-05/0.6491, allocations: 23.34 kB / 1.075 GB, free: 79 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.886e-05/0.6492, allocations: 36.23 kB / 1.075 GB, free: 79 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/0.6504, allocations: 388.8 kB / 1.076 GB, free: 78.96 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.131e-05/0.6505, allocations: 45.58 kB / 1.076 GB, free: 78.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009666/0.6514, allocations: 133.2 kB / 1.076 GB, free: 78.93 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001531/0.6516, allocations: 86.02 kB / 1.076 GB, free: 78.91 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.00165/0.6533, allocations: 1.139 MB / 1.077 GB, free: 78.34 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003199/0.6536, allocations: 103.5 kB / 1.077 GB, free: 78.34 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001637/0.6552, allocations: 1.094 MB / 1.078 GB, free: 77.91 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.438e-05/0.6553, allocations: 9.594 kB / 1.078 GB, free: 77.91 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.24e-05/0.6553, allocations: 6.719 kB / 1.078 GB, free: 77.91 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/0.6553, allocations: 7.953 kB / 1.078 GB, free: 77.91 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01256/0.6679, allocations: 10.18 MB / 1.088 GB, free: 73.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.245e-05/0.6679, allocations: 15.72 kB / 1.088 GB, free: 73.68 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006218/0.6685, allocations: 187.2 kB / 1.088 GB, free: 73.66 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-05/0.6686, allocations: 20.66 kB / 1.088 GB, free: 73.66 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.058e-05/0.6686, allocations: 30.52 kB / 1.088 GB, free: 73.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-05/0.6687, allocations: 32.28 kB / 1.089 GB, free: 73.65 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.672e-05/0.6687, allocations: 24.72 kB / 1.089 GB, free: 73.64 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001804/0.6705, allocations: 2.154 MB / 1.091 GB, free: 72.06 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005187/0.671, allocations: 339.4 kB / 1.091 GB, free: 71.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001881/0.6712, allocations: 35.53 kB / 1.091 GB, free: 71.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009449/0.6722, allocations: 97.56 kB / 1.091 GB, free: 71.88 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.6723, allocations: 101.8 kB / 1.091 GB, free: 71.83 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.938e-05/0.6724, allocations: 37.62 kB / 1.091 GB, free: 71.83 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009792/0.6734, allocations: 0.7591 MB / 1.092 GB, free: 71.52 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.81e-07/0.6734, allocations: 4 kB / 1.092 GB, free: 71.51 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002661/0.676, allocations: 0.7291 MB / 1.093 GB, free: 71.46 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.001917/0.6779, allocations: 2.738 MB / 1.095 GB, free: 69.28 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003288/0.6812, allocations: 2.457 MB / 1.098 GB, free: 68.46 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.6813, allocations: 1.406 kB / 1.098 GB, free: 68.46 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006776/0.6819, allocations: 0.5712 MB / 1.098 GB, free: 68.27 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003496/0.6855, allocations: 243.2 kB / 1.099 GB, free: 68.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01379/0.6993, allocations: 10.55 MB / 1.109 GB, free: 62.04 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001796/0.7011, allocations: 2.008 MB / 1.111 GB, free: 61.02 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002135/0.7032, allocations: 0.8589 MB / 1.112 GB, free: 60.96 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008093/0.7041, allocations: 0.7242 MB / 1.112 GB, free: 60.3 MB / 0.6823 GB Notification: Performance of SimCode: time 1.523e-06/0.7041, allocations: 0 / 1.112 GB, free: 60.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6744/1.379, allocations: 28.3 MB / 1.14 GB, free: 37.13 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001861/1.379, allocations: 219.3 kB / 1.14 GB, free: 36.89 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.097/4.476, allocations: 0 / 1.14 GB, free: 36.89 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)