Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter,fileNamePrefix="Buildings_latest_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/Buildings 10.0.0-master/package.mo): time 2.424/2.424, allocations: 390.3 MB / 402.8 MB, free: 6.695 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 180.9 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.625/1.625, allocations: 221.3 MB / 0.7915 GB, free: 5.398 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009262/0.0009263, allocations: 103.1 kB / 0.9317 GB, free: 5.723 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.555e-05/3.59e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.2869, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9532/1.24, allocations: 182 MB / 1.397 GB, free: 6.008 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003272/1.241, allocations: 90.81 kB / 1.397 GB, free: 5.957 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.05379/1.294, allocations: 20.29 MB / 1.416 GB, free: 4.746 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.703e-06/1.294, allocations: 7.938 kB / 1.416 GB, free: 4.738 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.308e-05/1.294, allocations: 8 kB / 1.417 GB, free: 4.73 MB / 0.8698 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.00113/1.296, allocations: 0.5361 MB / 1.417 GB, free: 4.168 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/1.296, allocations: 12.03 kB / 1.417 GB, free: 4.156 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.74e-05/1.296, allocations: 53.11 kB / 1.417 GB, free: 4.105 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008968/1.297, allocations: 106.4 kB / 1.417 GB, free: 4.004 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004004/1.297, allocations: 253.8 kB / 1.417 GB, free: 3.73 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/1.297, allocations: 16.38 kB / 1.417 GB, free: 3.719 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.874e-05/1.297, allocations: 23.69 kB / 1.417 GB, free: 3.703 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005782/1.298, allocations: 353.8 kB / 1.418 GB, free: 3.41 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/1.298, allocations: 4 kB / 1.418 GB, free: 3.406 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.035e-05/1.298, allocations: 10.25 kB / 1.418 GB, free: 3.402 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-05/1.298, allocations: 31.64 kB / 1.418 GB, free: 3.375 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005237/1.298, allocations: 332.2 kB / 1.418 GB, free: 3.148 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002085/1.301, allocations: 1.72 MB / 1.42 GB, free: 1.469 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005675/1.301, allocations: 325.3 kB / 1.42 GB, free: 1.23 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002327/1.301, allocations: 177.5 kB / 1.42 GB, free: 1.109 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001735/1.302, allocations: 93.05 kB / 1.42 GB, free: 1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/1.302, allocations: 45.67 kB / 1.42 GB, free: 0.9492 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=25): time 2.054e-06/1.302, allocations: 0 / 1.42 GB, free: 0.9492 MB / 0.8698 GB Notification: Performance of matching and sorting (n=35): time 0.006143/1.308, allocations: 1.715 MB / 1.422 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.346e-05/1.308, allocations: 81.11 kB / 1.422 GB, free: 15.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/1.308, allocations: 161.8 kB / 1.422 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.165e-05/1.308, allocations: 33.27 kB / 1.422 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.511e-05/1.308, allocations: 150.2 kB / 1.423 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/1.308, allocations: 122.3 kB / 1.423 GB, free: 14.97 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.669e-05/1.308, allocations: 6.312 kB / 1.423 GB, free: 14.97 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001345/1.308, allocations: 337.4 kB / 1.423 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003285/1.309, allocations: 217.5 kB / 1.423 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003793/1.309, allocations: 308.5 kB / 1.423 GB, free: 14.26 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003783/1.31, allocations: 263.8 kB / 1.424 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/1.31, allocations: 0 / 1.424 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0008701/1.31, allocations: 0.5782 MB / 1.424 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003695/1.311, allocations: 0.8817 MB / 1.425 GB, free: 12.74 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/1.311, allocations: 0 / 1.425 GB, free: 12.74 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/1.311, allocations: 8 kB / 1.425 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/1.312, allocations: 175.1 kB / 1.425 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.524e-05/1.312, allocations: 4 kB / 1.425 GB, free: 12.56 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003782/1.312, allocations: 50.75 kB / 1.425 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.551e-05/1.312, allocations: 15.3 kB / 1.425 GB, free: 12.51 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/1.312, allocations: 8 kB / 1.425 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007909/1.313, allocations: 0.5193 MB / 1.426 GB, free: 12.15 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/1.313, allocations: 0 / 1.426 GB, free: 12.15 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.933e-06/1.313, allocations: 8 kB / 1.426 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009557/1.314, allocations: 170.5 kB / 1.426 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/1.314, allocations: 7.938 kB / 1.426 GB, free: 11.97 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003503/1.315, allocations: 50.89 kB / 1.426 GB, free: 11.93 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.873e-05/1.315, allocations: 12 kB / 1.426 GB, free: 11.91 MB / 0.8855 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 44 * 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.0001407/1.315, allocations: 119.5 kB / 1.426 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.835e-05/1.315, allocations: 30.97 kB / 1.426 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001124/1.316, allocations: 0.6161 MB / 1.427 GB, free: 11.35 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/1.316, allocations: 4 kB / 1.427 GB, free: 11.35 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/1.316, allocations: 0 / 1.427 GB, free: 11.35 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/1.316, allocations: 7.953 kB / 1.427 GB, free: 11.34 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001953/1.318, allocations: 1.296 MB / 1.428 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.846e-06/1.318, allocations: 12.06 kB / 1.428 GB, free: 10.19 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005466/1.319, allocations: 123.2 kB / 1.428 GB, free: 10.07 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.688e-06/1.319, allocations: 4 kB / 1.428 GB, free: 10.07 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.243e-05/1.319, allocations: 7.438 kB / 1.428 GB, free: 10.07 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/1.319, allocations: 4 kB / 1.428 GB, free: 10.06 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.491e-06/1.319, allocations: 7.938 kB / 1.428 GB, free: 10.05 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008552/1.32, allocations: 0.7549 MB / 1.429 GB, free: 9.359 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001703/1.32, allocations: 140.3 kB / 1.429 GB, free: 9.219 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.668e-05/1.32, allocations: 11.69 kB / 1.429 GB, free: 9.211 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003425/1.32, allocations: 46.81 kB / 1.429 GB, free: 9.172 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.32e-05/1.32, allocations: 30.98 kB / 1.429 GB, free: 9.145 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.671e-05/1.32, allocations: 12 kB / 1.429 GB, free: 9.133 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001278/1.32, allocations: 151.5 kB / 1.429 GB, free: 9.004 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/1.32, allocations: 0 / 1.429 GB, free: 9.004 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0006837/1.321, allocations: 172.8 kB / 1.43 GB, free: 8.852 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 37 * 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.001465/1.323, allocations: 1.896 MB / 1.431 GB, free: 7.027 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001177/1.324, allocations: 0.7626 MB / 1.432 GB, free: 6.516 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/1.324, allocations: 0 / 1.432 GB, free: 6.516 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003182/1.324, allocations: 230.7 kB / 1.432 GB, free: 6.355 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003697/1.324, allocations: 40.67 kB / 1.432 GB, free: 6.328 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/1.326, allocations: 0.6598 MB / 1.433 GB, free: 5.723 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003924/1.326, allocations: 0.7917 MB / 1.434 GB, free: 4.914 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.000557/1.327, allocations: 178.8 kB / 1.434 GB, free: 4.738 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002192/1.327, allocations: 79.41 kB / 1.434 GB, free: 4.703 MB / 0.8855 GB Notification: Performance of SimCode: time 6.11e-07/1.327, allocations: 0 / 1.434 GB, free: 4.703 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02175/1.349, allocations: 6.925 MB / 1.441 GB, free: 13.99 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002062/1.349, allocations: 180.3 kB / 1.441 GB, free: 13.77 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.019/3.368, allocations: 5.219 kB / 1.441 GB, free: 13.77 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter_res.mat does not exist to compare? outputFormat=mat