Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.conf.json 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) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 180.9 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 223.2 MB / 240.3 MB, free: 10.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008737/0.0008736, allocations: 104 kB / 291.5 MB, free: 10.69 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002811/0.0002811, allocations: 8 kB / 351.2 MB, free: 14.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.2337, allocations: 50.4 MB / 401.6 MB, free: 32.54 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09593/0.3297, allocations: 82.48 MB / 484.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002301/0.33, allocations: 79.95 kB / 484.1 MB, free: 13.87 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0254/0.3554, allocations: 10.16 MB / 494.3 MB, free: 3.602 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.3554, allocations: 4 kB / 494.3 MB, free: 3.598 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.671e-05/0.3555, allocations: 5.312 kB / 494.3 MB, free: 3.594 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.00116/0.3566, allocations: 0.69 MB / 495 MB, free: 2.855 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.505e-05/0.3567, allocations: 8.031 kB / 495 MB, free: 2.848 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.577e-05/0.3568, allocations: 74.66 kB / 495.1 MB, free: 2.766 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004481/0.3572, allocations: 83.48 kB / 495.2 MB, free: 2.684 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000374/0.3576, allocations: 307.3 kB / 495.5 MB, free: 2.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.3576, allocations: 25 kB / 495.5 MB, free: 2.316 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.145e-05/0.3577, allocations: 31.98 kB / 495.5 MB, free: 2.285 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005456/0.3583, allocations: 357.3 kB / 495.9 MB, free: 1.926 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.3583, allocations: 4 kB / 495.9 MB, free: 1.922 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.23e-05/0.3583, allocations: 12 kB / 495.9 MB, free: 1.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.3583, allocations: 8 kB / 495.9 MB, free: 1.902 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004573/0.3588, allocations: 258.1 kB / 496.1 MB, free: 1.648 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001907/0.3607, allocations: 1.339 MB / 497.5 MB, free: 216 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000349/0.3611, allocations: 197.2 kB / 497.7 MB, free: 0 / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007396/0.3618, allocations: 0.8713 MB / 498.5 MB, free: 15.03 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.3619, allocations: 34.56 kB / 498.6 MB, free: 14.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=17): time 1.232e-06/0.3619, allocations: 0 / 498.6 MB, free: 14.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005036/0.3624, allocations: 233.2 kB / 498.8 MB, free: 14.75 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.3624, allocations: 81.11 kB / 498.9 MB, free: 14.65 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002264/0.3627, allocations: 254.2 kB / 499.1 MB, free: 14.41 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.3627, allocations: 25.7 kB / 499.2 MB, free: 14.38 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.3628, allocations: 239.5 kB / 499.4 MB, free: 14.14 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.141e-05/0.3629, allocations: 67.08 kB / 499.5 MB, free: 14.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.076e-05/0.3629, allocations: 4 kB / 499.5 MB, free: 14.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.857e-05/0.363, allocations: 338.8 kB / 499.8 MB, free: 13.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.3631, allocations: 68.56 kB / 499.9 MB, free: 13.66 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002005/0.3634, allocations: 209.2 kB / 0.4883 GB, free: 13.39 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001786/0.3635, allocations: 106.4 kB / 0.4884 GB, free: 13.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/0.3636, allocations: 4 kB / 0.4884 GB, free: 13.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004844/0.364, allocations: 324.8 kB / 0.4888 GB, free: 12.96 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.3641, allocations: 8.5 kB / 0.4888 GB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.3641, allocations: 12 kB / 0.4888 GB, free: 12.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.3641, allocations: 4 kB / 0.4888 GB, free: 12.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000277/0.3644, allocations: 79.89 kB / 0.4889 GB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/0.3644, allocations: 11.94 kB / 0.4889 GB, free: 12.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/0.3646, allocations: 31.69 kB / 0.4889 GB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.168e-05/0.3646, allocations: 23.98 kB / 0.4889 GB, free: 12.8 MB / 378.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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.0001368/0.3648, allocations: 161.7 kB / 0.4891 GB, free: 12.63 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.354e-05/0.3649, allocations: 23.97 kB / 0.4891 GB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.631e-05/0.3649, allocations: 29.73 kB / 0.4891 GB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3649, allocations: 0 / 0.4891 GB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.3649, allocations: 8 kB / 0.4891 GB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.365, allocations: 0 / 0.4891 GB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006092/0.3656, allocations: 0.5146 MB / 0.4896 GB, free: 11.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.3656, allocations: 0 / 0.4896 GB, free: 11.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002134/0.3658, allocations: 51.91 kB / 0.4897 GB, free: 11.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3658, allocations: 0 / 0.4897 GB, free: 11.94 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.3658, allocations: 4 kB / 0.4897 GB, free: 11.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.3658, allocations: 4 kB / 0.4897 GB, free: 11.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.3658, allocations: 3.984 kB / 0.4897 GB, free: 11.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005029/0.3664, allocations: 465.2 kB / 0.4901 GB, free: 11.45 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.265e-05/0.3664, allocations: 100.8 kB / 0.4902 GB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.386e-05/0.3665, allocations: 4 kB / 0.4902 GB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002068/0.3667, allocations: 23.94 kB / 0.4903 GB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.068e-05/0.3667, allocations: 11.98 kB / 0.4903 GB, free: 11.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.3668, allocations: 4 kB / 0.4903 GB, free: 11.29 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001628/0.3669, allocations: 202 kB / 0.4905 GB, free: 11.09 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3669, allocations: 0 / 0.4905 GB, free: 11.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003967/0.3673, allocations: 87.67 kB / 0.4906 GB, free: 11 MB / 378.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0008268/0.3682, allocations: 1.146 MB / 0.4917 GB, free: 9.82 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000354/0.3685, allocations: 191.9 kB / 0.4919 GB, free: 9.633 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3685, allocations: 0 / 0.4919 GB, free: 9.633 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001555/0.3687, allocations: 71.91 kB / 0.4919 GB, free: 9.562 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.369, allocations: 36.75 kB / 0.492 GB, free: 9.531 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003031/0.372, allocations: 4.665 MB / 0.4965 GB, free: 4.719 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002829/0.3723, allocations: 0.7833 MB / 0.4973 GB, free: 3.91 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001311/0.3725, allocations: 30.97 kB / 0.4973 GB, free: 3.883 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/0.3726, allocations: 111.4 kB / 0.4974 GB, free: 3.773 MB / 378.7 MB Notification: Performance of SimCode: time 5.01e-07/0.3726, allocations: 0 / 0.4974 GB, free: 3.773 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1814/0.554, allocations: 5.074 MB / 0.5024 GB, free: 97.27 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000209/0.5543, allocations: 209.1 kB / 0.5026 GB, free: 97.03 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.803/2.357, allocations: 1.312 kB / 0.5026 GB, free: 97.03 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance.fmu > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat does not exist to compare? outputFormat=mat