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.001091/0.001091, allocations: 177 kB / 8.7 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.598/1.598, allocations: 205.3 MB / 214.4 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000845/0.0008452, allocations: 78.72 kB / 262.4 MB, free: 1.691 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.195e-05/2.198e-05, allocations: 0 / 315.6 MB, free: 22.64 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1088, allocations: 47.59 MB / 363.2 MB, free: 6.984 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3896/0.4984, allocations: 80.67 MB / 443.8 MB, free: 14.8 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002769/0.4988, allocations: 76.83 kB / 443.9 MB, free: 14.76 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02539/0.5242, allocations: 9.852 MB / 453.8 MB, free: 6.828 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.5243, allocations: 0 / 453.8 MB, free: 6.828 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.979e-05/0.5243, allocations: 8 kB / 453.8 MB, free: 6.82 MB / 330.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.001223/0.5255, allocations: 0.6355 MB / 454.4 MB, free: 6.172 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.5256, allocations: 8.031 kB / 454.4 MB, free: 6.164 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004756/0.5261, allocations: 88.23 kB / 454.5 MB, free: 6.086 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000512/0.5266, allocations: 307 kB / 454.8 MB, free: 5.777 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.5266, allocations: 12 kB / 454.8 MB, free: 5.766 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.455e-05/0.5267, allocations: 20 kB / 454.8 MB, free: 5.746 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003926/0.5271, allocations: 205 kB / 455 MB, free: 5.621 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004737/0.5276, allocations: 282.1 kB / 455.3 MB, free: 5.41 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.5276, allocations: 0 / 455.3 MB, free: 5.41 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.879e-05/0.5276, allocations: 0 / 455.3 MB, free: 5.41 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.5276, allocations: 12 kB / 455.3 MB, free: 5.398 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002049/0.5297, allocations: 1.305 MB / 456.6 MB, free: 4.23 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002829/0.53, allocations: 158.3 kB / 456.8 MB, free: 4.094 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.905e-05/0.5301, allocations: 70.41 kB / 456.8 MB, free: 4.043 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009124/0.531, allocations: 0.8709 MB / 457.7 MB, free: 3.109 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.818e-05/0.5311, allocations: 30.56 kB / 457.7 MB, free: 3.07 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.864e-06/0.5311, allocations: 0 / 457.7 MB, free: 3.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003034/0.5314, allocations: 122.9 kB / 457.9 MB, free: 2.965 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.5315, allocations: 81.06 kB / 457.9 MB, free: 2.867 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002535/0.5317, allocations: 235.7 kB / 458.2 MB, free: 2.676 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.5317, allocations: 29.7 kB / 458.2 MB, free: 2.641 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/0.5319, allocations: 246.7 kB / 458.4 MB, free: 2.434 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.593e-05/0.532, allocations: 50.36 kB / 458.5 MB, free: 2.391 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.079e-05/0.532, allocations: 0 / 458.5 MB, free: 2.391 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.5321, allocations: 332.9 kB / 458.8 MB, free: 2.066 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.738e-05/0.5322, allocations: 45 kB / 458.9 MB, free: 2.039 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001672/0.5324, allocations: 174.3 kB / 459 MB, free: 1.832 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.5325, allocations: 72.48 kB / 459.1 MB, free: 1.785 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.5325, allocations: 7.938 kB / 459.1 MB, free: 1.777 MB / 330.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003423/0.5329, allocations: 236 kB / 459.3 MB, free: 1.574 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.5329, allocations: 8.562 kB / 459.4 MB, free: 1.566 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.5329, allocations: 8 kB / 459.4 MB, free: 1.559 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.5329, allocations: 8 kB / 459.4 MB, free: 1.551 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002623/0.5332, allocations: 71.16 kB / 459.4 MB, free: 1.484 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/0.5332, allocations: 11.95 kB / 459.4 MB, free: 1.473 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001776/0.5334, allocations: 31.67 kB / 459.5 MB, free: 1.441 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.266e-05/0.5334, allocations: 19.81 kB / 459.5 MB, free: 1.426 MB / 330.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.944e-05/0.5335, allocations: 120.8 kB / 459.6 MB, free: 1.301 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001991/0.5337, allocations: 118.6 kB / 459.7 MB, free: 1.199 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.606e-05/0.5338, allocations: 27.66 kB / 459.8 MB, free: 1.172 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.7e-05/0.5339, allocations: 36.61 kB / 459.8 MB, free: 1.141 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.5339, allocations: 0 / 459.8 MB, free: 1.141 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.5339, allocations: 0 / 459.8 MB, free: 1.141 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.5339, allocations: 0 / 459.8 MB, free: 1.141 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005249/0.5344, allocations: 435.8 kB / 460.2 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.5345, allocations: 4.031 kB / 460.2 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001933/0.5347, allocations: 47.59 kB / 460.3 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.5347, allocations: 3.953 kB / 460.3 MB, free: 0.6797 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.5347, allocations: 4 kB / 460.3 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.5347, allocations: 0 / 460.3 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.5347, allocations: 0 / 460.3 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003703/0.5351, allocations: 378 kB / 460.6 MB, free: 328 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.916e-05/0.5352, allocations: 99.58 kB / 460.7 MB, free: 212 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.561e-05/0.5352, allocations: 7.938 kB / 460.8 MB, free: 204 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001868/0.5354, allocations: 11.98 kB / 460.8 MB, free: 192 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.927e-05/0.5355, allocations: 12.05 kB / 460.8 MB, free: 180 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.5355, allocations: 6.188 kB / 460.8 MB, free: 176 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001503/0.5356, allocations: 179.4 kB / 461 MB, free: 36 kB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5356, allocations: 0 / 461 MB, free: 36 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004296/0.5361, allocations: 79.84 kB / 461 MB, free: 15.95 MB / 346.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.0007062/0.5368, allocations: 1.061 MB / 462.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002276/0.537, allocations: 133.9 kB / 462.2 MB, free: 14.81 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.537, allocations: 4 kB / 462.2 MB, free: 14.81 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.312e-05/0.5371, allocations: 45.12 kB / 462.3 MB, free: 14.78 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.5374, allocations: 19.88 kB / 462.3 MB, free: 14.76 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.5385, allocations: 0.5019 MB / 462.8 MB, free: 14.25 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003727/0.5389, allocations: 0.7794 MB / 463.6 MB, free: 13.44 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001342/0.5391, allocations: 38.05 kB / 463.6 MB, free: 13.4 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/0.5392, allocations: 97.78 kB / 463.7 MB, free: 13.38 MB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5392, allocations: 0 / 463.7 MB, free: 13.38 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02606/0.5653, allocations: 4.116 MB / 467.8 MB, free: 9.266 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002381/0.5656, allocations: 179.9 kB / 468 MB, free: 9.062 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.996/2.562, allocations: 0 / 468 MB, free: 9.062 MB / 346.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