Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.ThreePhasesBalanced.Conversion.Examples.ACACConverter,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter",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.001288/0.001288, allocations: 99.31 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.001496/0.001496, 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 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.428/2.428, allocations: 390.3 MB / 0.6653 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003123/0.0003123, allocations: 16 kB / 0.8146 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7381/0.7384, allocations: 142.3 MB / 0.9536 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter): time 0.002845/0.7413, allocations: 2.38 MB / 0.9559 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002663/0.744, allocations: 1.827 MB / 0.9577 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.732e-05/0.7441, allocations: 2.219 kB / 0.9577 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001065/0.7443, allocations: 39.03 kB / 0.9577 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003058/0.7446, allocations: 115.1 kB / 0.9579 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000455/0.745, allocations: 217 kB / 0.9581 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002267/0.7453, allocations: 179.9 kB / 0.9582 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004832/0.7458, allocations: 345.8 kB / 0.9586 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.7459, allocations: 90.42 kB / 0.9587 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001833/0.7461, allocations: 103.5 kB / 0.9588 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.522e-05/0.7461, allocations: 11.41 kB / 0.9588 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003852/0.7465, allocations: 247.9 kB / 0.959 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.964e-05/0.7466, allocations: 75.45 kB / 0.9591 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.484e-05/0.7467, allocations: 63.55 kB / 0.9591 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005657/0.7473, allocations: 334.9 kB / 0.9595 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.7473, allocations: 0 / 0.9595 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.705e-06/0.7473, allocations: 9.297 kB / 0.9595 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.7473, allocations: 0 / 0.9595 GB, free: 3.594 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001159/0.7485, allocations: 0.5182 MB / 0.96 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.897e-05/0.7485, allocations: 13.56 kB / 0.96 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.238e-05/0.7486, allocations: 54.8 kB / 0.96 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001301/0.7499, allocations: 119.1 kB / 0.9601 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004361/0.7504, allocations: 255.7 kB / 0.9604 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.84e-05/0.7504, allocations: 13.22 kB / 0.9604 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.927e-05/0.7505, allocations: 20.78 kB / 0.9604 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/0.7516, allocations: 387.3 kB / 0.9608 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.7517, allocations: 8.703 kB / 0.9608 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.956e-05/0.7517, allocations: 10.14 kB / 0.9608 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.938e-05/0.7518, allocations: 25.23 kB / 0.9608 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001046/0.7529, allocations: 367.4 kB / 0.9612 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002384/0.7553, allocations: 1.714 MB / 0.9629 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009063/0.7562, allocations: 338.9 kB / 0.9632 GB, free: 484 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001581/0.7563, allocations: 92.09 kB / 0.9633 GB, free: 380 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.7564, allocations: 33.5 kB / 0.9633 GB, free: 340 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=25): time 2.074e-06/0.7564, allocations: 0 / 0.9633 GB, free: 340 kB / 0.7169 GB Notification: Performance of matching and sorting (n=26): time 0.001678/0.7581, allocations: 0.5707 MB / 0.9639 GB, free: 24 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.104e-05/0.7582, allocations: 79.64 kB / 0.9639 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000234/0.7584, allocations: 178.9 kB / 0.9641 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.324e-05/0.7585, allocations: 30.77 kB / 0.9641 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.7586, allocations: 150.6 kB / 0.9643 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/0.7587, allocations: 89.61 kB / 0.9644 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.863e-05/0.7588, allocations: 5.188 kB / 0.9644 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.7589, allocations: 339.4 kB / 0.9647 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004259/0.7594, allocations: 154.4 kB / 0.9648 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005377/0.7599, allocations: 238.6 kB / 0.9651 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005152/0.7604, allocations: 185.8 kB / 0.9652 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.7605, allocations: 1.031 kB / 0.9652 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001238/0.7617, allocations: 440.6 kB / 0.9657 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004391/0.7622, allocations: 0.875 MB / 0.9665 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.7622, allocations: 2.156 kB / 0.9665 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/0.7622, allocations: 3.844 kB / 0.9665 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000788/0.763, allocations: 96.08 kB / 0.9666 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.655e-05/0.7631, allocations: 3.938 kB / 0.9666 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003901/0.7635, allocations: 50.56 kB / 0.9667 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.573e-05/0.7635, allocations: 13.2 kB / 0.9667 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.7635, allocations: 4.031 kB / 0.9667 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001061/0.7646, allocations: 377.1 kB / 0.967 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.7646, allocations: 2.125 kB / 0.967 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.995e-06/0.7646, allocations: 8.312 kB / 0.9671 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006052/0.7653, allocations: 95.08 kB / 0.9671 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.7653, allocations: 6.844 kB / 0.9672 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003097/0.7656, allocations: 49.2 kB / 0.9672 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.319e-05/0.7656, allocations: 13.41 kB / 0.9672 GB, free: 13.39 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (35): * Single equations (assignments): 35 * 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.0002575/0.7659, allocations: 231.6 kB / 0.9674 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.766, allocations: 20.97 kB / 0.9675 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001276/0.7673, allocations: 430.2 kB / 0.9679 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.7673, allocations: 7.75 kB / 0.9679 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.7674, allocations: 0.9062 kB / 0.9679 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/0.7674, allocations: 9.062 kB / 0.9679 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002259/0.7696, allocations: 1.047 MB / 0.9689 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.7697, allocations: 1.156 kB / 0.9689 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006189/0.7703, allocations: 86.39 kB / 0.969 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.15e-05/0.7703, allocations: 6.016 kB / 0.969 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.435e-05/0.7704, allocations: 12.16 kB / 0.969 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.494e-06/0.7704, allocations: 3 kB / 0.969 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.167e-06/0.7704, allocations: 6.109 kB / 0.969 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00109/0.7715, allocations: 0.6385 MB / 0.9696 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002107/0.7717, allocations: 129.5 kB / 0.9698 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.886e-05/0.7718, allocations: 10.8 kB / 0.9698 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004196/0.7722, allocations: 27.09 kB / 0.9698 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.721e-05/0.7723, allocations: 22.12 kB / 0.9698 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.042e-05/0.7724, allocations: 7.094 kB / 0.9698 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001745/0.7726, allocations: 148 kB / 0.97 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7726, allocations: 0 / 0.97 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001037/0.7736, allocations: 106.7 kB / 0.9701 GB, free: 11.2 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (27): * Single equations (assignments): 27 * 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.001831/0.7755, allocations: 1.599 MB / 0.9716 GB, free: 9.746 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001518/0.777, allocations: 0.5512 MB / 0.9722 GB, free: 9.496 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.777, allocations: 1.062 kB / 0.9722 GB, free: 9.496 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004762/0.7775, allocations: 183.3 kB / 0.9723 GB, free: 9.414 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005565/0.7781, allocations: 35.27 kB / 0.9724 GB, free: 9.395 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003532/0.7816, allocations: 3.037 MB / 0.9753 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003659/0.782, allocations: 0.7745 MB / 0.9761 GB, free: 6.113 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003606/0.7824, allocations: 124.7 kB / 0.9762 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.7825, allocations: 73.56 kB / 0.9763 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of SimCode: time 9.62e-07/0.7825, allocations: 1.031 kB / 0.9763 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01571/0.7982, allocations: 4.92 MB / 0.9811 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002129/0.7985, allocations: 214 kB / 0.9813 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.882/2.68, allocations: 0 / 0.9813 GB, free: 3.039 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter_res.mat does not exist to compare? outputFormat=mat