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.001447/0.001446, allocations: 185.9 kB / 16.41 MB, free: 5.727 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.961/1.961, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001113/0.001113, allocations: 95.39 kB / 270.9 MB, free: 8.395 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000408/0.000408, allocations: 8 kB / 327.1 MB, free: 132 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3236, allocations: 47.57 MB / 374.6 MB, free: 45.3 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1346/0.4583, allocations: 84.74 MB / 459.4 MB, free: 11.92 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003124/0.4587, allocations: 83.95 kB / 459.5 MB, free: 11.84 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1261/0.5847, allocations: 30.95 MB / 490.4 MB, free: 12.57 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.5848, allocations: 0 / 490.4 MB, free: 12.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001293/0.5849, allocations: 39.94 kB / 490.4 MB, free: 12.53 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.007176/0.5921, allocations: 1.844 MB / 492.3 MB, free: 10.63 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/0.5922, allocations: 8.031 kB / 492.3 MB, free: 10.62 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007475/0.593, allocations: 214.6 kB / 492.5 MB, free: 10.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002333/0.5953, allocations: 322.1 kB / 492.8 MB, free: 10.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003374/0.5987, allocations: 1.082 MB / 493.9 MB, free: 8.961 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001195/0.5988, allocations: 106.6 kB / 494 MB, free: 8.855 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003591/0.5992, allocations: 132 kB / 494.1 MB, free: 8.727 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00561/0.6048, allocations: 1.846 MB / 496 MB, free: 6.824 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.972e-05/0.6049, allocations: 3.938 kB / 496 MB, free: 6.82 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002412/0.6052, allocations: 56 kB / 496 MB, free: 6.766 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.391e-05/0.6053, allocations: 49.98 kB / 496.1 MB, free: 6.719 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005301/0.6106, allocations: 1.606 MB / 497.7 MB, free: 5.109 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2826/0.8933, allocations: 5.597 MB / 0.4915 GB, free: 93.62 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004877/0.8982, allocations: 2.908 MB / 0.4943 GB, free: 91.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003798/0.902, allocations: 1.533 MB / 0.4958 GB, free: 90.71 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.9021, allocations: 41.75 kB / 0.4959 GB, free: 90.67 MB / 378.7 MB Notification: Performance of pre-optimization done (n=53): time 3.918e-06/0.9021, allocations: 0 / 0.4959 GB, free: 90.67 MB / 378.7 MB Notification: Performance of matching and sorting (n=53): time 0.005456/0.9076, allocations: 1.432 MB / 0.4973 GB, free: 90.53 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.9077, allocations: 93 kB / 0.4974 GB, free: 90.43 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002096/0.9098, allocations: 0.9223 MB / 0.4983 GB, free: 90.32 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001593/0.91, allocations: 36.98 kB / 0.4983 GB, free: 90.29 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004748/0.9105, allocations: 0.6722 MB / 0.499 GB, free: 89.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002149/0.9107, allocations: 188 kB / 0.4991 GB, free: 89.89 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.228e-05/0.9108, allocations: 10.69 kB / 0.4991 GB, free: 89.89 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.568e-05/0.9109, allocations: 343.2 kB / 0.4995 GB, free: 89.58 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001094/0.912, allocations: 370.5 kB / 0.4998 GB, free: 89.58 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001117/0.9131, allocations: 0.5237 MB / 0.5003 GB, free: 89.39 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00118/0.9143, allocations: 441.2 kB / 0.5008 GB, free: 89.39 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.987e-06/0.9144, allocations: 2.312 kB / 0.5008 GB, free: 89.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002706/0.9171, allocations: 0.9693 MB / 0.5017 GB, free: 89.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.202e-05/0.9171, allocations: 7.75 kB / 0.5017 GB, free: 89.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/0.9172, allocations: 5.906 kB / 0.5017 GB, free: 89.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.426e-05/0.9172, allocations: 12.19 kB / 0.5017 GB, free: 89.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001463/0.9187, allocations: 189 kB / 0.5019 GB, free: 89.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.656e-05/0.9187, allocations: 11.02 kB / 0.5019 GB, free: 89.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/0.9198, allocations: 85.36 kB / 0.502 GB, free: 89.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.84e-05/0.9199, allocations: 28.66 kB / 0.502 GB, free: 89.32 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.001225/0.9212, allocations: 0.534 MB / 0.5026 GB, free: 89.21 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00033/0.9215, allocations: 90.53 kB / 0.5026 GB, free: 89.16 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002062/0.9236, allocations: 0.6977 MB / 0.5033 GB, free: 89.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.9236, allocations: 5.75 kB / 0.5033 GB, free: 89.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-05/0.9237, allocations: 3.438 kB / 0.5033 GB, free: 89.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/0.9237, allocations: 2.344 kB / 0.5033 GB, free: 89.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003777/0.9275, allocations: 1.666 MB / 0.505 GB, free: 88.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.135e-05/0.9275, allocations: 3.656 kB / 0.505 GB, free: 88.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008614/0.9284, allocations: 97.06 kB / 0.5051 GB, free: 88.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006672/0.9291, allocations: 166 kB / 0.5052 GB, free: 88.75 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-05/0.9292, allocations: 19.55 kB / 0.5052 GB, free: 88.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004018/0.9332, allocations: 2.665 MB / 0.5078 GB, free: 87.39 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.9332, allocations: 7.312 kB / 0.5078 GB, free: 87.39 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003586/0.9368, allocations: 1.541 MB / 0.5093 GB, free: 87.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000439/0.9373, allocations: 194.3 kB / 0.5095 GB, free: 86.88 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002012/0.9375, allocations: 22.31 kB / 0.5096 GB, free: 86.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009657/0.9385, allocations: 68.03 kB / 0.5096 GB, free: 86.88 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000217/0.9387, allocations: 54.88 kB / 0.5097 GB, free: 86.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.975e-05/0.9388, allocations: 18.55 kB / 0.5097 GB, free: 86.88 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001391/0.9402, allocations: 0.7222 MB / 0.5104 GB, free: 86.79 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.91e-07/0.9402, allocations: 0 / 0.5104 GB, free: 86.79 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001464/0.9417, allocations: 369.9 kB / 0.5107 GB, free: 86.73 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.004025/0.9457, allocations: 2.434 MB / 0.5131 GB, free: 85.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002127/0.9479, allocations: 0.7871 MB / 0.5139 GB, free: 85.22 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.948, allocations: 7.5 kB / 0.5139 GB, free: 85.22 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001622/0.9496, allocations: 0.5875 MB / 0.5145 GB, free: 84.96 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001441/0.9511, allocations: 167.6 kB / 0.5146 GB, free: 84.91 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01754/0.9686, allocations: 10.97 MB / 0.5253 GB, free: 77.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001177/0.9698, allocations: 1.49 MB / 0.5268 GB, free: 77.08 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009914/0.9709, allocations: 491.9 kB / 0.5273 GB, free: 76.69 MB / 378.7 MB Notification: Performance of SimCode: time 9.71e-07/0.9709, allocations: 3.75 kB / 0.5273 GB, free: 76.69 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.665/3.636, allocations: 26.81 MB / 0.5534 GB, free: 56.71 MB / 378.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