Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001062/0.001062, allocations: 196.4 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009627/0.0009626, allocations: 94.73 kB / 292.1 MB, free: 5.922 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.376e-05/3.39e-05, allocations: 4 kB / 350.7 MB, free: 2.418 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1281, allocations: 51.48 MB / 402.1 MB, free: 14.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4298/0.558, allocations: 97.03 MB / 499.2 MB, free: 8.547 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003492/0.5584, allocations: 82.84 kB / 499.2 MB, free: 8.504 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.327/1.885, allocations: 332.8 MB / 0.8126 GB, free: 67.71 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.593e-06/1.885, allocations: 0 / 0.8126 GB, free: 67.71 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005283/1.886, allocations: 177.1 kB / 0.8128 GB, free: 67.7 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2549 * Number of variables: 2549 Notification: Performance of Generate backend data structure: time 0.03855/1.924, allocations: 9.632 MB / 0.8222 GB, free: 65.21 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.609e-05/1.924, allocations: 11.03 kB / 0.8222 GB, free: 65.21 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007567/1.932, allocations: 1.303 MB / 0.8234 GB, free: 65.12 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03124/1.963, allocations: 5.523 MB / 0.8288 GB, free: 64.63 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01915/1.982, allocations: 6.331 MB / 0.835 GB, free: 63.6 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00103/1.983, allocations: 0.6126 MB / 0.8356 GB, free: 63.38 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00543/1.989, allocations: 0.8026 MB / 0.8364 GB, free: 63.11 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04773/2.037, allocations: 15.55 MB / 0.8516 GB, free: 56.35 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005594/2.037, allocations: 11.62 kB / 0.8516 GB, free: 56.34 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005136/2.042, allocations: 353.2 kB / 0.8519 GB, free: 56.08 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001356/2.044, allocations: 0.82 MB / 0.8527 GB, free: 55.86 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03678/2.081, allocations: 14.38 MB / 0.8668 GB, free: 45.18 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4825/2.563, allocations: 48.49 MB / 0.9141 GB, free: 51.54 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02086/2.584, allocations: 19.22 MB / 0.9329 GB, free: 38.51 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006122/2.59, allocations: 3.497 MB / 0.9363 GB, free: 38.48 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007257/2.591, allocations: 268.4 kB / 0.9366 GB, free: 38.29 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.274e-05/2.591, allocations: 81.16 kB / 0.9366 GB, free: 38.24 MB / 458.7 MB Notification: Performance of pre-optimization done (n=468): time 7.484e-06/2.591, allocations: 3.406 kB / 0.9367 GB, free: 38.24 MB / 458.7 MB Notification: Performance of matching and sorting (n=468): time 0.0141/2.605, allocations: 7.14 MB / 0.9436 GB, free: 38.04 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.761e-05/2.605, allocations: 126.8 kB / 0.9437 GB, free: 37.94 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007528/2.613, allocations: 3.426 MB / 0.9471 GB, free: 37.71 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001368/2.614, allocations: 103.5 kB / 0.9472 GB, free: 37.68 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003424/2.618, allocations: 3.902 MB / 0.951 GB, free: 35.91 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002729/2.621, allocations: 1.607 MB / 0.9526 GB, free: 34.91 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009947/2.622, allocations: 148.5 kB / 0.9527 GB, free: 34.91 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0006517/2.622, allocations: 0.6046 MB / 0.9533 GB, free: 34.59 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007698/2.63, allocations: 3.586 MB / 0.9568 GB, free: 34.57 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009595/2.64, allocations: 6.397 MB / 0.9631 GB, free: 31.17 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01044/2.65, allocations: 5.157 MB / 0.9681 GB, free: 31.07 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002916/2.65, allocations: 30.2 kB / 0.9681 GB, free: 31.07 MB / 458.7 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02998/2.68, allocations: 11.74 MB / 0.9796 GB, free: 30.53 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000133/2.681, allocations: 47.78 kB / 0.9796 GB, free: 30.53 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002275/2.681, allocations: 91.78 kB / 0.9797 GB, free: 30.53 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005188/2.686, allocations: 1.616 MB / 0.9813 GB, free: 30.46 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007432/2.693, allocations: 1.657 MB / 0.9829 GB, free: 30.46 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02045/2.714, allocations: 16.16 MB / 0.9987 GB, free: 22.22 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007763/2.722, allocations: 0.9452 MB / 0.9996 GB, free: 21.79 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00245/2.724, allocations: 358.1 kB / 1 GB, free: 21.79 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 424 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (876): * Single equations (assignments): 870 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(8,100.0%) 30,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002318/2.727, allocations: 0.5735 MB / 1.001 GB, free: 21.5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001077/2.728, allocations: 388.6 kB / 1.001 GB, free: 21.3 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01498/2.743, allocations: 8.44 MB / 1.009 GB, free: 20.84 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.922e-05/2.743, allocations: 50.31 kB / 1.009 GB, free: 20.84 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-05/2.743, allocations: 13.75 kB / 1.009 GB, free: 20.84 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000106/2.743, allocations: 26.25 kB / 1.009 GB, free: 20.84 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03787/2.781, allocations: 16.77 MB / 1.026 GB, free: 14.95 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.88e-05/2.781, allocations: 6.578 kB / 1.026 GB, free: 14.95 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004062/2.785, allocations: 0.8587 MB / 1.026 GB, free: 14.88 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004716/2.79, allocations: 1.48 MB / 1.028 GB, free: 14.6 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001382/2.791, allocations: 109.7 kB / 1.028 GB, free: 14.54 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01784/2.809, allocations: 15.96 MB / 1.044 GB, free: 19.2 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/2.809, allocations: 1.812 kB / 1.044 GB, free: 19.2 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02148/2.831, allocations: 12.23 MB / 1.056 GB, free: 11.77 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003857/2.835, allocations: 1.115 MB / 1.057 GB, free: 10.75 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001478/2.836, allocations: 84 kB / 1.057 GB, free: 10.67 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003574/2.84, allocations: 313.5 kB / 1.057 GB, free: 10.46 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001011/2.841, allocations: 321.6 kB / 1.057 GB, free: 10.26 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000377/2.841, allocations: 135.7 kB / 1.057 GB, free: 10.14 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005207/2.846, allocations: 2.518 MB / 1.06 GB, free: 7.965 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.675e-06/2.846, allocations: 0 / 1.06 GB, free: 7.965 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01255/2.859, allocations: 2.396 MB / 1.062 GB, free: 5.566 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (resistor_m.plug_p.reference.gamma,resistor_e.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (455): * Single equations (assignments): 449 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(8,100.0%) 30,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.032/2.891, allocations: 13.92 MB / 1.076 GB, free: 10.73 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01956/2.911, allocations: 9.172 MB / 1.085 GB, free: 2.406 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.429e-05/2.911, allocations: 4 kB / 1.085 GB, free: 2.402 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.3516/3.262, allocations: 4.793 MB / 1.089 GB, free: 88.75 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006009/3.268, allocations: 0.6359 MB / 1.09 GB, free: 88.73 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04472/3.313, allocations: 17 MB / 1.107 GB, free: 86.33 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01124/3.324, allocations: 6.182 MB / 1.113 GB, free: 85.45 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01111/3.335, allocations: 3.294 MB / 1.116 GB, free: 85.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007826/3.343, allocations: 3.001 MB / 1.119 GB, free: 85.4 MB / 490.7 MB Notification: Performance of SimCode: time 1.402e-06/3.343, allocations: 3.625 kB / 1.119 GB, free: 85.4 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2025/3.546, allocations: 123.4 MB / 1.239 GB, free: 23.23 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001546/3.546, allocations: 217.4 kB / 1.24 GB, free: 23 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.332/8.878, allocations: 3.938 kB / 1.24 GB, free: 23 MB / 490.7 MB (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat does not exist to compare? outputFormat=mat