Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001063/0.001063, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 225.6 MB / 234.8 MB, free: 3.246 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008865/0.0008865, allocations: 99.55 kB / 286.7 MB, free: 5.266 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.266e-05/2.261e-05, allocations: 4 kB / 343.8 MB, free: 8.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.118, allocations: 51.47 MB / 395.3 MB, free: 4.668 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3951/0.5131, allocations: 87.84 MB / 483.1 MB, free: 5.16 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/0.5134, allocations: 80.66 kB / 483.2 MB, free: 5.117 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1261/0.6396, allocations: 53.77 MB / 0.5244 GB, free: 4.223 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.6396, allocations: 0 / 0.5244 GB, free: 4.223 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001253/0.6397, allocations: 59.94 kB / 0.5244 GB, free: 4.164 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 588 * Number of variables: 588 Notification: Performance of Generate backend data structure: time 0.006319/0.6461, allocations: 2.612 MB / 0.527 GB, free: 1.492 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.6461, allocations: 8.031 kB / 0.527 GB, free: 1.484 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003419/0.6496, allocations: 0.6876 MB / 0.5277 GB, free: 0.793 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002998/0.6526, allocations: 1.625 MB / 0.5292 GB, free: 15.11 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.544e-05/0.6527, allocations: 72.34 kB / 0.5293 GB, free: 15.04 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002908/0.653, allocations: 143.8 kB / 0.5295 GB, free: 14.9 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004046/0.657, allocations: 2.438 MB / 0.5318 GB, free: 12.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004134/0.6612, allocations: 2.688 MB / 0.5345 GB, free: 9.676 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.96e-05/0.6612, allocations: 0 / 0.5345 GB, free: 9.676 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000169/0.6614, allocations: 0 / 0.5345 GB, free: 9.676 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-05/0.6615, allocations: 74 kB / 0.5345 GB, free: 9.602 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01411/0.6756, allocations: 8.886 MB / 0.5432 GB, free: 408 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004647/0.6803, allocations: 4.232 MB / 0.5473 GB, free: 11.54 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009216/0.6812, allocations: 0.721 MB / 0.548 GB, free: 10.81 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004335/0.6856, allocations: 3.115 MB / 0.5511 GB, free: 7.441 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.303e-05/0.6856, allocations: 46.7 kB / 0.5511 GB, free: 7.387 MB / 426.7 MB Notification: Performance of pre-optimization done (n=87): time 2.545e-06/0.6857, allocations: 0 / 0.5511 GB, free: 7.387 MB / 426.7 MB Notification: Performance of matching and sorting (n=95): time 0.007401/0.6931, allocations: 3.554 MB / 0.5546 GB, free: 3.758 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.07e-05/0.6932, allocations: 118.8 kB / 0.5547 GB, free: 3.617 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001933/0.6951, allocations: 1.303 MB / 0.556 GB, free: 2.309 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.234e-05/0.6952, allocations: 25.7 kB / 0.556 GB, free: 2.277 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009082/0.6961, allocations: 1.114 MB / 0.5571 GB, free: 1.148 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003382/0.6965, allocations: 323.2 kB / 0.5574 GB, free: 0.8281 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.486e-05/0.6965, allocations: 0 / 0.5574 GB, free: 0.8281 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001837/0.6967, allocations: 353.9 kB / 0.5577 GB, free: 488 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008247/0.6975, allocations: 0.5491 MB / 0.5583 GB, free: 15.92 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001132/0.6987, allocations: 0.9117 MB / 0.5592 GB, free: 14.85 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002024/0.7007, allocations: 0.8927 MB / 0.56 GB, free: 13.96 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.548e-06/0.7007, allocations: 8 kB / 0.56 GB, free: 13.95 MB / 442.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003976/0.7047, allocations: 1.859 MB / 0.5619 GB, free: 12.09 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.244e-05/0.7048, allocations: 15.95 kB / 0.5619 GB, free: 12.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.949e-05/0.7048, allocations: 12 kB / 0.5619 GB, free: 12.06 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003837/0.7052, allocations: 121.6 kB / 0.562 GB, free: 11.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001313/0.7065, allocations: 331.7 kB / 0.5623 GB, free: 11.61 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002838/0.7094, allocations: 3.057 MB / 0.5653 GB, free: 8.324 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001347/0.7107, allocations: 75.69 kB / 0.5654 GB, free: 8.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.924e-05/0.7109, allocations: 56 kB / 0.5654 GB, free: 8.195 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 148 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002722/0.7111, allocations: 143.6 kB / 0.5656 GB, free: 8.051 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003329/0.7145, allocations: 1.503 MB / 0.567 GB, free: 6.531 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003033/0.7148, allocations: 142.2 kB / 0.5672 GB, free: 6.391 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003124/0.7179, allocations: 1.398 MB / 0.5685 GB, free: 4.973 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/0.7179, allocations: 8 kB / 0.5685 GB, free: 4.965 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.889e-06/0.718, allocations: 8.094 kB / 0.5686 GB, free: 4.957 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/0.718, allocations: 11.92 kB / 0.5686 GB, free: 4.945 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003834/0.7218, allocations: 2.069 MB / 0.5706 GB, free: 2.824 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/0.7219, allocations: 8 kB / 0.5706 GB, free: 2.816 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008892/0.7227, allocations: 187.8 kB / 0.5708 GB, free: 2.633 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000641/0.7234, allocations: 246.4 kB / 0.571 GB, free: 2.383 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.84e-05/0.7235, allocations: 15.98 kB / 0.571 GB, free: 2.367 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2804/1.004, allocations: 5.541 MB / 0.5764 GB, free: 91.72 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/1.004, allocations: 0 / 0.5764 GB, free: 91.72 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003976/1.008, allocations: 2.52 MB / 0.5789 GB, free: 91.29 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004851/1.008, allocations: 240.3 kB / 0.5791 GB, free: 91.2 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001753/1.009, allocations: 20.2 kB / 0.5791 GB, free: 91.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000844/1.009, allocations: 94.92 kB / 0.5792 GB, free: 91.2 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002093/1.01, allocations: 86.12 kB / 0.5793 GB, free: 91.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.445e-05/1.01, allocations: 30.55 kB / 0.5793 GB, free: 91.2 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001365/1.011, allocations: 0.9911 MB / 0.5803 GB, free: 91.09 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.81e-07/1.011, allocations: 0 / 0.5803 GB, free: 91.09 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00149/1.013, allocations: 417.3 kB / 0.5807 GB, free: 91.09 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (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,converter_s[1].Phi.re,reluctance_s[2].V_m.im,reluctance_s[3].V_m.im) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 68 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 16,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003736/1.016, allocations: 3.468 MB / 0.5841 GB, free: 89.79 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001911/1.018, allocations: 1.489 MB / 0.5856 GB, free: 89.59 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/1.018, allocations: 3.031 kB / 0.5856 GB, free: 89.59 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001251/1.02, allocations: 1.052 MB / 0.5866 GB, free: 89.27 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001237/1.021, allocations: 225 kB / 0.5868 GB, free: 89.26 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006941/1.028, allocations: 4.483 MB / 0.5912 GB, free: 88.3 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001342/1.029, allocations: 2.129 MB / 0.5933 GB, free: 87.54 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001199/1.03, allocations: 441 kB / 0.5937 GB, free: 87.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008256/1.031, allocations: 0.8239 MB / 0.5945 GB, free: 87.49 MB / 442.7 MB Notification: Performance of SimCode: time 6.31e-07/1.031, allocations: 0 / 0.5945 GB, free: 87.49 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07134/1.103, allocations: 31.72 MB / 0.6255 GB, free: 86.01 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001446/1.103, allocations: 163.7 kB / 0.6256 GB, free: 85.82 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.827/3.93, allocations: 0 / 0.6256 GB, free: 85.82 MB / 442.7 MB (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat does not exist to compare? outputFormat=mat