Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.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.Conversion.Examples.Converter,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter",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.001281/0.001281, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001466/0.001466, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.378/2.378, allocations: 205.4 MB / 222.1 MB, free: 5.664 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 2.139/2.139, allocations: 292.6 MB / 0.5497 GB, free: 14.61 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.0005425/0.0005427, allocations: 12.91 kB / 0.6737 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.351/0.3515, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.01849/0.3701, allocations: 14.62 MB / 0.8015 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009551/0.3797, allocations: 5.374 MB / 0.8068 GB, free: 7.828 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00115/0.3809, allocations: 39.81 kB / 0.8068 GB, free: 7.789 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.000819/0.3817, allocations: 326.2 kB / 0.8071 GB, free: 7.469 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001758/0.3835, allocations: 454.6 kB / 0.8075 GB, free: 7.023 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002226/0.3857, allocations: 0.6429 MB / 0.8082 GB, free: 6.383 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002652/0.3884, allocations: 1.622 MB / 0.8098 GB, free: 4.758 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009038/0.3974, allocations: 5.887 MB / 0.8155 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002145/0.3996, allocations: 0.9736 MB / 0.8165 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002049/0.4017, allocations: 1.126 MB / 0.8176 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003805/0.4021, allocations: 180 kB / 0.8177 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001367/0.4034, allocations: 0.5619 MB / 0.8183 GB, free: 11.97 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001311/0.4048, allocations: 1.255 MB / 0.8195 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006871/0.4055, allocations: 0.5161 MB / 0.82 GB, free: 10.19 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005534/0.411, allocations: 5.057 MB / 0.8249 GB, free: 5.117 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.4111, allocations: 0 / 0.8249 GB, free: 5.117 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.164e-06/0.4111, allocations: 0 / 0.8249 GB, free: 5.117 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001319/0.4112, allocations: 0 / 0.8249 GB, free: 5.117 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: 735 * Number of variables: 735 Notification: Performance of Generate backend data structure: time 0.005167/0.4164, allocations: 2.248 MB / 0.8271 GB, free: 2.809 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.634e-05/0.4164, allocations: 8.031 kB / 0.8272 GB, free: 2.801 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008398/0.4173, allocations: 432.7 kB / 0.8276 GB, free: 2.367 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003671/0.421, allocations: 0.715 MB / 0.8283 GB, free: 1.648 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003193/0.4242, allocations: 1.414 MB / 0.8296 GB, free: 196 kB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001686/0.4244, allocations: 205.6 kB / 0.8298 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004347/0.4248, allocations: 276 kB / 0.8301 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008902/0.4337, allocations: 4.668 MB / 0.8347 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.019e-05/0.4338, allocations: 3.938 kB / 0.8347 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003065/0.4341, allocations: 116 kB / 0.8348 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001804/0.4343, allocations: 152.6 kB / 0.8349 GB, free: 10.69 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007262/0.4416, allocations: 4.066 MB / 0.8389 GB, free: 6.609 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02774/0.4693, allocations: 20.42 MB / 0.8588 GB, free: 228 kB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003233/0.4726, allocations: 1.948 MB / 0.8607 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001862/0.4728, allocations: 109.7 kB / 0.8608 GB, free: 14 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.977e-05/0.4729, allocations: 51.17 kB / 0.8609 GB, free: 13.94 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=77): time 2.685e-06/0.4729, allocations: 4 kB / 0.8609 GB, free: 13.94 MB / 0.6856 GB Notification: Performance of matching and sorting (n=77): time 0.002649/0.4756, allocations: 1.699 MB / 0.8625 GB, free: 12.23 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/0.4757, allocations: 137.2 kB / 0.8627 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001402/0.4771, allocations: 0.9645 MB / 0.8636 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.337e-05/0.4772, allocations: 41.7 kB / 0.8637 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008344/0.478, allocations: 1.183 MB / 0.8648 GB, free: 9.84 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002748/0.4783, allocations: 280.5 kB / 0.8651 GB, free: 9.562 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.849e-05/0.4784, allocations: 36 kB / 0.8651 GB, free: 9.527 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002261/0.4786, allocations: 402.7 kB / 0.8655 GB, free: 9.125 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001093/0.4797, allocations: 0.7845 MB / 0.8663 GB, free: 8.34 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001589/0.4813, allocations: 1.405 MB / 0.8676 GB, free: 6.645 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001354/0.4827, allocations: 1.096 MB / 0.8687 GB, free: 5.547 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.079e-05/0.4827, allocations: 8 kB / 0.8687 GB, free: 5.539 MB / 0.6856 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.00331/0.486, allocations: 2.304 MB / 0.871 GB, free: 3.227 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.003976/0.49, allocations: 8.351 MB / 0.8791 GB, free: 10.22 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.742e-05/0.4901, allocations: 20 kB / 0.8791 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.562e-05/0.4901, allocations: 32 kB / 0.8792 GB, free: 10.17 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001789/0.4919, allocations: 443.2 kB / 0.8796 GB, free: 9.734 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.351e-05/0.492, allocations: 47.84 kB / 0.8796 GB, free: 9.688 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/0.4932, allocations: 261.9 kB / 0.8799 GB, free: 9.43 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/0.4934, allocations: 79.98 kB / 0.88 GB, free: 9.352 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 9.999e-06/0.4934, allocations: 6.969 kB / 0.88 GB, free: 9.348 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003158/0.4966, allocations: 2.198 MB / 0.8821 GB, free: 7.152 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.713e-05/0.4966, allocations: 24 kB / 0.8821 GB, free: 7.129 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.147e-05/0.4966, allocations: 32 kB / 0.8822 GB, free: 7.098 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001589/0.4982, allocations: 447.2 kB / 0.8826 GB, free: 6.66 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.549e-05/0.4983, allocations: 39.86 kB / 0.8826 GB, free: 6.621 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009966/0.4993, allocations: 203.2 kB / 0.8828 GB, free: 6.422 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/0.4994, allocations: 79.98 kB / 0.8829 GB, free: 6.344 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * 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 (196): * Single equations (assignments): 196 * 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.002244/0.5017, allocations: 1.203 MB / 0.8841 GB, free: 5.129 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002865/0.502, allocations: 90.92 kB / 0.8842 GB, free: 5.039 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002261/0.5042, allocations: 1.545 MB / 0.8857 GB, free: 3.445 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/0.5042, allocations: 11.94 kB / 0.8857 GB, free: 3.434 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.5043, allocations: 0 / 0.8857 GB, free: 3.434 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.5043, allocations: 3.984 kB / 0.8857 GB, free: 3.43 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009907/0.5142, allocations: 6.637 MB / 0.8922 GB, free: 12.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.275e-05/0.5142, allocations: 8.969 kB / 0.8922 GB, free: 12.17 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007135/0.5149, allocations: 187.7 kB / 0.8924 GB, free: 11.99 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.946e-05/0.515, allocations: 16 kB / 0.8924 GB, free: 11.97 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.08e-05/0.515, allocations: 20 kB / 0.8924 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.418e-05/0.5151, allocations: 15.94 kB / 0.8924 GB, free: 11.94 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.167e-05/0.5151, allocations: 11.94 kB / 0.8924 GB, free: 11.93 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002394/0.5175, allocations: 1.979 MB / 0.8944 GB, free: 9.629 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007117/0.5182, allocations: 319.7 kB / 0.8947 GB, free: 9.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001335/0.5183, allocations: 27.98 kB / 0.8947 GB, free: 9.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006224/0.519, allocations: 79.83 kB / 0.8948 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.5191, allocations: 67.72 kB / 0.8948 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.808e-05/0.5191, allocations: 28 kB / 0.8949 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00102/0.5202, allocations: 0.7254 MB / 0.8956 GB, free: 8.371 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5202, allocations: 0 / 0.8956 GB, free: 8.371 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003426/0.5236, allocations: 1.174 MB / 0.8967 GB, free: 7.191 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 35 * 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 (71): * Single equations (assignments): 71 * 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.003646/0.5273, allocations: 4.889 MB / 0.9015 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004228/0.5315, allocations: 2.707 MB / 0.9041 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.5315, allocations: 3.938 kB / 0.9041 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006955/0.5322, allocations: 0.5132 MB / 0.9046 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009516/0.5332, allocations: 153.8 kB / 0.9048 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6483/1.182, allocations: 24.41 MB / 0.9286 GB, free: 119.8 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003822/1.185, allocations: 2.115 MB / 0.9307 GB, free: 119.1 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00521/1.191, allocations: 0.9607 MB / 0.9316 GB, free: 119.1 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002716/1.194, allocations: 0.7303 MB / 0.9323 GB, free: 119 MB / 0.7325 GB Notification: Performance of SimCode: time 3.136e-06/1.194, allocations: 0 / 0.9323 GB, free: 119 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1523/1.346, allocations: 26.64 MB / 0.9583 GB, free: 110.6 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004065/1.346, allocations: 210.8 kB / 0.9585 GB, free: 110.3 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.529/3.875, allocations: 3.234 kB / 0.9585 GB, free: 110.3 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe 2>&1) Environment - environmentSimulation: