Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.002489/0.002489, allocations: 181.6 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.26/2.26, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001094/0.001093, allocations: 90.64 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.345e-05/3.36e-05, allocations: 0 / 321.6 MB, free: 17.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1134, allocations: 47.58 MB / 369.2 MB, free: 2.109 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5088/0.6223, allocations: 84.64 MB / 453.8 MB, free: 8.66 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004918/0.6229, allocations: 79.83 kB / 453.9 MB, free: 8.617 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2075/0.8305, allocations: 30.97 MB / 484.9 MB, free: 11.16 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.256e-06/0.8305, allocations: 3.938 kB / 484.9 MB, free: 11.16 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002267/0.8308, allocations: 39.94 kB / 484.9 MB, free: 11.12 MB / 362.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.0101/0.8409, allocations: 1.682 MB / 486.6 MB, free: 9.391 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.164e-05/0.841, allocations: 12.03 kB / 486.6 MB, free: 9.379 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009911/0.842, allocations: 202.6 kB / 486.8 MB, free: 9.172 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004066/0.8461, allocations: 322.1 kB / 487.1 MB, free: 8.855 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005549/0.8517, allocations: 1.082 MB / 488.2 MB, free: 7.727 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002029/0.852, allocations: 98.67 kB / 488.3 MB, free: 7.629 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007056/0.8527, allocations: 136 kB / 488.4 MB, free: 7.496 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008499/0.8612, allocations: 1.784 MB / 490.2 MB, free: 5.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.141e-05/0.8614, allocations: 0 / 490.2 MB, free: 5.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003862/0.8618, allocations: 56 kB / 490.3 MB, free: 5.605 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001231/0.8619, allocations: 50 kB / 490.3 MB, free: 5.559 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007426/0.8694, allocations: 1.52 MB / 491.8 MB, free: 4.031 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02562/0.8951, allocations: 5.587 MB / 497.4 MB, free: 14.22 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007675/0.9028, allocations: 2.857 MB / 0.4886 GB, free: 10.91 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00185/0.9047, allocations: 463.8 kB / 0.489 GB, free: 10.45 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006309/0.9111, allocations: 1.529 MB / 0.4905 GB, free: 8.855 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.936e-05/0.9112, allocations: 34.84 kB / 0.4905 GB, free: 8.812 MB / 378.7 MB Notification: Performance of pre-optimization done (n=52): time 6.683e-06/0.9113, allocations: 0 / 0.4905 GB, free: 8.812 MB / 378.7 MB Notification: Performance of matching and sorting (n=52): time 0.003773/0.915, allocations: 0.804 MB / 0.4913 GB, free: 8 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.497e-05/0.9152, allocations: 81.11 kB / 0.4914 GB, free: 7.902 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003467/0.9187, allocations: 0.9221 MB / 0.4923 GB, free: 6.977 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002262/0.919, allocations: 33.7 kB / 0.4923 GB, free: 6.938 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009225/0.9199, allocations: 0.6684 MB / 0.493 GB, free: 6.258 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004076/0.9204, allocations: 189.3 kB / 0.4932 GB, free: 6.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.9205, allocations: 16 kB / 0.4932 GB, free: 6.055 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002297/0.9208, allocations: 342.8 kB / 0.4935 GB, free: 5.711 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001342/0.9221, allocations: 321.4 kB / 0.4938 GB, free: 5.398 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001523/0.9237, allocations: 495.3 kB / 0.4943 GB, free: 4.84 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001669/0.9254, allocations: 401.2 kB / 0.4947 GB, free: 4.449 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.662e-05/0.9255, allocations: 4 kB / 0.4947 GB, free: 4.445 MB / 378.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.003843/0.9293, allocations: 0.8777 MB / 0.4955 GB, free: 3.562 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.342e-05/0.9294, allocations: 4 kB / 0.4955 GB, free: 3.559 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.175e-05/0.9295, allocations: 8 kB / 0.4955 GB, free: 3.551 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.442e-05/0.9295, allocations: 8 kB / 0.4955 GB, free: 3.543 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002445/0.932, allocations: 187.7 kB / 0.4957 GB, free: 3.359 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.279e-05/0.9321, allocations: 8.094 kB / 0.4957 GB, free: 3.352 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001705/0.9338, allocations: 87.34 kB / 0.4958 GB, free: 3.266 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001825/0.934, allocations: 35.97 kB / 0.4958 GB, free: 3.23 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * 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.0003457/0.9344, allocations: 140.7 kB / 0.496 GB, free: 3.086 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004278/0.9349, allocations: 94.83 kB / 0.4961 GB, free: 2.992 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003096/0.938, allocations: 0.6386 MB / 0.4967 GB, free: 2.336 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.017e-05/0.938, allocations: 8 kB / 0.4967 GB, free: 2.328 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.25e-05/0.9381, allocations: 7.953 kB / 0.4967 GB, free: 2.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.019e-05/0.9381, allocations: 11.98 kB / 0.4967 GB, free: 2.309 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006651/0.9448, allocations: 1.619 MB / 0.4983 GB, free: 0.625 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-05/0.9449, allocations: 0 / 0.4983 GB, free: 0.625 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001478/0.9464, allocations: 99.97 kB / 0.4984 GB, free: 0.5273 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001185/0.9476, allocations: 159 kB / 0.4985 GB, free: 380 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001532/0.9478, allocations: 19.98 kB / 0.4986 GB, free: 360 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007706/0.9555, allocations: 2.585 MB / 0.5011 GB, free: 13.62 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.9556, allocations: 0 / 0.5011 GB, free: 13.62 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00551/0.9611, allocations: 1.428 MB / 0.5025 GB, free: 12.14 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007774/0.962, allocations: 184 kB / 0.5027 GB, free: 11.94 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000361/0.9624, allocations: 15.98 kB / 0.5027 GB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001795/0.9642, allocations: 71.94 kB / 0.5027 GB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003916/0.9646, allocations: 55.75 kB / 0.5028 GB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001167/0.9648, allocations: 19.98 kB / 0.5028 GB, free: 11.78 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002724/0.9675, allocations: 0.7138 MB / 0.5035 GB, free: 11.07 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.903e-06/0.9676, allocations: 0 / 0.5035 GB, free: 11.07 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002765/0.9704, allocations: 362.4 kB / 0.5039 GB, free: 10.72 MB / 394.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * 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: 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.006617/0.977, allocations: 2.31 MB / 0.5061 GB, free: 8.355 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002949/0.9801, allocations: 0.6947 MB / 0.5068 GB, free: 7.664 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-05/0.9802, allocations: 4.125 kB / 0.5068 GB, free: 7.66 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002471/0.9827, allocations: 0.5477 MB / 0.5073 GB, free: 7.098 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002473/0.9852, allocations: 163.3 kB / 0.5075 GB, free: 6.938 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01294/0.9982, allocations: 2.668 MB / 0.5101 GB, free: 4.199 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002892/1.001, allocations: 1.5 MB / 0.5116 GB, free: 2.672 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00184/1.003, allocations: 483.3 kB / 0.512 GB, free: 2.199 MB / 394.7 MB Notification: Performance of SimCode: time 2.535e-06/1.003, allocations: 0 / 0.512 GB, free: 2.199 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.424/4.427, allocations: 26.74 MB / 0.5381 GB, free: 117 MB / 410.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Magnetic_FundamentalWave_Examples_Components_MultiPhaseInductance_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Magnetic_FundamentalWave_Examples_Components_MultiPhaseInductance.fmu > Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat does not exist to compare? outputFormat=mat