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.002232/0.002232, allocations: 178.1 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.405/2.405, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00113/0.001129, allocations: 90.83 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 1.95e-05/1.95e-05, allocations: 0 / 314.9 MB, free: 9.055 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3324, allocations: 47.57 MB / 362.4 MB, free: 45.73 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1319/0.4643, allocations: 80.42 MB / 442.9 MB, free: 5.781 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002869/0.4646, allocations: 75.95 kB / 442.9 MB, free: 5.707 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.04286/0.5075, allocations: 9.856 MB / 452.8 MB, free: 11.82 MB / 347.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.5076, allocations: 0 / 452.8 MB, free: 11.82 MB / 347.1 MB Notification: Performance of Transformations before backend: time 2.537e-05/0.5076, allocations: 12 kB / 452.8 MB, free: 11.8 MB / 347.1 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.001683/0.5093, allocations: 0.6317 MB / 453.4 MB, free: 11.13 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.5094, allocations: 8.031 kB / 453.4 MB, free: 11.12 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007073/0.5101, allocations: 83.48 kB / 453.5 MB, free: 11.04 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006454/0.5108, allocations: 302.2 kB / 453.8 MB, free: 10.71 MB / 347.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/0.5108, allocations: 12 kB / 453.8 MB, free: 10.7 MB / 347.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.217e-05/0.5109, allocations: 20 kB / 453.8 MB, free: 10.68 MB / 347.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000641/0.5115, allocations: 209.5 kB / 454.1 MB, free: 10.47 MB / 347.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007244/0.5123, allocations: 285 kB / 454.3 MB, free: 10.18 MB / 347.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.5123, allocations: 0 / 454.3 MB, free: 10.18 MB / 347.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.258e-05/0.5124, allocations: 2.438 kB / 454.3 MB, free: 10.18 MB / 347.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.754e-05/0.5124, allocations: 8 kB / 454.3 MB, free: 10.17 MB / 347.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003171/0.5156, allocations: 1.31 MB / 455.7 MB, free: 8.77 MB / 347.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004186/0.516, allocations: 161.2 kB / 455.8 MB, free: 8.594 MB / 347.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001692/0.5162, allocations: 69.72 kB / 455.9 MB, free: 8.52 MB / 347.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001173/0.5174, allocations: 0.8714 MB / 456.7 MB, free: 7.547 MB / 347.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.644e-05/0.5175, allocations: 34.56 kB / 456.8 MB, free: 7.504 MB / 347.1 MB Notification: Performance of pre-optimization done (n=13): time 2.585e-06/0.5175, allocations: 0 / 456.8 MB, free: 7.504 MB / 347.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004092/0.5179, allocations: 121.3 kB / 456.9 MB, free: 7.379 MB / 347.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/0.518, allocations: 85.06 kB / 457 MB, free: 7.277 MB / 347.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003708/0.5184, allocations: 234.2 kB / 457.2 MB, free: 7.043 MB / 347.1 MB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.5184, allocations: 29.7 kB / 457.2 MB, free: 7.008 MB / 347.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002453/0.5187, allocations: 298 kB / 457.5 MB, free: 6.715 MB / 347.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.786e-05/0.5187, allocations: 47.36 kB / 457.6 MB, free: 6.668 MB / 347.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.407e-05/0.5188, allocations: 0 / 457.6 MB, free: 6.668 MB / 347.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.5189, allocations: 322.8 kB / 457.9 MB, free: 6.344 MB / 347.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.5191, allocations: 44 kB / 457.9 MB, free: 6.301 MB / 347.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002509/0.5193, allocations: 184.9 kB / 458.1 MB, free: 6.059 MB / 347.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002027/0.5195, allocations: 74.89 kB / 458.2 MB, free: 5.992 MB / 347.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.315e-06/0.5196, allocations: 0 / 458.2 MB, free: 5.992 MB / 347.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005841/0.5202, allocations: 225.3 kB / 458.4 MB, free: 5.766 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/0.5202, allocations: 4 kB / 458.4 MB, free: 5.762 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/0.5202, allocations: 8 kB / 458.4 MB, free: 5.754 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.482e-05/0.5203, allocations: 4 kB / 458.4 MB, free: 5.75 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005192/0.5208, allocations: 79.84 kB / 458.5 MB, free: 5.672 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.06e-05/0.5208, allocations: 8.359 kB / 458.5 MB, free: 5.664 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003489/0.5212, allocations: 39.67 kB / 458.6 MB, free: 5.625 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.266e-05/0.5212, allocations: 12 kB / 458.6 MB, free: 5.613 MB / 347.1 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 0.0001305/0.5214, allocations: 116.8 kB / 458.7 MB, free: 5.492 MB / 347.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003353/0.5217, allocations: 121.4 kB / 458.8 MB, free: 5.367 MB / 347.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.218e-05/0.5218, allocations: 23.72 kB / 458.8 MB, free: 5.344 MB / 347.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.979e-05/0.5219, allocations: 25.81 kB / 458.8 MB, free: 5.312 MB / 347.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.388e-06/0.5219, allocations: 4 kB / 458.8 MB, free: 5.309 MB / 347.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.522, allocations: 4 kB / 458.9 MB, free: 5.305 MB / 347.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.522, allocations: 0 / 458.9 MB, free: 5.305 MB / 347.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009367/0.5229, allocations: 443.7 kB / 459.3 MB, free: 4.824 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.5229, allocations: 3.984 kB / 459.3 MB, free: 4.82 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003649/0.5233, allocations: 39.92 kB / 459.3 MB, free: 4.781 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.488e-06/0.5233, allocations: 3.953 kB / 459.3 MB, free: 4.777 MB / 347.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/0.5234, allocations: 192 / 459.3 MB, free: 4.777 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.213e-06/0.5234, allocations: 12.03 kB / 459.3 MB, free: 4.766 MB / 347.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.5234, allocations: 0 / 459.3 MB, free: 4.766 MB / 347.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005576/0.524, allocations: 371.7 kB / 459.7 MB, free: 4.371 MB / 347.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.5241, allocations: 100.9 kB / 459.8 MB, free: 4.254 MB / 347.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.934e-05/0.5242, allocations: 6.594 kB / 459.8 MB, free: 4.25 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003328/0.5245, allocations: 15.98 kB / 459.8 MB, free: 4.234 MB / 347.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.927e-05/0.5246, allocations: 11.92 kB / 459.8 MB, free: 4.223 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/0.5246, allocations: 4 kB / 459.8 MB, free: 4.219 MB / 347.1 MB Notification: Performance of sorting global known variables: time 0.0002748/0.5249, allocations: 182 kB / 460 MB, free: 4.047 MB / 347.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5249, allocations: 0 / 460 MB, free: 4.047 MB / 347.1 MB Notification: Performance of remove unused functions: time 0.000642/0.5256, allocations: 79.81 kB / 460.1 MB, free: 3.969 MB / 347.1 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.001099/0.5267, allocations: 1.06 MB / 461.2 MB, free: 2.871 MB / 347.1 MB Notification: Performance of simCode: created initialization part: time 0.0004275/0.5271, allocations: 132.7 kB / 461.3 MB, free: 2.742 MB / 347.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.5271, allocations: 8.125 kB / 461.3 MB, free: 2.734 MB / 347.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000127/0.5273, allocations: 43.94 kB / 461.3 MB, free: 2.691 MB / 347.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004241/0.5277, allocations: 20.88 kB / 461.4 MB, free: 2.668 MB / 347.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001776/0.5295, allocations: 0.5271 MB / 461.9 MB, free: 2.09 MB / 347.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004819/0.53, allocations: 0.7833 MB / 462.7 MB, free: 1.277 MB / 347.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002326/0.5303, allocations: 103.4 kB / 462.8 MB, free: 1.18 MB / 347.1 MB Notification: Performance of SimCode: time 1.362e-06/0.5303, allocations: 0 / 462.8 MB, free: 1.18 MB / 347.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.584/3.115, allocations: 4.649 MB / 467.4 MB, free: 12.56 MB / 363.1 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