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 2.602/2.602, allocations: 287.5 MB / 302.4 MB, free: 8.293 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.001384/0.001384, allocations: 184.5 kB / 371 MB, free: 10.85 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.259/2.259, allocations: 205.4 MB / 0.6297 GB, free: 10.62 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.0009122/0.0009121, allocations: 96.89 kB / 0.743 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006945/0.0006948, allocations: 15.16 kB / 0.8659 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.2234, allocations: 115.3 MB / 0.9785 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.02256/0.246, allocations: 15.15 MB / 0.9933 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01321/0.2593, allocations: 5.973 MB / 0.9991 GB, free: 7.074 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001663/0.261, allocations: 39.88 kB / 0.9991 GB, free: 7.035 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001475/0.2625, allocations: 309.7 kB / 0.9994 GB, free: 6.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002776/0.2653, allocations: 0.6497 MB / 1 GB, free: 6.078 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003536/0.2689, allocations: 0.8213 MB / 1.001 GB, free: 5.258 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.005801/0.2747, allocations: 4.427 MB / 1.005 GB, free: 0.8203 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01279/0.2876, allocations: 5.264 MB / 1.01 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003143/0.2908, allocations: 1.152 MB / 1.011 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00429/0.2951, allocations: 1.679 MB / 1.013 GB, free: 8.664 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.000949/0.2961, allocations: 160 kB / 1.013 GB, free: 8.508 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002178/0.2983, allocations: 391.6 kB / 1.014 GB, free: 8.125 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.002623/0.301, allocations: 1.22 MB / 1.015 GB, free: 6.902 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001122/0.3022, allocations: 0.5005 MB / 1.015 GB, free: 6.395 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.007806/0.31, allocations: 4.637 MB / 1.02 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/0.3101, allocations: 0 / 1.02 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.976e-06/0.3101, allocations: 0 / 1.02 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001808/0.3103, allocations: 0 / 1.02 GB, free: 1.746 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.008266/0.3185, allocations: 2.227 MB / 1.022 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.192e-05/0.3186, allocations: 8.031 kB / 1.022 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001592/0.3202, allocations: 403.5 kB / 1.022 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006565/0.3268, allocations: 0.793 MB / 1.023 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004456/0.3314, allocations: 1.383 MB / 1.025 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003264/0.3317, allocations: 197.1 kB / 1.025 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001203/0.333, allocations: 248 kB / 1.025 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0142/0.3472, allocations: 4.561 MB / 1.029 GB, free: 7.629 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001249/0.3474, allocations: 15.84 kB / 1.029 GB, free: 7.613 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006783/0.3481, allocations: 115.9 kB / 1.03 GB, free: 7.5 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004001/0.3485, allocations: 176.2 kB / 1.03 GB, free: 7.328 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01178/0.3603, allocations: 3.805 MB / 1.033 GB, free: 3.516 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03754/0.3979, allocations: 21.43 MB / 1.054 GB, free: 12.18 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004448/0.4024, allocations: 2.254 MB / 1.057 GB, free: 9.637 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001846/0.4043, allocations: 0.7136 MB / 1.057 GB, free: 8.898 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.713e-05/0.4044, allocations: 15.94 kB / 1.057 GB, free: 8.883 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.426e-05/0.4045, allocations: 50.41 kB / 1.057 GB, free: 8.824 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=62): time 3.447e-06/0.4045, allocations: 0 / 1.057 GB, free: 8.824 MB / 0.6823 GB Notification: Performance of matching and sorting (n=68): time 0.01265/0.4171, allocations: 4.184 MB / 1.061 GB, free: 4.586 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002779/0.4175, allocations: 243.3 kB / 1.062 GB, free: 4.293 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004398/0.4219, allocations: 1.108 MB / 1.063 GB, free: 3.16 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002258/0.4222, allocations: 37.7 kB / 1.063 GB, free: 3.117 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001917/0.4242, allocations: 1.196 MB / 1.064 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006425/0.4248, allocations: 248.6 kB / 1.064 GB, free: 1.656 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002379/0.4251, allocations: 32 kB / 1.064 GB, free: 1.625 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0004696/0.4256, allocations: 410.7 kB / 1.065 GB, free: 1.215 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002859/0.4285, allocations: 0.6948 MB / 1.065 GB, free: 0.5195 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.6202/1.049, allocations: 1.391 MB / 1.067 GB, free: 83.01 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002818/1.052, allocations: 0.9857 MB / 1.068 GB, free: 82.98 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-05/1.052, allocations: 6.438 kB / 1.068 GB, free: 82.98 MB / 0.6823 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.00605/1.058, allocations: 2.163 MB / 1.07 GB, free: 82.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005424/1.058, allocations: 0.7938 MB / 1.07 GB, free: 81.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.605e-05/1.058, allocations: 23.75 kB / 1.07 GB, free: 81.23 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.593e-05/1.059, allocations: 38.14 kB / 1.071 GB, free: 81.23 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003141/1.062, allocations: 429.7 kB / 1.071 GB, free: 81.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.873e-05/1.062, allocations: 46.11 kB / 1.071 GB, free: 81.19 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002316/1.064, allocations: 192.2 kB / 1.071 GB, free: 81.16 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003161/1.064, allocations: 83.94 kB / 1.071 GB, free: 81.15 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/1.065, allocations: 4.25 kB / 1.071 GB, free: 81.15 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005124/1.07, allocations: 1.84 MB / 1.073 GB, free: 80.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-05/1.07, allocations: 27.47 kB / 1.073 GB, free: 80.45 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.692e-05/1.07, allocations: 36.88 kB / 1.073 GB, free: 80.45 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002632/1.072, allocations: 390.2 kB / 1.073 GB, free: 80.41 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.816e-05/1.073, allocations: 52.94 kB / 1.074 GB, free: 80.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001706/1.074, allocations: 132.2 kB / 1.074 GB, free: 80.38 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002437/1.075, allocations: 81.58 kB / 1.074 GB, free: 80.36 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.002778/1.077, allocations: 1.132 MB / 1.075 GB, free: 79.81 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004975/1.078, allocations: 104.6 kB / 1.075 GB, free: 79.81 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00284/1.081, allocations: 1.096 MB / 1.076 GB, free: 79.39 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.211e-05/1.081, allocations: 13.72 kB / 1.076 GB, free: 79.39 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.517e-05/1.081, allocations: 9.047 kB / 1.076 GB, free: 79.39 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.05e-05/1.081, allocations: 5.5 kB / 1.076 GB, free: 79.39 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02228/1.103, allocations: 10.17 MB / 1.086 GB, free: 75.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.467e-05/1.103, allocations: 16.73 kB / 1.086 GB, free: 75.17 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001346/1.105, allocations: 190.7 kB / 1.086 GB, free: 75.15 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-05/1.105, allocations: 22.84 kB / 1.086 GB, free: 75.15 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.581e-05/1.105, allocations: 34.52 kB / 1.086 GB, free: 75.14 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.21e-05/1.105, allocations: 31.39 kB / 1.086 GB, free: 75.13 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-05/1.105, allocations: 26.91 kB / 1.086 GB, free: 75.12 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003109/1.108, allocations: 2.148 MB / 1.088 GB, free: 73.54 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009751/1.109, allocations: 341.5 kB / 1.089 GB, free: 73.37 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002534/1.109, allocations: 34.39 kB / 1.089 GB, free: 73.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002616/1.112, allocations: 97.86 kB / 1.089 GB, free: 73.36 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004404/1.112, allocations: 102.2 kB / 1.089 GB, free: 73.31 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001761/1.113, allocations: 38.66 kB / 1.089 GB, free: 73.3 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.003019/1.116, allocations: 0.7576 MB / 1.09 GB, free: 72.99 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.657e-06/1.116, allocations: 0 / 1.09 GB, free: 72.99 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.008419/1.124, allocations: 0.7319 MB / 1.09 GB, free: 72.93 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.003475/1.128, allocations: 2.745 MB / 1.093 GB, free: 70.73 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005976/1.134, allocations: 2.459 MB / 1.095 GB, free: 69.91 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.962e-05/1.134, allocations: 2.5 kB / 1.095 GB, free: 69.91 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001359/1.135, allocations: 0.5681 MB / 1.096 GB, free: 69.72 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003219/1.138, allocations: 238.5 kB / 1.096 GB, free: 69.65 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02492/1.163, allocations: 10.56 MB / 1.107 GB, free: 63.48 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003336/1.167, allocations: 2.006 MB / 1.109 GB, free: 62.47 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00375/1.171, allocations: 0.8575 MB / 1.109 GB, free: 62.42 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001728/1.172, allocations: 0.7273 MB / 1.11 GB, free: 61.82 MB / 0.6823 GB Notification: Performance of SimCode: time 1.563e-06/1.172, allocations: 0 / 1.11 GB, free: 61.82 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07874/1.251, allocations: 28.31 MB / 1.138 GB, free: 39.69 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002674/1.251, allocations: 225.4 kB / 1.138 GB, free: 39.45 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.429/4.681, allocations: 0 / 1.138 GB, free: 39.45 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)