Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TransformerYD,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TransformerYD,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00152/0.00152, allocations: 181.2 kB / 17.01 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.377/1.377, allocations: 205.4 MB / 223.1 MB, free: 9.043 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000859/0.0008589, allocations: 96.05 kB / 271.5 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002812/0.0002812, allocations: 8 kB / 328.3 MB, free: 15.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.2137, allocations: 47.58 MB / 375.9 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09702/0.3108, allocations: 81.03 MB / 456.9 MB, free: 15.61 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001885/0.311, allocations: 67.97 kB / 457 MB, free: 15.54 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04713/0.3581, allocations: 18.97 MB / 476 MB, free: 12.45 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.684e-06/0.3582, allocations: 0 / 476 MB, free: 12.45 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001054/0.3583, allocations: 28 kB / 476 MB, free: 12.42 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.003485/0.3618, allocations: 1.481 MB / 477.5 MB, free: 10.89 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.3618, allocations: 8.031 kB / 477.5 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004031/0.3623, allocations: 181.1 kB / 477.7 MB, free: 10.69 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003406/0.3626, allocations: 138.4 kB / 477.8 MB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001895/0.3645, allocations: 0.9217 MB / 478.7 MB, free: 9.59 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.71e-05/0.3646, allocations: 86.2 kB / 478.8 MB, free: 9.504 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000176/0.3648, allocations: 108 kB / 478.9 MB, free: 9.398 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002432/0.3672, allocations: 1.524 MB / 480.4 MB, free: 7.805 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.025e-05/0.3673, allocations: 4 kB / 480.4 MB, free: 7.801 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001291/0.3674, allocations: 48 kB / 480.5 MB, free: 7.754 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.686e-05/0.3675, allocations: 24 kB / 480.5 MB, free: 7.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002365/0.3698, allocations: 1.231 MB / 481.7 MB, free: 6.492 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007509/0.3774, allocations: 4.319 MB / 486.1 MB, free: 2.039 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001205/0.3786, allocations: 1.317 MB / 487.4 MB, free: 0.5469 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.686e-05/0.3786, allocations: 4.438 kB / 487.4 MB, free: 0.543 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/0.3787, allocations: 42.98 kB / 487.4 MB, free: 0.4922 MB / 362.7 MB Notification: Performance of pre-optimization done (n=51): time 2.785e-06/0.3787, allocations: 0 / 487.4 MB, free: 0.4922 MB / 362.7 MB Notification: Performance of matching and sorting (n=51): time 0.001483/0.3802, allocations: 0.8691 MB / 488.3 MB, free: 15.61 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/0.3802, allocations: 63.83 kB / 488.4 MB, free: 15.54 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009276/0.3812, allocations: 0.7414 MB / 489.1 MB, free: 14.79 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.476e-05/0.3812, allocations: 37.7 kB / 489.1 MB, free: 14.75 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004171/0.3816, allocations: 0.5376 MB / 489.7 MB, free: 14.2 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001499/0.3818, allocations: 181.3 kB / 489.9 MB, free: 14.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.747e-05/0.3818, allocations: 12 kB / 489.9 MB, free: 14.01 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001992/0.382, allocations: 382.7 kB / 490.2 MB, free: 13.62 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004488/0.3825, allocations: 308.9 kB / 490.5 MB, free: 13.32 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004946/0.383, allocations: 390.5 kB / 490.9 MB, free: 12.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005506/0.3836, allocations: 365.9 kB / 491.3 MB, free: 12.55 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.3836, allocations: 0 / 491.3 MB, free: 12.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001202/0.3848, allocations: 0.8222 MB / 492.1 MB, free: 11.72 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.3848, allocations: 4 kB / 492.1 MB, free: 11.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.896e-06/0.3848, allocations: 4 kB / 492.1 MB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/0.3849, allocations: 7.984 kB / 492.1 MB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005752/0.3854, allocations: 147.8 kB / 492.3 MB, free: 11.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.3855, allocations: 4 kB / 492.3 MB, free: 11.56 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004074/0.3859, allocations: 71.5 kB / 492.3 MB, free: 11.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.739e-05/0.3859, allocations: 20 kB / 492.4 MB, free: 11.47 MB / 378.7 MB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * 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.0006722/0.3866, allocations: 465.3 kB / 492.8 MB, free: 11 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/0.3867, allocations: 75.16 kB / 492.9 MB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001834/0.3869, allocations: 91.08 kB / 493 MB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.3869, allocations: 4 kB / 493 MB, free: 10.83 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.3869, allocations: 3.984 kB / 493 MB, free: 10.83 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.299e-06/0.3869, allocations: 0 / 493 MB, free: 10.83 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002957/0.3899, allocations: 1.922 MB / 494.9 MB, free: 8.836 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.3899, allocations: 11.89 kB / 494.9 MB, free: 8.824 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005079/0.3904, allocations: 123.9 kB / 495 MB, free: 8.703 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.3905, allocations: 0 / 495 MB, free: 8.703 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.498e-05/0.3905, allocations: 8 kB / 495 MB, free: 8.695 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.3905, allocations: 7.984 kB / 495 MB, free: 8.688 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3905, allocations: 0 / 495 MB, free: 8.688 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001494/0.392, allocations: 1.147 MB / 496.2 MB, free: 7.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002221/0.3923, allocations: 168.1 kB / 496.4 MB, free: 7.316 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.611e-05/0.3924, allocations: 15.98 kB / 496.4 MB, free: 7.301 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003797/0.3927, allocations: 55.98 kB / 496.4 MB, free: 7.246 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.695e-05/0.3928, allocations: 40.28 kB / 496.5 MB, free: 7.203 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.181e-05/0.3929, allocations: 16 kB / 496.5 MB, free: 7.188 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007231/0.3936, allocations: 0.5732 MB / 497.1 MB, free: 6.617 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3936, allocations: 0 / 497.1 MB, free: 6.617 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007304/0.3944, allocations: 286.8 kB / 497.3 MB, free: 6.336 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (transformerL.inductor[1].i,transformerL.inductor[2].i,transformerL.inductor[3].i) * 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 (51): * Single equations (assignments): 51 * 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.001975/0.3963, allocations: 1.921 MB / 499.3 MB, free: 4.367 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009865/0.3973, allocations: 0.6425 MB / 499.9 MB, free: 3.727 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.3974, allocations: 7.938 kB / 499.9 MB, free: 3.719 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004405/0.3978, allocations: 326.3 kB / 0.4885 GB, free: 3.402 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007019/0.3985, allocations: 163.1 kB / 0.4887 GB, free: 3.246 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2069/0.6054, allocations: 7.586 MB / 0.4961 GB, free: 101.6 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00109/0.6066, allocations: 1.367 MB / 0.4974 GB, free: 100.9 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007516/0.6073, allocations: 209.5 kB / 0.4976 GB, free: 100.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005222/0.6079, allocations: 383.9 kB / 0.498 GB, free: 100.8 MB / 378.7 MB Notification: Performance of SimCode: time 1.142e-06/0.6079, allocations: 0 / 0.498 GB, free: 100.8 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03452/0.6424, allocations: 17.26 MB / 0.5148 GB, free: 97.33 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001761/0.6426, allocations: 187.6 kB / 0.515 GB, free: 97.09 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.134/2.777, allocations: 4 kB / 0.515 GB, free: 97.08 MB / 378.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYD_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYD.fmu > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD_res.mat does not exist to compare? outputFormat=mat