Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008479/0.0008479, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001112/0.001112, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.6/1.6, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.779/1.779, allocations: 292.7 MB / 0.5499 GB, free: 14.52 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005813/0.0005813, allocations: 16.59 kB / 0.6738 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.339, allocations: 116.3 MB / 0.7874 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.018/0.3571, allocations: 15.16 MB / 0.8022 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01116/0.3683, allocations: 5.965 MB / 0.808 GB, free: 6.641 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001813/0.3702, allocations: 43.81 kB / 0.8081 GB, free: 6.598 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0009629/0.3712, allocations: 309.7 kB / 0.8084 GB, free: 6.293 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002087/0.3733, allocations: 0.6535 MB / 0.809 GB, free: 5.637 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002835/0.3761, allocations: 0.8175 MB / 0.8098 GB, free: 4.82 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005108/0.3812, allocations: 4.439 MB / 0.8141 GB, free: 380 kB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008218/0.3895, allocations: 5.252 MB / 0.8193 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002567/0.3921, allocations: 1.152 MB / 0.8204 GB, free: 9.898 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002573/0.3946, allocations: 1.675 MB / 0.822 GB, free: 8.219 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003186/0.395, allocations: 160 kB / 0.8222 GB, free: 8.062 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001071/0.3961, allocations: 399.5 kB / 0.8226 GB, free: 7.672 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001354/0.3974, allocations: 1.216 MB / 0.8238 GB, free: 6.453 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006937/0.3981, allocations: 0.5043 MB / 0.8242 GB, free: 5.941 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004381/0.4025, allocations: 4.629 MB / 0.8288 GB, free: 1.301 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.4025, allocations: 0 / 0.8288 GB, free: 1.301 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.893e-06/0.4025, allocations: 0 / 0.8288 GB, free: 1.301 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001193/0.4027, allocations: 4 kB / 0.8288 GB, free: 1.297 MB / 0.6387 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.004975/0.4077, allocations: 2.227 MB / 0.8309 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.101e-05/0.4077, allocations: 8.031 kB / 0.831 GB, free: 15 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007221/0.4085, allocations: 407.5 kB / 0.8313 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003616/0.4121, allocations: 0.7969 MB / 0.8321 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002277/0.4144, allocations: 1.379 MB / 0.8335 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001993/0.4146, allocations: 193.2 kB / 0.8337 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000418/0.415, allocations: 248 kB / 0.8339 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007679/0.4227, allocations: 4.569 MB / 0.8384 GB, free: 7.172 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.363e-05/0.4228, allocations: 15.83 kB / 0.8384 GB, free: 7.156 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002808/0.4231, allocations: 112 kB / 0.8385 GB, free: 7.047 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002149/0.4233, allocations: 184.2 kB / 0.8386 GB, free: 6.867 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006511/0.4298, allocations: 3.809 MB / 0.8424 GB, free: 3.051 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02272/0.4526, allocations: 21.43 MB / 0.8633 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002611/0.4552, allocations: 2.256 MB / 0.8655 GB, free: 9.172 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001046/0.4563, allocations: 0.7164 MB / 0.8662 GB, free: 8.434 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 5.069e-05/0.4564, allocations: 12 kB / 0.8662 GB, free: 8.422 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.884e-05/0.4564, allocations: 50.36 kB / 0.8663 GB, free: 8.363 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=62): time 2.475e-06/0.4564, allocations: 0 / 0.8663 GB, free: 8.363 MB / 0.6856 GB Notification: Performance of matching and sorting (n=68): time 0.006025/0.4625, allocations: 4.18 MB / 0.8703 GB, free: 4.133 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/0.4626, allocations: 251.2 kB / 0.8706 GB, free: 3.832 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00138/0.464, allocations: 1.1 MB / 0.8717 GB, free: 2.707 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5.391e-05/0.464, allocations: 37.7 kB / 0.8717 GB, free: 2.664 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007159/0.4648, allocations: 1.191 MB / 0.8728 GB, free: 1.453 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002118/0.465, allocations: 252.6 kB / 0.8731 GB, free: 1.203 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.361e-05/0.4651, allocations: 28 kB / 0.8731 GB, free: 1.176 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001914/0.4653, allocations: 414.7 kB / 0.8735 GB, free: 0.7617 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009214/0.4662, allocations: 0.6948 MB / 0.8742 GB, free: 68 kB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001421/0.4676, allocations: 1.399 MB / 0.8756 GB, free: 14.32 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001295/0.4689, allocations: 0.975 MB / 0.8765 GB, free: 13.35 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.621e-05/0.4689, allocations: 8 kB / 0.8765 GB, free: 13.34 MB / 0.7012 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003167/0.4721, allocations: 2.168 MB / 0.8786 GB, free: 11.17 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005828/0.4727, allocations: 0.8015 MB / 0.8794 GB, free: 10.03 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.629e-05/0.4728, allocations: 28 kB / 0.8794 GB, free: 10 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.01e-05/0.4728, allocations: 36 kB / 0.8795 GB, free: 9.969 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001372/0.4742, allocations: 427.2 kB / 0.8799 GB, free: 9.551 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.66e-05/0.4743, allocations: 51.8 kB / 0.8799 GB, free: 9.5 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/0.4755, allocations: 191.3 kB / 0.8801 GB, free: 9.312 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001306/0.4756, allocations: 79.98 kB / 0.8802 GB, free: 9.234 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 9.928e-06/0.4756, allocations: 7.938 kB / 0.8802 GB, free: 9.227 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00261/0.4782, allocations: 1.844 MB / 0.882 GB, free: 7.383 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6e-05/0.4783, allocations: 27.98 kB / 0.882 GB, free: 7.355 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.561e-05/0.4783, allocations: 36 kB / 0.8821 GB, free: 7.32 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/0.4795, allocations: 387.3 kB / 0.8824 GB, free: 6.941 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.813e-05/0.4796, allocations: 51.78 kB / 0.8825 GB, free: 6.891 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009099/0.4805, allocations: 127.5 kB / 0.8826 GB, free: 6.766 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001334/0.4806, allocations: 84.27 kB / 0.8827 GB, free: 6.684 MB / 0.7012 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.001862/0.4825, allocations: 1.14 MB / 0.8838 GB, free: 5.531 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003568/0.4829, allocations: 102.8 kB / 0.8839 GB, free: 5.43 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001661/0.4846, allocations: 1.089 MB / 0.885 GB, free: 4.332 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/0.4846, allocations: 12 kB / 0.885 GB, free: 4.32 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/0.4846, allocations: 0 / 0.885 GB, free: 4.32 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.4846, allocations: 11.98 kB / 0.885 GB, free: 4.309 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01372/0.4983, allocations: 10.17 MB / 0.8949 GB, free: 9.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.701e-05/0.4984, allocations: 16 kB / 0.8949 GB, free: 9.863 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007358/0.4992, allocations: 195.5 kB / 0.8951 GB, free: 9.672 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.361e-05/0.4992, allocations: 20 kB / 0.8951 GB, free: 9.652 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.097e-05/0.4993, allocations: 36 kB / 0.8952 GB, free: 9.617 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.929e-05/0.4994, allocations: 31.86 kB / 0.8952 GB, free: 9.586 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.626e-05/0.4994, allocations: 19.94 kB / 0.8952 GB, free: 9.566 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002302/0.5017, allocations: 2.158 MB / 0.8973 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007189/0.5024, allocations: 339.5 kB / 0.8976 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002802/0.5027, allocations: 39.98 kB / 0.8977 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001139/0.5039, allocations: 95.86 kB / 0.8978 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/0.504, allocations: 99.61 kB / 0.8979 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-05/0.5041, allocations: 36 kB / 0.8979 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001179/0.5053, allocations: 0.7581 MB / 0.8986 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5053, allocations: 3.938 kB / 0.8986 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003432/0.5087, allocations: 0.7305 MB / 0.8994 GB, free: 5.07 MB / 0.7169 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.002572/0.5113, allocations: 2.738 MB / 0.902 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00357/0.5149, allocations: 2.461 MB / 0.9044 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.227e-06/0.5149, allocations: 7.938 kB / 0.9044 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00075/0.5157, allocations: 0.5683 MB / 0.905 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002034/0.5177, allocations: 240 kB / 0.9052 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01893/0.5367, allocations: 10.57 MB / 0.9156 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002458/0.5392, allocations: 2.015 MB / 0.9175 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002235/0.5414, allocations: 0.848 MB / 0.9183 GB, free: 0.6445 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.4526/0.994, allocations: 0.7252 MB / 0.9191 GB, free: 124.1 MB / 0.7325 GB Notification: Performance of SimCode: time 1.232e-06/0.9941, allocations: 0.7188 kB / 0.9191 GB, free: 124.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05989/1.054, allocations: 28.29 MB / 0.9467 GB, free: 117.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001368/1.054, allocations: 229.8 kB / 0.9469 GB, free: 116.9 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.466/3.52, allocations: 1.094 kB / 0.9469 GB, free: 116.9 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) Environment - environmentSimulation: