Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",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.001053/0.001053, allocations: 174.9 kB / 14.1 MB, free: 1.211 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.341/1.341, allocations: 205.2 MB / 219.8 MB, free: 14.28 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.0009745/0.0009743, allocations: 90.64 kB / 268 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.607e-05/2.612e-05, allocations: 0 / 322.6 MB, free: 17.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07341/0.07346, allocations: 47.57 MB / 370.1 MB, free: 1.617 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2684/0.3419, allocations: 81.06 MB / 451.2 MB, free: 12.25 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002303/0.3422, allocations: 79.8 kB / 451.3 MB, free: 12.21 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02353/0.3658, allocations: 9.971 MB / 461.2 MB, free: 3.598 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3658, allocations: 0 / 461.2 MB, free: 3.598 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.373e-05/0.3658, allocations: 4 kB / 461.2 MB, free: 3.594 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001002/0.3668, allocations: 0.6396 MB / 461.9 MB, free: 2.91 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.3669, allocations: 8.031 kB / 461.9 MB, free: 2.902 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.892e-05/0.3669, allocations: 70.53 kB / 462 MB, free: 2.824 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004264/0.3674, allocations: 87.47 kB / 462 MB, free: 2.738 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003893/0.3678, allocations: 311 kB / 462.3 MB, free: 2.391 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.3678, allocations: 24.78 kB / 462.4 MB, free: 2.367 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.194e-05/0.3679, allocations: 36 kB / 462.4 MB, free: 2.332 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004971/0.3684, allocations: 326.5 kB / 462.7 MB, free: 2 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.3684, allocations: 4 kB / 462.7 MB, free: 1.996 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.078e-05/0.3684, allocations: 12 kB / 462.7 MB, free: 1.984 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.3684, allocations: 8 kB / 462.7 MB, free: 1.977 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003613/0.3688, allocations: 218.2 kB / 463 MB, free: 1.762 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001855/0.3707, allocations: 1.384 MB / 464.3 MB, free: 284 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002709/0.371, allocations: 170.4 kB / 464.5 MB, free: 96 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.3711, allocations: 69.72 kB / 464.6 MB, free: 20 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007306/0.3718, allocations: 0.8753 MB / 465.5 MB, free: 15.04 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.3718, allocations: 42.55 kB / 465.5 MB, free: 14.99 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.243e-06/0.3718, allocations: 0 / 465.5 MB, free: 14.99 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002637/0.3721, allocations: 141.2 kB / 465.6 MB, free: 14.85 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/0.3722, allocations: 85.05 kB / 465.7 MB, free: 14.75 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002363/0.3724, allocations: 251.3 kB / 466 MB, free: 14.49 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.3724, allocations: 25.7 kB / 466 MB, free: 14.46 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.3726, allocations: 247.1 kB / 466.2 MB, free: 14.21 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.26e-05/0.3726, allocations: 47.36 kB / 466.3 MB, free: 14.16 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.037e-05/0.3726, allocations: 8.438 kB / 466.3 MB, free: 14.16 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.3728, allocations: 334.8 kB / 466.6 MB, free: 13.82 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.46e-05/0.3729, allocations: 48 kB / 466.7 MB, free: 13.77 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001634/0.373, allocations: 185.1 kB / 466.8 MB, free: 13.53 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.3732, allocations: 87.83 kB / 466.9 MB, free: 13.45 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3732, allocations: 0 / 466.9 MB, free: 13.45 MB / 346.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003762/0.3736, allocations: 269.4 kB / 467.2 MB, free: 13.18 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.3736, allocations: 11.98 kB / 467.2 MB, free: 13.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.926e-06/0.3736, allocations: 7.953 kB / 467.2 MB, free: 13.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.3736, allocations: 8 kB / 467.2 MB, free: 13.15 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002639/0.3739, allocations: 71.84 kB / 467.3 MB, free: 13.08 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.3739, allocations: 8 kB / 467.3 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001755/0.3741, allocations: 35.67 kB / 467.3 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.996e-05/0.3741, allocations: 20.06 kB / 467.3 MB, free: 13.02 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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 7.868e-05/0.3742, allocations: 124.9 kB / 467.5 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.957e-05/0.3743, allocations: 27.66 kB / 467.5 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.018e-05/0.3743, allocations: 25.86 kB / 467.5 MB, free: 12.83 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.3743, allocations: 8.016 kB / 467.5 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.3744, allocations: 4 kB / 467.5 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3744, allocations: 0 / 467.5 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005843/0.375, allocations: 0.4952 MB / 468 MB, free: 12.26 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.375, allocations: 0 / 468 MB, free: 12.26 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001912/0.3752, allocations: 39.97 kB / 468.1 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.3752, allocations: 4.047 kB / 468.1 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.3752, allocations: 7.938 kB / 468.1 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3752, allocations: 0 / 468.1 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3752, allocations: 0 / 468.1 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003654/0.3756, allocations: 390.9 kB / 468.5 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.743e-05/0.3757, allocations: 96.86 kB / 468.6 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.151e-05/0.3757, allocations: 8 kB / 468.6 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001945/0.3759, allocations: 16.05 kB / 468.6 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.77e-05/0.3759, allocations: 15.98 kB / 468.6 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.376, allocations: 0 / 468.6 MB, free: 11.64 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001629/0.3761, allocations: 195.1 kB / 468.8 MB, free: 11.46 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3761, allocations: 0 / 468.8 MB, free: 11.46 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003549/0.3765, allocations: 83.67 kB / 468.9 MB, free: 11.38 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inductor_e.i,converter_m.Phi.re) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.0006927/0.3772, allocations: 1.085 MB / 470 MB, free: 10.25 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002448/0.3775, allocations: 148 kB / 470.1 MB, free: 10.11 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3775, allocations: 1.125 kB / 470.1 MB, free: 10.11 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.536e-05/0.3775, allocations: 52 kB / 470.1 MB, free: 10.06 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002454/0.3778, allocations: 33.75 kB / 470.2 MB, free: 10.02 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009642/0.3788, allocations: 0.5115 MB / 470.7 MB, free: 9.469 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003009/0.3791, allocations: 0.7794 MB / 471.5 MB, free: 8.66 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001209/0.3792, allocations: 34.05 kB / 471.5 MB, free: 8.629 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/0.3793, allocations: 103.4 kB / 471.6 MB, free: 8.531 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3794, allocations: 0 / 471.6 MB, free: 8.531 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01484/0.3942, allocations: 5.017 MB / 476.6 MB, free: 3.52 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001436/0.3944, allocations: 187.1 kB / 476.8 MB, free: 3.289 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.699/2.094, allocations: 0 / 476.8 MB, free: 3.289 MB / 346.7 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance.fmu > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat does not exist to compare? outputFormat=mat