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.002356/0.002355, allocations: 176.9 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.221/2.221, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00116/0.00116, allocations: 85.02 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.321e-05/2.316e-05, allocations: 4 kB / 314.9 MB, free: 9.051 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3348, allocations: 47.56 MB / 362.4 MB, free: 45.71 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1385/0.4734, allocations: 83.98 MB / 446.4 MB, free: 2.191 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003092/0.4738, allocations: 75.95 kB / 446.5 MB, free: 2.117 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1363/0.6101, allocations: 30.62 MB / 477.1 MB, free: 3.285 MB / 363.1 MB Notification: Performance of FrontEnd: time 3.026e-06/0.6102, allocations: 0 / 477.1 MB, free: 3.285 MB / 363.1 MB Notification: Performance of Transformations before backend: time 0.0001525/0.6103, allocations: 35.94 kB / 477.2 MB, free: 3.25 MB / 363.1 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.006852/0.6172, allocations: 1.69 MB / 478.8 MB, free: 1.512 MB / 363.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.6173, allocations: 8.031 kB / 478.8 MB, free: 1.504 MB / 363.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00265/0.6199, allocations: 317.8 kB / 479.2 MB, free: 1.191 MB / 363.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003715/0.6237, allocations: 1.087 MB / 480.2 MB, free: 64 kB / 363.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.116e-05/0.6238, allocations: 40 kB / 480.3 MB, free: 24 kB / 363.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004853/0.6243, allocations: 80.05 kB / 480.4 MB, free: 15.94 MB / 379.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004499/0.6288, allocations: 1.434 MB / 481.8 MB, free: 14.51 MB / 379.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004721/0.6336, allocations: 1.591 MB / 483.4 MB, free: 12.87 MB / 379.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.329e-05/0.6337, allocations: 0 / 483.4 MB, free: 12.87 MB / 379.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001801/0.6339, allocations: 7.938 kB / 483.4 MB, free: 12.86 MB / 379.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-05/0.634, allocations: 49.98 kB / 483.4 MB, free: 12.81 MB / 379.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01533/0.6494, allocations: 5.335 MB / 488.8 MB, free: 7.254 MB / 379.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005055/0.6545, allocations: 2.832 MB / 491.6 MB, free: 3.965 MB / 379.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001096/0.6556, allocations: 439.8 kB / 492 MB, free: 3.527 MB / 379.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004081/0.6597, allocations: 1.51 MB / 493.6 MB, free: 1.953 MB / 379.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.082e-05/0.6598, allocations: 34.84 kB / 493.6 MB, free: 1.91 MB / 379.1 MB Notification: Performance of pre-optimization done (n=52): time 3.967e-06/0.6599, allocations: 0 / 493.6 MB, free: 1.91 MB / 379.1 MB Notification: Performance of matching and sorting (n=52): time 0.002618/0.6625, allocations: 0.8175 MB / 494.4 MB, free: 1.086 MB / 379.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.622e-05/0.6626, allocations: 85.11 kB / 494.5 MB, free: 0.9844 MB / 379.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001927/0.6645, allocations: 0.8478 MB / 495.3 MB, free: 136 kB / 379.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001565/0.6647, allocations: 29.7 kB / 495.4 MB, free: 100 kB / 379.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006437/0.6654, allocations: 0.6798 MB / 496 MB, free: 15.41 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002476/0.6656, allocations: 173.4 kB / 496.2 MB, free: 15.24 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.056e-05/0.6657, allocations: 0 / 496.2 MB, free: 15.24 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.6659, allocations: 338.8 kB / 496.5 MB, free: 14.9 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007288/0.6666, allocations: 313.4 kB / 496.8 MB, free: 14.59 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000869/0.6675, allocations: 473.8 kB / 497.3 MB, free: 14.06 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001244/0.6688, allocations: 437.2 kB / 497.7 MB, free: 13.63 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/0.6688, allocations: 0 / 497.7 MB, free: 13.63 MB / 395.1 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002374/0.6712, allocations: 0.8699 MB / 498.6 MB, free: 12.76 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.345e-05/0.6713, allocations: 11.95 kB / 498.6 MB, free: 12.75 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/0.6713, allocations: 4 kB / 498.6 MB, free: 12.74 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.29e-05/0.6713, allocations: 12 kB / 498.6 MB, free: 12.73 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00149/0.6728, allocations: 183.8 kB / 498.8 MB, free: 12.55 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.93e-05/0.6729, allocations: 11.94 kB / 498.8 MB, free: 12.54 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/0.6739, allocations: 75.38 kB / 498.9 MB, free: 12.46 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.909e-05/0.674, allocations: 31.98 kB / 498.9 MB, free: 12.43 MB / 395.1 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.0002123/0.6743, allocations: 116.8 kB / 499 MB, free: 12.31 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00251/0.6768, allocations: 0.8174 MB / 499.9 MB, free: 11.48 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002812/0.6771, allocations: 86.97 kB / 499.9 MB, free: 11.4 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002135/0.6792, allocations: 0.6697 MB / 0.4889 GB, free: 10.71 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.899e-05/0.6793, allocations: 11.98 kB / 0.4889 GB, free: 10.7 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/0.6793, allocations: 0 / 0.4889 GB, free: 10.7 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.6793, allocations: 288 / 0.4889 GB, free: 10.7 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00369/0.683, allocations: 1.434 MB / 0.4903 GB, free: 9.219 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/0.6831, allocations: 0 / 0.4903 GB, free: 9.219 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000925/0.684, allocations: 99.81 kB / 0.4904 GB, free: 9.121 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006975/0.6847, allocations: 152.1 kB / 0.4905 GB, free: 8.973 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.254e-05/0.6848, allocations: 15.98 kB / 0.4906 GB, free: 8.957 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004548/0.6894, allocations: 2.501 MB / 0.493 GB, free: 6.344 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.107e-06/0.6895, allocations: 12.08 kB / 0.493 GB, free: 6.332 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003776/0.6932, allocations: 1.428 MB / 0.4944 GB, free: 4.844 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005488/0.6938, allocations: 184 kB / 0.4946 GB, free: 4.645 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002162/0.6941, allocations: 12.11 kB / 0.4946 GB, free: 4.633 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/0.6951, allocations: 59.94 kB / 0.4946 GB, free: 4.574 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002917/0.6954, allocations: 55.86 kB / 0.4947 GB, free: 4.52 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.757e-05/0.6955, allocations: 20 kB / 0.4947 GB, free: 4.5 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001569/0.6971, allocations: 0.6552 MB / 0.4954 GB, free: 3.852 MB / 395.1 MB Notification: Performance of sort global known variables: time 7.51e-07/0.6972, allocations: 0 / 0.4954 GB, free: 3.852 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.001949/0.6991, allocations: 346.3 kB / 0.4957 GB, free: 3.512 MB / 395.1 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.004395/0.7036, allocations: 2.287 MB / 0.4979 GB, free: 1.168 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.001707/0.7053, allocations: 0.6781 MB / 0.4986 GB, free: 500 kB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.7054, allocations: 0 / 0.4986 GB, free: 500 kB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2597/0.9651, allocations: 0.521 MB / 0.4991 GB, free: 110.6 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001574/0.9667, allocations: 143.4 kB / 0.4992 GB, free: 110.6 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007889/0.9747, allocations: 2.61 MB / 0.5018 GB, free: 110 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001658/0.9764, allocations: 1.495 MB / 0.5032 GB, free: 109.3 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001088/0.9775, allocations: 483.7 kB / 0.5037 GB, free: 109.3 MB / 395.1 MB Notification: Performance of SimCode: time 1.252e-06/0.9775, allocations: 0 / 0.5037 GB, free: 109.3 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.106/4.083, allocations: 26.35 MB / 0.5294 GB, free: 104.8 MB / 395.1 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