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.001011/0.001011, allocations: 181.3 kB / 17.01 MB, free: 5.125 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.196/1.196, allocations: 205.4 MB / 223.1 MB, free: 9.125 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.0008065/0.0008065, allocations: 92.11 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002085/0.0002084, allocations: 8 kB / 328.3 MB, free: 15.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.1865, allocations: 47.56 MB / 375.9 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09743/0.284, allocations: 81.17 MB / 457.1 MB, free: 15.48 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002059/0.2842, allocations: 83.95 kB / 457.2 MB, free: 15.4 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02473/0.3089, allocations: 9.989 MB / 467.1 MB, free: 5.305 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.309, allocations: 0 / 467.1 MB, free: 5.305 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.249e-05/0.309, allocations: 4 kB / 467.2 MB, free: 5.301 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.001244/0.3103, allocations: 0.6796 MB / 467.8 MB, free: 4.574 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.3103, allocations: 15.97 kB / 467.8 MB, free: 4.559 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.402e-05/0.3104, allocations: 66.53 kB / 467.9 MB, free: 4.484 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004591/0.3109, allocations: 83.48 kB / 468 MB, free: 4.402 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004118/0.3113, allocations: 311.4 kB / 468.3 MB, free: 4.055 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.3113, allocations: 25 kB / 468.3 MB, free: 4.031 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.178e-05/0.3114, allocations: 39.98 kB / 468.4 MB, free: 3.992 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005788/0.312, allocations: 349.3 kB / 468.7 MB, free: 3.641 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.312, allocations: 0 / 468.7 MB, free: 3.641 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.574e-05/0.3121, allocations: 16 kB / 468.7 MB, free: 3.625 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/0.3121, allocations: 8 kB / 468.7 MB, free: 3.617 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000464/0.3125, allocations: 258.1 kB / 469 MB, free: 3.363 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001993/0.3145, allocations: 1.332 MB / 470.3 MB, free: 1.938 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003698/0.3149, allocations: 201.2 kB / 470.5 MB, free: 1.723 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008384/0.3158, allocations: 0.8674 MB / 471.4 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.3158, allocations: 46.48 kB / 471.4 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 2.605e-06/0.3158, allocations: 4.047 kB / 471.4 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005506/0.3164, allocations: 223.8 kB / 471.6 MB, free: 484 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.3165, allocations: 89.05 kB / 471.7 MB, free: 376 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002451/0.3167, allocations: 254.1 kB / 472 MB, free: 116 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.3167, allocations: 33.7 kB / 472 MB, free: 76 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001454/0.3169, allocations: 231.4 kB / 472.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.357e-05/0.317, allocations: 71.08 kB / 472.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.088e-05/0.317, allocations: 4 kB / 472.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.3171, allocations: 338.8 kB / 472.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.3172, allocations: 72.62 kB / 472.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002161/0.3175, allocations: 198.4 kB / 472.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001793/0.3177, allocations: 100.9 kB / 473 MB, free: 15 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.3177, allocations: 4 kB / 473 MB, free: 15 MB / 362.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004902/0.3182, allocations: 321.1 kB / 473.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.3182, allocations: 11.94 kB / 473.3 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.3182, allocations: 4 kB / 473.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.3182, allocations: 8 kB / 473.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002743/0.3185, allocations: 79.84 kB / 473.4 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.46e-05/0.3185, allocations: 15.94 kB / 473.4 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001877/0.3187, allocations: 39.91 kB / 473.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.167e-05/0.3188, allocations: 16 kB / 473.5 MB, free: 14.51 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 () * 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.0001411/0.3189, allocations: 153.7 kB / 473.6 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.447e-05/0.319, allocations: 27.7 kB / 473.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.434e-05/0.319, allocations: 25.75 kB / 473.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.319, allocations: 4 kB / 473.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.3191, allocations: 3.984 kB / 473.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.3191, allocations: 3.953 kB / 473.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006314/0.3197, allocations: 0.5186 MB / 474.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.3197, allocations: 0 / 474.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002272/0.32, allocations: 43.97 kB / 474.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.32, allocations: 0 / 474.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.32, allocations: 8.031 kB / 474.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.32, allocations: 3.953 kB / 474.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.32, allocations: 0 / 474.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005133/0.3205, allocations: 456.2 kB / 474.7 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.875e-05/0.3206, allocations: 108.8 kB / 474.8 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.323e-05/0.3207, allocations: 4.312 kB / 474.8 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002149/0.3209, allocations: 24.05 kB / 474.9 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.569e-05/0.3209, allocations: 7.984 kB / 474.9 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.321, allocations: 12 kB / 474.9 MB, free: 13 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001743/0.3211, allocations: 194 kB / 475.1 MB, free: 12.81 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3211, allocations: 3.938 kB / 475.1 MB, free: 12.81 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003881/0.3215, allocations: 91.69 kB / 475.2 MB, free: 12.72 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 () * 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.0008895/0.3224, allocations: 1.152 MB / 476.3 MB, free: 11.53 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003527/0.3228, allocations: 193.9 kB / 476.5 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3228, allocations: 1.125 kB / 476.5 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001325/0.3229, allocations: 75.97 kB / 476.6 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.3232, allocations: 28.88 kB / 476.6 MB, free: 11.24 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003514/0.3268, allocations: 4.664 MB / 481.3 MB, free: 6.434 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/0.3271, allocations: 0.7874 MB / 482.1 MB, free: 5.621 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000133/0.3272, allocations: 30.97 kB / 482.1 MB, free: 5.594 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.3274, allocations: 107.4 kB / 482.2 MB, free: 5.488 MB / 362.7 MB Notification: Performance of SimCode: time 7.12e-07/0.3274, allocations: 0 / 482.2 MB, free: 5.488 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01663/0.344, allocations: 5.075 MB / 487.3 MB, free: 452 kB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002141/0.3443, allocations: 217.1 kB / 487.5 MB, free: 196 kB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.843/2.187, allocations: 0 / 487.5 MB, free: 196 kB / 362.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