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.001688/0.001688, allocations: 177.9 kB / 8.696 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.726/1.726, allocations: 205.3 MB / 214.4 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009138/0.000914, allocations: 74.73 kB / 262.4 MB, free: 1.688 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.088e-05/2.107e-05, allocations: 0 / 315.6 MB, free: 22.62 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.103, allocations: 47.59 MB / 363.2 MB, free: 6.973 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4006/0.5037, allocations: 84.22 MB / 447.4 MB, free: 11.26 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002426/0.504, allocations: 83.62 kB / 447.5 MB, free: 11.21 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07566/0.5797, allocations: 30.62 MB / 478.1 MB, free: 2.27 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.033e-06/0.5797, allocations: 0 / 478.1 MB, free: 2.27 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.702e-05/0.5798, allocations: 35.94 kB / 478.1 MB, free: 2.234 MB / 346.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.003958/0.5838, allocations: 1.689 MB / 479.8 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.793e-05/0.5838, allocations: 8.031 kB / 479.8 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001474/0.5853, allocations: 317.8 kB / 480.1 MB, free: 284 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001969/0.5873, allocations: 1.087 MB / 481.2 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.398e-05/0.5874, allocations: 44 kB / 481.3 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001737/0.5876, allocations: 76 kB / 481.3 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002391/0.59, allocations: 1.438 MB / 482.8 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002618/0.5926, allocations: 1.595 MB / 484.4 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.651e-05/0.5926, allocations: 3.984 kB / 484.4 MB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001095/0.5927, allocations: 4 kB / 484.4 MB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.595e-05/0.5928, allocations: 42 kB / 484.4 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008555/0.6014, allocations: 5.339 MB / 489.8 MB, free: 6.336 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002959/0.6044, allocations: 2.834 MB / 492.6 MB, free: 3.047 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005589/0.6049, allocations: 439.8 kB / 493 MB, free: 2.609 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002334/0.6073, allocations: 1.502 MB / 494.5 MB, free: 1.043 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/0.6073, allocations: 42.83 kB / 494.6 MB, free: 0.9922 MB / 362.7 MB Notification: Performance of pre-optimization done (n=52): time 2.965e-06/0.6073, allocations: 4 kB / 494.6 MB, free: 0.9883 MB / 362.7 MB Notification: Performance of matching and sorting (n=52): time 0.001557/0.6089, allocations: 0.8083 MB / 495.4 MB, free: 176 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/0.609, allocations: 85.11 kB / 495.5 MB, free: 72 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/0.6101, allocations: 0.8479 MB / 496.3 MB, free: 15.21 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.733e-05/0.6102, allocations: 33.64 kB / 496.3 MB, free: 15.18 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005046/0.6107, allocations: 0.6735 MB / 497 MB, free: 14.49 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000153/0.6109, allocations: 181.4 kB / 497.2 MB, free: 14.31 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-05/0.6109, allocations: 0 / 497.2 MB, free: 14.31 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.611, allocations: 330 kB / 497.5 MB, free: 13.98 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004436/0.6115, allocations: 313.4 kB / 497.8 MB, free: 13.68 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000534/0.612, allocations: 473.8 kB / 498.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007398/0.6128, allocations: 441.1 kB / 498.7 MB, free: 12.72 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.6128, allocations: 4 kB / 498.7 MB, free: 12.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.00145/0.6143, allocations: 0.9276 MB / 499.6 MB, free: 11.78 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.6143, allocations: 7.953 kB / 499.7 MB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.6143, allocations: 8 kB / 499.7 MB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.333e-05/0.6143, allocations: 8 kB / 499.7 MB, free: 11.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007539/0.6151, allocations: 187.9 kB / 499.9 MB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.536e-05/0.6151, allocations: 19.98 kB / 499.9 MB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005846/0.6157, allocations: 75.28 kB / 499.9 MB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.326e-05/0.6158, allocations: 27.98 kB / 500 MB, free: 11.45 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.0001536/0.6159, allocations: 116.8 kB / 0.4884 GB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001384/0.6173, allocations: 0.8112 MB / 0.4892 GB, free: 10.51 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001527/0.6175, allocations: 90.91 kB / 0.4892 GB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001325/0.6188, allocations: 0.6697 MB / 0.4899 GB, free: 9.738 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.6189, allocations: 8 kB / 0.4899 GB, free: 9.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.908e-06/0.6189, allocations: 4 kB / 0.4899 GB, free: 9.727 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.6189, allocations: 3.984 kB / 0.4899 GB, free: 9.723 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002295/0.6212, allocations: 1.419 MB / 0.4913 GB, free: 8.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.788e-06/0.6212, allocations: 0 / 0.4913 GB, free: 8.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004611/0.6217, allocations: 95.88 kB / 0.4914 GB, free: 8.156 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004059/0.6221, allocations: 152.8 kB / 0.4915 GB, free: 8.004 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.139e-05/0.6221, allocations: 11.98 kB / 0.4915 GB, free: 7.992 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002838/0.625, allocations: 2.518 MB / 0.494 GB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.625, allocations: 0 / 0.494 GB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00208/0.6271, allocations: 1.428 MB / 0.4954 GB, free: 3.871 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003025/0.6274, allocations: 188 kB / 0.4956 GB, free: 3.668 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/0.6275, allocations: 11.98 kB / 0.4956 GB, free: 3.656 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005332/0.6281, allocations: 55.94 kB / 0.4956 GB, free: 3.602 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/0.6282, allocations: 55.86 kB / 0.4957 GB, free: 3.547 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-05/0.6283, allocations: 16 kB / 0.4957 GB, free: 3.531 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008906/0.6292, allocations: 0.6591 MB / 0.4964 GB, free: 2.879 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6292, allocations: 0 / 0.4964 GB, free: 2.879 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001071/0.6303, allocations: 346.3 kB / 0.4967 GB, free: 2.539 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 () * 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.002503/0.6328, allocations: 2.287 MB / 0.4989 GB, free: 200 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001009/0.6338, allocations: 0.6748 MB / 0.4996 GB, free: 15.52 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.6338, allocations: 0 / 0.4996 GB, free: 15.52 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008627/0.6347, allocations: 0.5324 MB / 0.5001 GB, free: 14.97 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008037/0.6355, allocations: 139.3 kB / 0.5002 GB, free: 14.84 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004637/0.6401, allocations: 2.657 MB / 0.5028 GB, free: 12.12 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001169/0.6413, allocations: 1.53 MB / 0.5043 GB, free: 10.56 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006701/0.642, allocations: 226.5 kB / 0.5045 GB, free: 10.33 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006158/0.6426, allocations: 479.3 kB / 0.505 GB, free: 9.863 MB / 394.7 MB Notification: Performance of SimCode: time 1.112e-06/0.6426, allocations: 0 / 0.505 GB, free: 9.863 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04624/0.6889, allocations: 18.95 MB / 0.5235 GB, free: 6.891 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002029/0.6892, allocations: 167.1 kB / 0.5237 GB, free: 6.699 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.626/3.315, allocations: 0 / 0.5237 GB, free: 6.699 MB / 410.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