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/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.282/2.282, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.00108/0.001079, allocations: 188.7 kB / 487.4 MB, free: 5.047 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.887/1.887, allocations: 221.5 MB / 0.7824 GB, free: 1.043 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 99.89 kB / 0.9219 GB, free: 2.273 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.409e-05/2.411e-05, allocations: 6.188 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3473, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.984/1.331, allocations: 180.5 MB / 1.382 GB, free: 17.55 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003131/1.332, allocations: 92.16 kB / 1.382 GB, free: 17.53 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0424/1.374, allocations: 20.22 MB / 1.402 GB, free: 25.11 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.114e-06/1.374, allocations: 3.844 kB / 1.402 GB, free: 25.11 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.983e-05/1.374, allocations: 11.39 kB / 1.402 GB, free: 25.11 MB / 0.8386 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.0007606/1.375, allocations: 0.5342 MB / 1.403 GB, free: 24.63 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/1.375, allocations: 11.59 kB / 1.403 GB, free: 24.63 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008189/1.376, allocations: 100.5 kB / 1.403 GB, free: 24.59 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002657/1.376, allocations: 260 kB / 1.403 GB, free: 24.34 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/1.376, allocations: 11.62 kB / 1.403 GB, free: 24.34 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.128e-05/1.376, allocations: 11.34 kB / 1.403 GB, free: 24.34 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003695/1.377, allocations: 254.8 kB / 1.403 GB, free: 24.26 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003989/1.377, allocations: 337.2 kB / 1.404 GB, free: 23.98 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/1.377, allocations: 0 / 1.404 GB, free: 23.98 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.78e-05/1.377, allocations: 3.938 kB / 1.404 GB, free: 23.97 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.778e-05/1.377, allocations: 26.89 kB / 1.404 GB, free: 23.95 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001579/1.379, allocations: 1.666 MB / 1.405 GB, free: 22.33 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004913/1.379, allocations: 321.4 kB / 1.406 GB, free: 22.09 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001774/1.379, allocations: 164 kB / 1.406 GB, free: 21.98 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001494/1.38, allocations: 92.77 kB / 1.406 GB, free: 21.88 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.66e-05/1.38, allocations: 38.5 kB / 1.406 GB, free: 21.83 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=25): time 1.583e-06/1.38, allocations: 4 kB / 1.406 GB, free: 21.83 MB / 0.8386 GB Notification: Performance of matching and sorting (n=35): time 0.002595/1.382, allocations: 1.103 MB / 1.407 GB, free: 20.98 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.524e-05/1.382, allocations: 81.11 kB / 1.407 GB, free: 20.88 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/1.382, allocations: 151.7 kB / 1.407 GB, free: 20.74 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.275e-05/1.382, allocations: 25.7 kB / 1.407 GB, free: 20.71 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.736e-05/1.382, allocations: 147 kB / 1.407 GB, free: 20.57 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.414e-05/1.383, allocations: 116.7 kB / 1.407 GB, free: 20.47 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.68e-05/1.383, allocations: 0 / 1.407 GB, free: 20.47 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001381/1.383, allocations: 331.2 kB / 1.408 GB, free: 20.15 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002401/1.383, allocations: 218.7 kB / 1.408 GB, free: 20.02 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002706/1.383, allocations: 293.2 kB / 1.408 GB, free: 19.78 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005345/1.384, allocations: 302.4 kB / 1.409 GB, free: 19.58 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/1.384, allocations: 0 / 1.409 GB, free: 19.58 MB / 0.8386 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0009019/1.385, allocations: 0.5955 MB / 1.409 GB, free: 19.14 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003678/1.385, allocations: 0.881 MB / 1.41 GB, free: 18.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/1.385, allocations: 7.953 kB / 1.41 GB, free: 18.2 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/1.385, allocations: 4 kB / 1.41 GB, free: 18.2 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008074/1.386, allocations: 151.5 kB / 1.41 GB, free: 18.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/1.386, allocations: 7.984 kB / 1.41 GB, free: 18.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003656/1.386, allocations: 43.94 kB / 1.41 GB, free: 18 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.822e-05/1.386, allocations: 12 kB / 1.41 GB, free: 17.99 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.072e-06/1.386, allocations: 4 kB / 1.41 GB, free: 17.99 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007379/1.387, allocations: 462.9 kB / 1.411 GB, free: 17.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.775e-06/1.387, allocations: 0 / 1.411 GB, free: 17.66 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.179e-06/1.387, allocations: 4 kB / 1.411 GB, free: 17.65 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006525/1.388, allocations: 139.9 kB / 1.411 GB, free: 17.52 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/1.388, allocations: 15.86 kB / 1.411 GB, free: 17.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002622/1.388, allocations: 31.95 kB / 1.411 GB, free: 17.47 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.763e-05/1.388, allocations: 19.42 kB / 1.411 GB, free: 17.46 MB / 0.8386 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.0001259/1.388, allocations: 116.9 kB / 1.411 GB, free: 17.34 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000852/1.389, allocations: 0.5478 MB / 1.412 GB, free: 16.94 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.388e-05/1.389, allocations: 19.81 kB / 1.412 GB, free: 16.92 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001027/1.39, allocations: 0.6098 MB / 1.412 GB, free: 16.5 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/1.39, allocations: 12 kB / 1.412 GB, free: 16.49 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/1.39, allocations: 0 / 1.412 GB, free: 16.49 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/1.39, allocations: 3.984 kB / 1.412 GB, free: 16.48 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001711/1.392, allocations: 1.273 MB / 1.413 GB, free: 15.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.696e-06/1.392, allocations: 0 / 1.413 GB, free: 15.37 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005019/1.393, allocations: 119.7 kB / 1.414 GB, free: 15.26 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/1.393, allocations: 4 kB / 1.414 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.433e-05/1.393, allocations: 8.203 kB / 1.414 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/1.393, allocations: 8 kB / 1.414 GB, free: 15.24 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/1.393, allocations: 7.938 kB / 1.414 GB, free: 15.23 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007507/1.393, allocations: 0.7622 MB / 1.414 GB, free: 14.52 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001374/1.394, allocations: 139.7 kB / 1.414 GB, free: 14.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.734e-05/1.394, allocations: 4 kB / 1.414 GB, free: 14.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003205/1.394, allocations: 43.94 kB / 1.414 GB, free: 14.33 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.278e-05/1.394, allocations: 29.91 kB / 1.414 GB, free: 14.31 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.318e-05/1.394, allocations: 12 kB / 1.415 GB, free: 14.3 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001026/1.394, allocations: 145.2 kB / 1.415 GB, free: 14.17 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.394, allocations: 0 / 1.415 GB, free: 14.17 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007143/1.395, allocations: 142.8 kB / 1.415 GB, free: 14.04 MB / 0.8386 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.001321/1.396, allocations: 1.889 MB / 1.417 GB, free: 12.2 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0008776/1.397, allocations: 0.6906 MB / 1.417 GB, free: 11.74 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.397, allocations: 448 / 1.417 GB, free: 11.74 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002642/1.397, allocations: 227.2 kB / 1.418 GB, free: 11.59 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003776/1.398, allocations: 29.06 kB / 1.418 GB, free: 11.56 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001278/1.399, allocations: 0.6392 MB / 1.418 GB, free: 10.96 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/1.399, allocations: 0.784 MB / 1.419 GB, free: 10.16 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.000542/1.4, allocations: 179.1 kB / 1.419 GB, free: 9.984 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001808/1.4, allocations: 81.34 kB / 1.419 GB, free: 9.949 MB / 0.8386 GB Notification: Performance of SimCode: time 2.71e-07/1.4, allocations: 0 / 1.419 GB, free: 9.949 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02734/1.427, allocations: 6.492 MB / 1.426 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002163/1.428, allocations: 175.6 kB / 1.426 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.874/3.301, allocations: 3.25 kB / 1.426 GB, free: 3.293 MB / 0.8386 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