Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.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.ThreePhasesUnbalanced.Conversion.Examples.Converter,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.489/2.489, allocations: 393.5 MB / 408.4 MB, free: 10.93 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.001406/0.001406, allocations: 168 kB / 0.4901 GB, free: 2.227 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.65/1.65, allocations: 223.1 MB / 0.7992 GB, free: 14.71 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.001027/0.001027, allocations: 100.2 kB / 0.9396 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003761/0.0003761, allocations: 10.59 kB / 1.09 GB, free: 216 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.3293, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2377/0.5672, allocations: 191.9 MB / 1.417 GB, free: 9.426 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003301/0.5675, allocations: 99.94 kB / 1.417 GB, free: 9.328 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.9953/1.563, allocations: 108.6 MB / 1.523 GB, free: 122.9 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.948e-06/1.563, allocations: 0 / 1.523 GB, free: 122.9 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001099/1.563, allocations: 56 kB / 1.523 GB, free: 122.9 MB / 0.9167 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.006492/1.57, allocations: 2.278 MB / 1.525 GB, free: 120.5 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.365e-05/1.57, allocations: 8.031 kB / 1.525 GB, free: 120.5 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006216/1.57, allocations: 428.8 kB / 1.526 GB, free: 120.1 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003212/1.574, allocations: 0.5863 MB / 1.526 GB, free: 119.5 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003186/1.577, allocations: 1.482 MB / 1.528 GB, free: 118 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001035/1.577, allocations: 205.6 kB / 1.528 GB, free: 117.8 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003801/1.577, allocations: 272 kB / 1.528 GB, free: 117.5 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006281/1.584, allocations: 4.276 MB / 1.532 GB, free: 113.1 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.513e-05/1.584, allocations: 7.938 kB / 1.532 GB, free: 113.1 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003016/1.584, allocations: 108 kB / 1.532 GB, free: 113 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001609/1.584, allocations: 144.6 kB / 1.532 GB, free: 112.9 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005382/1.589, allocations: 3.657 MB / 1.536 GB, free: 109.2 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01925/1.609, allocations: 20.22 MB / 1.556 GB, free: 87.02 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002655/1.611, allocations: 1.888 MB / 1.558 GB, free: 84.98 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001447/1.612, allocations: 109.8 kB / 1.558 GB, free: 84.86 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/1.612, allocations: 47.16 kB / 1.558 GB, free: 84.8 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=77): time 2.936e-06/1.612, allocations: 0 / 1.558 GB, free: 84.8 MB / 0.9167 GB Notification: Performance of matching and sorting (n=92): time 0.0175/1.629, allocations: 5.33 MB / 1.563 GB, free: 79.45 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.907e-05/1.629, allocations: 145.5 kB / 1.563 GB, free: 79.28 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001028/1.63, allocations: 0.8819 MB / 1.564 GB, free: 78.39 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 7.327e-05/1.63, allocations: 41.7 kB / 1.564 GB, free: 78.34 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004694/1.631, allocations: 1.187 MB / 1.565 GB, free: 77.13 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.00022/1.631, allocations: 331.5 kB / 1.565 GB, free: 76.8 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.93e-05/1.631, allocations: 32 kB / 1.566 GB, free: 76.77 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001391/1.631, allocations: 402.7 kB / 1.566 GB, free: 76.37 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001003/1.632, allocations: 0.8588 MB / 1.567 GB, free: 75.51 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001269/1.634, allocations: 1.503 MB / 1.568 GB, free: 73.72 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001316/1.635, allocations: 1.193 MB / 1.569 GB, free: 72.53 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/1.635, allocations: 4 kB / 1.569 GB, free: 72.52 MB / 0.9167 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.002973/1.638, allocations: 2.496 MB / 1.572 GB, free: 70.02 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001681/1.64, allocations: 8.357 MB / 1.58 GB, free: 61.01 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.664e-05/1.64, allocations: 20 kB / 1.58 GB, free: 60.99 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.735e-05/1.64, allocations: 32 kB / 1.58 GB, free: 60.96 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002354/1.642, allocations: 0.5304 MB / 1.581 GB, free: 60.43 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.374e-05/1.642, allocations: 39.86 kB / 1.581 GB, free: 60.39 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/1.643, allocations: 159.5 kB / 1.581 GB, free: 60.23 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001263/1.643, allocations: 91.97 kB / 1.581 GB, free: 60.14 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/1.643, allocations: 4 kB / 1.581 GB, free: 60.14 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002748/1.646, allocations: 2.39 MB / 1.583 GB, free: 57.75 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.9e-05/1.646, allocations: 27.94 kB / 1.583 GB, free: 57.72 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/1.646, allocations: 35.95 kB / 1.583 GB, free: 57.69 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002156/1.648, allocations: 0.5148 MB / 1.584 GB, free: 57.17 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.927e-05/1.648, allocations: 43.86 kB / 1.584 GB, free: 57.13 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009651/1.649, allocations: 139.9 kB / 1.584 GB, free: 56.99 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001185/1.65, allocations: 91.91 kB / 1.584 GB, free: 56.9 MB / 0.9167 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.001969/1.652, allocations: 1.221 MB / 1.585 GB, free: 55.67 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002412/1.652, allocations: 90.97 kB / 1.585 GB, free: 55.58 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002344/1.654, allocations: 1.864 MB / 1.587 GB, free: 53.67 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/1.654, allocations: 8 kB / 1.587 GB, free: 53.66 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/1.654, allocations: 0 / 1.587 GB, free: 53.66 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/1.654, allocations: 7.984 kB / 1.587 GB, free: 53.65 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009386/1.664, allocations: 9.007 MB / 1.596 GB, free: 43.67 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-05/1.664, allocations: 12 kB / 1.596 GB, free: 43.66 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001104/1.665, allocations: 252.5 kB / 1.596 GB, free: 43.41 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.839e-05/1.665, allocations: 23.98 kB / 1.596 GB, free: 43.39 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.647e-05/1.665, allocations: 39.95 kB / 1.596 GB, free: 43.35 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.639e-05/1.665, allocations: 19.94 kB / 1.596 GB, free: 43.33 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.084e-05/1.665, allocations: 19.81 kB / 1.596 GB, free: 43.31 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002108/1.667, allocations: 2.324 MB / 1.599 GB, free: 40.55 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006176/1.668, allocations: 331.8 kB / 1.599 GB, free: 40.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001274/1.668, allocations: 31.92 kB / 1.599 GB, free: 40.17 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000702/1.668, allocations: 75.86 kB / 1.599 GB, free: 40.1 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/1.669, allocations: 91.64 kB / 1.599 GB, free: 40.01 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.327e-05/1.669, allocations: 39.98 kB / 1.599 GB, free: 39.97 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0008461/1.67, allocations: 0.7176 MB / 1.6 GB, free: 39.25 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.3e-07/1.67, allocations: 0 / 1.6 GB, free: 39.25 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.003044/1.673, allocations: 0.8671 MB / 1.601 GB, free: 38.39 MB / 0.9167 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.002721/1.675, allocations: 6.11 MB / 1.607 GB, free: 31.94 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.003673/1.679, allocations: 2.978 MB / 1.609 GB, free: 28.97 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/1.679, allocations: 0 / 1.609 GB, free: 28.97 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006288/1.68, allocations: 0.5923 MB / 1.61 GB, free: 28.38 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009714/1.681, allocations: 154.2 kB / 1.61 GB, free: 28.23 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01795/1.699, allocations: 25.09 MB / 1.635 GB, free: 2.422 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002689/1.701, allocations: 2.145 MB / 1.637 GB, free: 248 kB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.00283/1.704, allocations: 1.027 MB / 1.638 GB, free: 15.21 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00128/1.706, allocations: 0.7648 MB / 1.639 GB, free: 14.45 MB / 0.9323 GB Notification: Performance of SimCode: time 1.222e-06/1.706, allocations: 0 / 1.639 GB, free: 14.45 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05711/1.763, allocations: 29.04 MB / 1.667 GB, free: 1.664 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002082/1.763, allocations: 208 kB / 1.667 GB, free: 1.422 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.591/4.354, allocations: 6.531 kB / 1.667 GB, free: 1.418 MB / 0.948 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter_res.mat does not exist to compare? outputFormat=mat