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.715/2.715, allocations: 387.1 MB / 399.7 MB, free: 9.492 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.00104/0.00104, allocations: 178.3 kB / 492.3 MB, free: 0.6094 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.616/1.616, allocations: 221.3 MB / 0.7871 GB, free: 12.87 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.0009503/0.0009505, allocations: 90.95 kB / 0.9267 GB, free: 13.94 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.441e-05/3.453e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2852/0.2852, allocations: 142.3 MB / 1.212 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8833/1.169, allocations: 181.2 MB / 1.389 GB, free: 16.54 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002403/1.169, allocations: 96.97 kB / 1.39 GB, free: 16.52 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04645/1.215, allocations: 20.28 MB / 1.409 GB, free: 17.35 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.344e-06/1.215, allocations: 7.938 kB / 1.409 GB, free: 17.34 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.918e-05/1.215, allocations: 8 kB / 1.409 GB, free: 17.34 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.0009915/1.216, allocations: 0.528 MB / 1.41 GB, free: 16.78 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/1.216, allocations: 12.03 kB / 1.41 GB, free: 16.77 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.48e-05/1.217, allocations: 61.2 kB / 1.41 GB, free: 16.71 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008842/1.217, allocations: 106.8 kB / 1.41 GB, free: 16.61 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003482/1.218, allocations: 254.7 kB / 1.41 GB, free: 16.34 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/1.218, allocations: 16.36 kB / 1.41 GB, free: 16.32 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.521e-05/1.218, allocations: 22.88 kB / 1.41 GB, free: 16.31 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005273/1.218, allocations: 365 kB / 1.411 GB, free: 16.01 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/1.218, allocations: 4 kB / 1.411 GB, free: 16 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.785e-05/1.218, allocations: 3.375 kB / 1.411 GB, free: 16 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-05/1.218, allocations: 31 kB / 1.411 GB, free: 15.98 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004604/1.219, allocations: 334.9 kB / 1.411 GB, free: 15.75 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002042/1.221, allocations: 1.714 MB / 1.413 GB, free: 14.07 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006057/1.222, allocations: 330.8 kB / 1.413 GB, free: 13.83 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002391/1.222, allocations: 171.2 kB / 1.413 GB, free: 13.71 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001737/1.222, allocations: 93.08 kB / 1.413 GB, free: 13.61 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/1.222, allocations: 40.77 kB / 1.413 GB, free: 13.56 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=25): time 3.226e-06/1.222, allocations: 3.938 kB / 1.413 GB, free: 13.55 MB / 0.8386 GB Notification: Performance of matching and sorting (n=35): time 0.006275/1.228, allocations: 1.719 MB / 1.415 GB, free: 12.1 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.478e-05/1.229, allocations: 81.11 kB / 1.415 GB, free: 12 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001843/1.229, allocations: 164 kB / 1.415 GB, free: 11.85 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.987e-05/1.229, allocations: 29.58 kB / 1.415 GB, free: 11.82 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.603e-05/1.229, allocations: 153.3 kB / 1.415 GB, free: 11.68 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.765e-05/1.229, allocations: 122.1 kB / 1.416 GB, free: 11.57 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.747e-05/1.229, allocations: 6.25 kB / 1.416 GB, free: 11.57 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001251/1.229, allocations: 337.3 kB / 1.416 GB, free: 11.24 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003794/1.23, allocations: 215.4 kB / 1.416 GB, free: 11.11 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003887/1.23, allocations: 310.9 kB / 1.416 GB, free: 10.86 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003803/1.23, allocations: 256.6 kB / 1.417 GB, free: 10.7 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/1.23, allocations: 0 / 1.417 GB, free: 10.7 MB / 0.8386 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0009107/1.231, allocations: 0.5833 MB / 1.417 GB, free: 10.28 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003493/1.232, allocations: 0.8743 MB / 1.418 GB, free: 9.352 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/1.232, allocations: 7.938 kB / 1.418 GB, free: 9.344 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/1.232, allocations: 4 kB / 1.418 GB, free: 9.34 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001041/1.233, allocations: 175.2 kB / 1.418 GB, free: 9.172 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.849e-05/1.233, allocations: 4 kB / 1.418 GB, free: 9.168 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000407/1.233, allocations: 54.62 kB / 1.418 GB, free: 9.121 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-05/1.233, allocations: 15.5 kB / 1.418 GB, free: 9.109 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/1.233, allocations: 4 kB / 1.418 GB, free: 9.105 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008277/1.234, allocations: 0.5162 MB / 1.419 GB, free: 8.754 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/1.234, allocations: 7.984 kB / 1.419 GB, free: 8.746 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.735e-06/1.234, allocations: 4 kB / 1.419 GB, free: 8.742 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009261/1.235, allocations: 171.7 kB / 1.419 GB, free: 8.578 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/1.235, allocations: 4 kB / 1.419 GB, free: 8.574 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000358/1.235, allocations: 46.75 kB / 1.419 GB, free: 8.535 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.164e-05/1.235, allocations: 19.27 kB / 1.419 GB, free: 8.52 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.0001462/1.236, allocations: 128.1 kB / 1.419 GB, free: 8.398 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.48e-05/1.236, allocations: 23.72 kB / 1.419 GB, free: 8.375 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001116/1.237, allocations: 0.6093 MB / 1.42 GB, free: 7.965 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/1.237, allocations: 4 kB / 1.42 GB, free: 7.961 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/1.237, allocations: 4 kB / 1.42 GB, free: 7.957 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/1.237, allocations: 4 kB / 1.42 GB, free: 7.953 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002002/1.239, allocations: 1.303 MB / 1.421 GB, free: 6.812 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.798e-06/1.239, allocations: 4 kB / 1.421 GB, free: 6.809 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005607/1.239, allocations: 115.8 kB / 1.421 GB, free: 6.695 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.359e-05/1.239, allocations: 7.953 kB / 1.421 GB, free: 6.688 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.27e-05/1.24, allocations: 10.88 kB / 1.421 GB, free: 6.684 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/1.24, allocations: 8.234 kB / 1.421 GB, free: 6.676 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/1.24, allocations: 8.047 kB / 1.421 GB, free: 6.668 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008165/1.24, allocations: 0.76 MB / 1.422 GB, free: 5.965 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001808/1.241, allocations: 140.9 kB / 1.422 GB, free: 5.824 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.858e-05/1.241, allocations: 7.375 kB / 1.422 GB, free: 5.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003531/1.241, allocations: 46.81 kB / 1.422 GB, free: 5.781 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.882e-05/1.241, allocations: 27.16 kB / 1.422 GB, free: 5.758 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.983e-05/1.241, allocations: 15.95 kB / 1.422 GB, free: 5.742 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001382/1.241, allocations: 154.7 kB / 1.422 GB, free: 5.609 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.4e-07/1.241, allocations: 0 / 1.422 GB, free: 5.609 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007667/1.242, allocations: 169.4 kB / 1.422 GB, free: 5.461 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.001543/1.244, allocations: 1.886 MB / 1.424 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001257/1.245, allocations: 0.7702 MB / 1.425 GB, free: 3.129 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/1.245, allocations: 4.062 kB / 1.425 GB, free: 3.125 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003334/1.245, allocations: 230.5 kB / 1.425 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004172/1.246, allocations: 32.48 kB / 1.425 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001448/1.247, allocations: 0.6601 MB / 1.426 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004272/1.248, allocations: 0.7986 MB / 1.427 GB, free: 1.523 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0005975/1.248, allocations: 178.8 kB / 1.427 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001976/1.248, allocations: 75.66 kB / 1.427 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of SimCode: time 6.71e-07/1.248, allocations: 0 / 1.427 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.022/1.27, allocations: 6.913 MB / 1.434 GB, free: 10.61 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002029/1.271, allocations: 188.6 kB / 1.434 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.808/3.079, allocations: 0 / 1.434 GB, free: 10.38 MB / 0.8542 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