Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.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.ThreePhasesUnbalanced.Conversion.Examples.Converter,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter,fileNamePrefix="Buildings_9_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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.269/2.269, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.001099/0.001099, allocations: 187.2 kB / 498.1 MB, free: 5.734 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.476/1.476, allocations: 223.2 MB / 0.7948 GB, free: 18.86 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.0009576/0.0009574, allocations: 98.66 kB / 0.9346 GB, free: 7.152 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003916/0.0003921, allocations: 9.328 kB / 1.084 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3127, allocations: 142.4 MB / 1.223 GB, free: 89.46 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9151/1.228, allocations: 191.1 MB / 1.41 GB, free: 178.5 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003191/1.228, allocations: 101.1 kB / 1.41 GB, free: 178.5 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.238/1.466, allocations: 108.6 MB / 1.516 GB, free: 96.16 MB / 0.9011 GB Notification: Performance of FrontEnd: time 5.641e-06/1.466, allocations: 0 / 1.516 GB, free: 96.16 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001726/1.467, allocations: 52 kB / 1.516 GB, free: 96.11 MB / 0.9011 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.009351/1.476, allocations: 2.278 MB / 1.518 GB, free: 93.77 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/1.476, allocations: 12.03 kB / 1.518 GB, free: 93.76 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002019/1.478, allocations: 428.7 kB / 1.518 GB, free: 93.33 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004383/1.482, allocations: 0.5902 MB / 1.519 GB, free: 92.74 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004422/1.487, allocations: 1.482 MB / 1.52 GB, free: 91.21 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001831/1.487, allocations: 205.6 kB / 1.521 GB, free: 91.01 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001286/1.488, allocations: 264 kB / 1.521 GB, free: 90.75 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01219/1.501, allocations: 4.29 MB / 1.525 GB, free: 86.37 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001455/1.501, allocations: 0 / 1.525 GB, free: 86.37 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001243/1.502, allocations: 116 kB / 1.525 GB, free: 86.26 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001955/1.502, allocations: 140.6 kB / 1.525 GB, free: 86.12 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008368/1.511, allocations: 3.649 MB / 1.529 GB, free: 82.45 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02702/1.538, allocations: 20.23 MB / 1.549 GB, free: 60.25 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003042/1.541, allocations: 1.872 MB / 1.55 GB, free: 58.23 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001965/1.541, allocations: 105.8 kB / 1.551 GB, free: 58.11 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/1.541, allocations: 55.14 kB / 1.551 GB, free: 58.05 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=77): time 2.785e-06/1.541, allocations: 0 / 1.551 GB, free: 58.05 MB / 0.9011 GB Notification: Performance of matching and sorting (n=92): time 0.02027/1.561, allocations: 5.33 MB / 1.556 GB, free: 52.7 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.016e-05/1.561, allocations: 141.5 kB / 1.556 GB, free: 52.54 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001343/1.563, allocations: 0.8858 MB / 1.557 GB, free: 51.64 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.000132/1.563, allocations: 41.64 kB / 1.557 GB, free: 51.6 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006035/1.564, allocations: 1.195 MB / 1.558 GB, free: 50.38 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003325/1.564, allocations: 323.5 kB / 1.558 GB, free: 50.06 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/1.564, allocations: 36 kB / 1.558 GB, free: 50.03 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001733/1.564, allocations: 402.7 kB / 1.559 GB, free: 49.62 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001186/1.565, allocations: 0.8627 MB / 1.56 GB, free: 48.76 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001527/1.567, allocations: 1.499 MB / 1.561 GB, free: 46.97 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001453/1.568, allocations: 1.19 MB / 1.562 GB, free: 45.79 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.939e-05/1.568, allocations: 4 kB / 1.562 GB, free: 45.78 MB / 0.9011 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.00351/1.572, allocations: 2.504 MB / 1.565 GB, free: 43.27 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.001995/1.574, allocations: 8.349 MB / 1.573 GB, free: 34.27 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.652e-05/1.574, allocations: 24 kB / 1.573 GB, free: 34.24 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.031e-05/1.574, allocations: 36 kB / 1.573 GB, free: 34.21 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002564/1.577, allocations: 0.5226 MB / 1.573 GB, free: 33.68 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.409e-05/1.577, allocations: 47.8 kB / 1.573 GB, free: 33.64 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001662/1.578, allocations: 159.6 kB / 1.574 GB, free: 33.48 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002509/1.579, allocations: 87.97 kB / 1.574 GB, free: 33.39 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/1.579, allocations: 4 kB / 1.574 GB, free: 33.39 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003937/1.583, allocations: 2.398 MB / 1.576 GB, free: 30.99 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-05/1.583, allocations: 20 kB / 1.576 GB, free: 30.97 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.133e-05/1.583, allocations: 39.95 kB / 1.576 GB, free: 30.93 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002331/1.585, allocations: 0.5109 MB / 1.577 GB, free: 30.42 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.536e-05/1.585, allocations: 51.73 kB / 1.577 GB, free: 30.37 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001267/1.586, allocations: 139.9 kB / 1.577 GB, free: 30.23 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001985/1.587, allocations: 83.98 kB / 1.577 GB, free: 30.15 MB / 0.9011 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 (211): * Single equations (assignments): 211 * 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.002266/1.589, allocations: 1.219 MB / 1.578 GB, free: 28.92 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003457/1.589, allocations: 90.97 kB / 1.578 GB, free: 28.83 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002738/1.592, allocations: 1.86 MB / 1.58 GB, free: 26.92 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/1.592, allocations: 8 kB / 1.58 GB, free: 26.91 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/1.592, allocations: 4 kB / 1.58 GB, free: 26.91 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.809e-06/1.592, allocations: 7.969 kB / 1.58 GB, free: 26.9 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01181/1.604, allocations: 8.995 MB / 1.589 GB, free: 16.93 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.321e-05/1.604, allocations: 12.94 kB / 1.589 GB, free: 16.91 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001204/1.605, allocations: 267.5 kB / 1.589 GB, free: 16.65 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.429e-05/1.605, allocations: 16 kB / 1.589 GB, free: 16.64 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001057/1.605, allocations: 31.95 kB / 1.589 GB, free: 16.61 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.689e-05/1.606, allocations: 23.92 kB / 1.589 GB, free: 16.58 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.301e-05/1.606, allocations: 15.94 kB / 1.589 GB, free: 16.57 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002741/1.608, allocations: 2.32 MB / 1.591 GB, free: 13.81 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009645/1.609, allocations: 335.6 kB / 1.592 GB, free: 13.46 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000396/1.61, allocations: 35.92 kB / 1.592 GB, free: 13.43 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001232/1.611, allocations: 75.86 kB / 1.592 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001709/1.611, allocations: 87.7 kB / 1.592 GB, free: 13.27 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.617e-05/1.611, allocations: 36 kB / 1.592 GB, free: 13.23 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0014/1.613, allocations: 0.7137 MB / 1.593 GB, free: 12.53 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.533e-06/1.613, allocations: 0 / 1.593 GB, free: 12.53 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.00552/1.618, allocations: 0.8788 MB / 1.593 GB, free: 11.65 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 47 * 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 (89): * Single equations (assignments): 89 * 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.003915/1.622, allocations: 6.113 MB / 1.599 GB, free: 5.199 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.00446/1.627, allocations: 2.982 MB / 1.602 GB, free: 2.227 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.187e-05/1.627, allocations: 4 kB / 1.602 GB, free: 2.223 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0007151/1.627, allocations: 0.5884 MB / 1.603 GB, free: 1.637 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001226/1.629, allocations: 162.7 kB / 1.603 GB, free: 1.48 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02791/1.656, allocations: 25.08 MB / 1.628 GB, free: 7.66 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003639/1.66, allocations: 2.153 MB / 1.63 GB, free: 5.477 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.003081/1.663, allocations: 1.023 MB / 1.631 GB, free: 4.449 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001415/1.665, allocations: 0.757 MB / 1.631 GB, free: 3.691 MB / 0.9323 GB Notification: Performance of SimCode: time 1.233e-06/1.665, allocations: 3.938 kB / 1.631 GB, free: 3.688 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05787/1.723, allocations: 29.02 MB / 1.66 GB, free: 6.914 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002218/1.723, allocations: 205.1 kB / 1.66 GB, free: 6.676 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.616/4.339, allocations: 4 kB / 1.66 GB, free: 6.672 MB / 0.9636 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter_res.mat does not exist to compare? outputFormat=mat