Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001592/0.001598, allocations: 185.4 kB / 16.4 MB, free: 5.75 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.917/1.917, allocations: 205.4 MB / 222.5 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.001122/0.001122, allocations: 88.42 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003839/0.000384, allocations: 15.98 kB / 327.1 MB, free: 100 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3243, allocations: 47.56 MB / 374.6 MB, free: 45.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1294/0.4538, allocations: 81.17 MB / 455.8 MB, free: 15.47 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000312/0.4541, allocations: 79.94 kB / 455.9 MB, free: 15.39 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04229/0.4964, allocations: 9.991 MB / 465.9 MB, free: 5.293 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.634e-06/0.4965, allocations: 0 / 465.9 MB, free: 5.293 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.506e-05/0.4965, allocations: 12 kB / 465.9 MB, free: 5.281 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.001863/0.4984, allocations: 0.6757 MB / 466.6 MB, free: 4.559 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/0.4985, allocations: 11.97 kB / 466.6 MB, free: 4.547 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001427/0.4986, allocations: 74.53 kB / 466.6 MB, free: 4.465 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007845/0.4994, allocations: 87.47 kB / 466.7 MB, free: 4.379 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006457/0.5001, allocations: 303.4 kB / 467 MB, free: 4.039 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.342e-05/0.5001, allocations: 25 kB / 467.1 MB, free: 4.016 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.278e-05/0.5002, allocations: 32 kB / 467.1 MB, free: 3.984 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009958/0.5013, allocations: 349.3 kB / 467.4 MB, free: 3.633 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.5013, allocations: 4 kB / 467.4 MB, free: 3.629 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.884e-05/0.5014, allocations: 16 kB / 467.4 MB, free: 3.613 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.336e-05/0.5014, allocations: 11.94 kB / 467.5 MB, free: 3.602 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000842/0.5022, allocations: 250.1 kB / 467.7 MB, free: 3.355 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003418/0.5057, allocations: 1.344 MB / 469 MB, free: 1.918 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006363/0.5064, allocations: 205.2 kB / 469.2 MB, free: 1.699 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001282/0.5077, allocations: 0.8635 MB / 470.1 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.157e-05/0.5077, allocations: 38.5 kB / 470.1 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 4.839e-06/0.5077, allocations: 112 / 470.1 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009048/0.5087, allocations: 225.3 kB / 470.4 MB, free: 472 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.959e-05/0.5087, allocations: 81.05 kB / 470.4 MB, free: 372 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004388/0.5092, allocations: 262.1 kB / 470.7 MB, free: 104 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.365e-05/0.5092, allocations: 33.7 kB / 470.7 MB, free: 64 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002384/0.5095, allocations: 289.9 kB / 471 MB, free: 15.78 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.806e-05/0.5096, allocations: 71.08 kB / 471.1 MB, free: 15.71 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.138e-05/0.5096, allocations: 7.938 kB / 471.1 MB, free: 15.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.5098, allocations: 322.8 kB / 471.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002892/0.5101, allocations: 68.62 kB / 471.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003754/0.5105, allocations: 202.4 kB / 471.7 MB, free: 15.05 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003489/0.5108, allocations: 100.9 kB / 471.8 MB, free: 14.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/0.5109, allocations: 4 kB / 471.8 MB, free: 14.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000928/0.5118, allocations: 305.5 kB / 472.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/0.5118, allocations: 15.97 kB / 472.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.5119, allocations: 4 kB / 472.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.65e-05/0.5119, allocations: 8.25 kB / 472.1 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005506/0.5125, allocations: 83.83 kB / 472.2 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.951e-05/0.5125, allocations: 11.95 kB / 472.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003732/0.5129, allocations: 35.69 kB / 472.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.583e-05/0.5129, allocations: 16 kB / 472.2 MB, free: 14.47 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.0002737/0.5132, allocations: 165.6 kB / 472.4 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.309e-05/0.5133, allocations: 27.72 kB / 472.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.117e-05/0.5134, allocations: 25.73 kB / 472.5 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.495e-06/0.5134, allocations: 4 kB / 472.5 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.5134, allocations: 0 / 472.5 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.5135, allocations: 3.953 kB / 472.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001105/0.5146, allocations: 0.5147 MB / 473 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.5146, allocations: 0 / 473 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004341/0.515, allocations: 43.97 kB / 473 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/0.5151, allocations: 0 / 473 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.72e-05/0.5151, allocations: 8 kB / 473 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.833e-06/0.5151, allocations: 3.953 kB / 473 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.5151, allocations: 3.984 kB / 473 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009655/0.5161, allocations: 469.9 kB / 473.5 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001227/0.5162, allocations: 92.83 kB / 473.6 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.04e-05/0.5163, allocations: 8 kB / 473.6 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003535/0.5167, allocations: 19.98 kB / 473.6 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.439e-05/0.5168, allocations: 7.984 kB / 473.6 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-05/0.5168, allocations: 4 kB / 473.6 MB, free: 12.96 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003222/0.5171, allocations: 202 kB / 473.8 MB, free: 12.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5171, allocations: 0 / 473.8 MB, free: 12.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006394/0.5178, allocations: 91.67 kB / 473.9 MB, free: 12.68 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.001475/0.5193, allocations: 1.146 MB / 475.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007008/0.52, allocations: 198.8 kB / 475.3 MB, free: 11.31 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.52, allocations: 0 / 475.3 MB, free: 11.31 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002614/0.5203, allocations: 79.97 kB / 475.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004531/0.5208, allocations: 29.81 kB / 475.4 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00555/0.5263, allocations: 4.704 MB / 480.1 MB, free: 6.348 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005353/0.5269, allocations: 0.7835 MB / 480.8 MB, free: 5.539 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002953/0.5272, allocations: 111.4 kB / 481 MB, free: 5.43 MB / 362.7 MB Notification: Performance of SimCode: time 1.263e-06/0.5272, allocations: 0 / 481 MB, free: 5.43 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.368/2.895, allocations: 4.871 MB / 485.8 MB, free: 0.5625 MB / 362.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance.fmu > Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat does not exist to compare? outputFormat=mat