Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.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.MultiPhaseInductance,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_MultiPhaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_MultiPhaseInductance",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.001081/0.001081, allocations: 181.8 kB / 17.02 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.24/1.24, allocations: 205.4 MB / 223.1 MB, free: 9.109 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.0008688/0.0008688, allocations: 84.17 kB / 271.5 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002435/0.0002435, allocations: 4 kB / 328.3 MB, free: 15.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2398/0.2401, allocations: 47.57 MB / 375.9 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1008/0.3409, allocations: 84.73 MB / 460.6 MB, free: 11.89 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002253/0.3412, allocations: 79.95 kB / 460.7 MB, free: 11.82 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0783/0.4195, allocations: 30.96 MB / 491.7 MB, free: 12.55 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.4195, allocations: 0 / 491.7 MB, free: 12.55 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001413/0.4197, allocations: 39.94 kB / 491.7 MB, free: 12.51 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.005449/0.4251, allocations: 1.848 MB / 493.6 MB, free: 10.61 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.4252, allocations: 8.031 kB / 493.6 MB, free: 10.6 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007387/0.4259, allocations: 206.6 kB / 493.8 MB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001744/0.4277, allocations: 318.1 kB / 494.1 MB, free: 10.08 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002438/0.4301, allocations: 1.098 MB / 495.2 MB, free: 8.934 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.698e-05/0.4302, allocations: 98.67 kB / 495.3 MB, free: 8.836 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003023/0.4305, allocations: 132 kB / 495.4 MB, free: 8.707 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00313/0.4337, allocations: 1.85 MB / 497.3 MB, free: 6.801 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.397e-05/0.4337, allocations: 3.938 kB / 497.3 MB, free: 6.797 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001414/0.4339, allocations: 56 kB / 497.3 MB, free: 6.742 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.232e-05/0.4339, allocations: 46 kB / 497.4 MB, free: 6.699 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0027/0.4366, allocations: 1.606 MB / 499 MB, free: 5.09 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2072/0.6438, allocations: 5.598 MB / 0.4927 GB, free: 94.19 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003705/0.6476, allocations: 2.9 MB / 0.4956 GB, free: 91.89 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003565/0.6512, allocations: 1.541 MB / 0.4971 GB, free: 91.28 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/0.6513, allocations: 41.44 kB / 0.4971 GB, free: 91.24 MB / 378.7 MB Notification: Performance of pre-optimization done (n=53): time 4.077e-06/0.6513, allocations: 1.188 kB / 0.4971 GB, free: 91.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=53): time 0.003468/0.6548, allocations: 1.433 MB / 0.4985 GB, free: 91.09 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.6548, allocations: 91.66 kB / 0.4986 GB, free: 91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001771/0.6566, allocations: 0.9206 MB / 0.4995 GB, free: 90.88 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.221e-05/0.6567, allocations: 35.2 kB / 0.4995 GB, free: 90.85 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005032/0.6572, allocations: 0.674 MB / 0.5002 GB, free: 90.62 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001652/0.6574, allocations: 186.7 kB / 0.5004 GB, free: 90.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.666e-05/0.6574, allocations: 13.41 kB / 0.5004 GB, free: 90.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.635e-05/0.6575, allocations: 335.7 kB / 0.5007 GB, free: 90.22 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00063/0.6582, allocations: 371.7 kB / 0.5011 GB, free: 90.22 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006829/0.6588, allocations: 0.5213 MB / 0.5016 GB, free: 90.04 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007064/0.6596, allocations: 442.8 kB / 0.502 GB, free: 90.03 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/0.6596, allocations: 2.688 kB / 0.502 GB, free: 90.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001805/0.6614, allocations: 1.031 MB / 0.503 GB, free: 89.95 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.6614, allocations: 7.312 kB / 0.503 GB, free: 89.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/0.6615, allocations: 8.188 kB / 0.503 GB, free: 89.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.121e-05/0.6615, allocations: 8.594 kB / 0.503 GB, free: 89.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008074/0.6623, allocations: 184.4 kB / 0.5032 GB, free: 89.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.091e-05/0.6623, allocations: 15.47 kB / 0.5032 GB, free: 89.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007051/0.6631, allocations: 90.72 kB / 0.5033 GB, free: 89.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.096e-05/0.6631, allocations: 27.47 kB / 0.5033 GB, free: 89.93 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (82): * Single equations (assignments): 82 * 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.0008006/0.6639, allocations: 0.5271 MB / 0.5038 GB, free: 89.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002459/0.6642, allocations: 91.84 kB / 0.5039 GB, free: 89.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00118/0.6654, allocations: 0.6989 MB / 0.5046 GB, free: 89.7 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.6654, allocations: 7.156 kB / 0.5046 GB, free: 89.7 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/0.6654, allocations: 3.344 kB / 0.5046 GB, free: 89.7 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.6654, allocations: 3.609 kB / 0.5046 GB, free: 89.7 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002919/0.6683, allocations: 1.666 MB / 0.5063 GB, free: 89.37 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.838e-06/0.6684, allocations: 3.969 kB / 0.5063 GB, free: 89.37 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004534/0.6688, allocations: 100.2 kB / 0.5064 GB, free: 89.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004281/0.6693, allocations: 154.1 kB / 0.5065 GB, free: 89.36 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.893e-05/0.6693, allocations: 19.92 kB / 0.5065 GB, free: 89.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002524/0.6719, allocations: 2.683 MB / 0.5091 GB, free: 88 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.6719, allocations: 3.375 kB / 0.5091 GB, free: 88 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001987/0.6739, allocations: 1.546 MB / 0.5106 GB, free: 87.63 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003493/0.6742, allocations: 193.2 kB / 0.5108 GB, free: 87.49 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001904/0.6744, allocations: 17.5 kB / 0.5108 GB, free: 87.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000586/0.675, allocations: 67.05 kB / 0.5109 GB, free: 87.49 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/0.6752, allocations: 53.47 kB / 0.511 GB, free: 87.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.23e-05/0.6752, allocations: 19.72 kB / 0.511 GB, free: 87.49 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009151/0.6761, allocations: 0.7263 MB / 0.5117 GB, free: 87.4 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.6761, allocations: 0 / 0.5117 GB, free: 87.4 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001106/0.6773, allocations: 370.6 kB / 0.512 GB, free: 87.34 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (inductor_e.inductor[1].i,inductor_e.inductor[2].i,inductor_e.inductor[3].i,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im) * 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 (37): * Single equations (assignments): 36 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002261/0.6795, allocations: 2.425 MB / 0.5144 GB, free: 86.03 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001163/0.6807, allocations: 0.7951 MB / 0.5152 GB, free: 85.82 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.6807, allocations: 0 / 0.5152 GB, free: 85.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008685/0.6816, allocations: 0.589 MB / 0.5158 GB, free: 85.55 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007946/0.6824, allocations: 164.2 kB / 0.5159 GB, free: 85.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01117/0.6936, allocations: 11.02 MB / 0.5267 GB, free: 78.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001099/0.6947, allocations: 1.526 MB / 0.5282 GB, free: 77.67 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006525/0.6954, allocations: 234 kB / 0.5284 GB, free: 77.64 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005508/0.696, allocations: 481.3 kB / 0.5289 GB, free: 77.26 MB / 378.7 MB Notification: Performance of SimCode: time 1.463e-06/0.696, allocations: 0 / 0.5289 GB, free: 77.26 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03939/0.7354, allocations: 21.28 MB / 0.5496 GB, free: 62.22 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001466/0.7356, allocations: 220.4 kB / 0.5499 GB, free: 61.98 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.511/3.247, allocations: 7.906 kB / 0.5499 GB, free: 61.98 MB / 378.7 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_MultiPhaseInductance_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_MultiPhaseInductance.fmu > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat does not exist to compare? outputFormat=mat