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.001615/0.001615, allocations: 174.9 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.555/1.555, allocations: 221.5 MB / 230.3 MB, free: 7.551 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009307/0.0009306, allocations: 94.03 kB / 281.2 MB, free: 5.316 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.654e-05/1.655e-05, allocations: 3.984 kB / 337.1 MB, free: 9.926 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1213, allocations: 50.42 MB / 387.6 MB, free: 7.473 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3606/0.482, allocations: 81.74 MB / 469.3 MB, free: 12.97 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002276/0.4823, allocations: 75.95 kB / 469.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0284/0.5107, allocations: 10.03 MB / 479.4 MB, free: 2.766 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5108, allocations: 4 kB / 479.4 MB, free: 2.762 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.612e-05/0.5108, allocations: 4.188 kB / 479.4 MB, free: 2.758 MB / 346.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.001265/0.5121, allocations: 0.6433 MB / 480 MB, free: 2.07 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.5121, allocations: 8.031 kB / 480.1 MB, free: 2.062 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005342/0.5127, allocations: 87.48 kB / 480.1 MB, free: 1.977 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004511/0.5132, allocations: 307 kB / 480.4 MB, free: 1.637 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.5132, allocations: 13.53 kB / 480.5 MB, free: 1.625 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.39e-05/0.5132, allocations: 16 kB / 480.5 MB, free: 1.609 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004536/0.5137, allocations: 201.5 kB / 480.7 MB, free: 1.41 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004788/0.5142, allocations: 292.9 kB / 481 MB, free: 1.113 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.5142, allocations: 0 / 481 MB, free: 1.113 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.361e-05/0.5142, allocations: 7.984 kB / 481 MB, free: 1.105 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.5143, allocations: 8 kB / 481 MB, free: 1.098 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002164/0.5164, allocations: 1.306 MB / 482.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002847/0.5167, allocations: 153.2 kB / 482.4 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/0.5169, allocations: 65.7 kB / 482.5 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008808/0.5178, allocations: 0.8672 MB / 483.4 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.5178, allocations: 34.56 kB / 483.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.894e-06/0.5178, allocations: 3.938 kB / 483.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003097/0.5181, allocations: 121.4 kB / 483.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/0.5182, allocations: 81.05 kB / 483.6 MB, free: 14.22 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000312/0.5185, allocations: 242.2 kB / 483.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.5185, allocations: 25.7 kB / 483.9 MB, free: 13.95 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/0.5187, allocations: 247.5 kB / 484.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.67e-05/0.5188, allocations: 43.36 kB / 484.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.001e-05/0.5188, allocations: 0 / 484.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.5189, allocations: 338.8 kB / 484.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.998e-05/0.519, allocations: 40 kB / 484.5 MB, free: 13.28 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001803/0.5192, allocations: 173.2 kB / 484.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.5193, allocations: 75.91 kB / 484.8 MB, free: 12.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.5194, allocations: 4 kB / 484.8 MB, free: 12.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004105/0.5198, allocations: 237.4 kB / 485 MB, free: 12.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.5198, allocations: 4 kB / 485 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.5198, allocations: 4 kB / 485 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.5198, allocations: 8 kB / 485 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003014/0.5202, allocations: 83.83 kB / 485.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.5202, allocations: 4 kB / 485.1 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001975/0.5204, allocations: 35.83 kB / 485.1 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.495e-05/0.5204, allocations: 20 kB / 485.1 MB, free: 12.58 MB / 362.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 9.959e-05/0.5205, allocations: 112.8 kB / 485.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003059/0.5208, allocations: 121.3 kB / 485.4 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.038e-05/0.5209, allocations: 23.72 kB / 485.4 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.97e-05/0.521, allocations: 29.86 kB / 485.4 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.521, allocations: 7.984 kB / 485.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.521, allocations: 128 / 485.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.521, allocations: 4 kB / 485.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006404/0.5216, allocations: 443.7 kB / 485.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.5217, allocations: 4 kB / 485.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002019/0.5219, allocations: 39.97 kB / 485.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/0.5219, allocations: 4 kB / 485.9 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.5219, allocations: 0 / 485.9 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.522, allocations: 7.938 kB / 485.9 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.522, allocations: 0 / 485.9 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003972/0.5224, allocations: 380.2 kB / 486.3 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.584e-05/0.5225, allocations: 104.8 kB / 486.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.679e-05/0.5225, allocations: 3.953 kB / 486.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002403/0.5228, allocations: 20.05 kB / 486.4 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.783e-05/0.5228, allocations: 7.984 kB / 486.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.5228, allocations: 8 kB / 486.4 MB, free: 11.17 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000181/0.523, allocations: 174 kB / 486.6 MB, free: 11 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.713e-06/0.523, allocations: 0 / 486.6 MB, free: 11 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004425/0.5235, allocations: 79.62 kB / 486.7 MB, free: 10.93 MB / 362.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.0008612/0.5243, allocations: 1.067 MB / 487.8 MB, free: 9.824 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002743/0.5246, allocations: 125 kB / 487.9 MB, free: 9.703 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.5246, allocations: 0 / 487.9 MB, free: 9.703 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.445e-05/0.5247, allocations: 56.11 kB / 487.9 MB, free: 9.648 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003636/0.5251, allocations: 17.2 kB / 487.9 MB, free: 9.629 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/0.5264, allocations: 0.5092 MB / 488.5 MB, free: 9.074 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003668/0.5268, allocations: 0.7794 MB / 489.2 MB, free: 8.266 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001451/0.5269, allocations: 34.05 kB / 489.3 MB, free: 8.234 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001851/0.5271, allocations: 99.39 kB / 489.4 MB, free: 8.137 MB / 362.7 MB Notification: Performance of SimCode: time 3.9e-07/0.5271, allocations: 0 / 489.4 MB, free: 8.137 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02593/0.5531, allocations: 4.139 MB / 493.5 MB, free: 4.016 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002016/0.5533, allocations: 176.4 kB / 493.7 MB, free: 3.82 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.969/2.523, allocations: 0 / 493.7 MB, free: 3.82 MB / 362.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