Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.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.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL",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.001136/0.001136, allocations: 172.9 kB / 14.1 MB, free: 1.223 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.426/1.426, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.0008003/0.0008004, allocations: 86.59 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.482e-05/2.485e-05, allocations: 11.98 kB / 322.6 MB, free: 17.22 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08877/0.08881, allocations: 47.57 MB / 370.1 MB, free: 1.59 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3751/0.4639, allocations: 152.8 MB / 0.5107 GB, free: 5.449 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003275/0.4643, allocations: 99.44 kB / 0.5108 GB, free: 5.395 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.619/2.083, allocations: 456.7 MB / 0.9568 GB, free: 33.95 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.524e-06/2.083, allocations: 0 / 0.9568 GB, free: 33.95 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.001001/2.084, allocations: 330.8 kB / 0.9571 GB, free: 33.9 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3978 * Number of variables: 3978 Notification: Performance of Generate backend data structure: time 0.04482/2.129, allocations: 13.28 MB / 0.9701 GB, free: 28.37 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.414e-05/2.129, allocations: 11.12 kB / 0.9701 GB, free: 28.37 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01042/2.14, allocations: 2.303 MB / 0.9723 GB, free: 27.28 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03447/2.174, allocations: 6.471 MB / 0.9786 GB, free: 23.54 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02656/2.201, allocations: 11.51 MB / 0.9899 GB, free: 12.12 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001611/2.202, allocations: 1.048 MB / 0.9909 GB, free: 11.08 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006436/2.209, allocations: 1.376 MB / 0.9922 GB, free: 9.719 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06564/2.274, allocations: 23.38 MB / 1.015 GB, free: 1.906 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007226/2.275, allocations: 19.89 kB / 1.015 GB, free: 1.887 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005461/2.281, allocations: 0.5886 MB / 1.016 GB, free: 1.312 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001058/2.282, allocations: 0.931 MB / 1.017 GB, free: 388 kB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3454/2.627, allocations: 20.99 MB / 1.037 GB, free: 50.06 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1403/2.767, allocations: 75.13 MB / 1.11 GB, free: 26.53 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02851/2.796, allocations: 28.25 MB / 1.138 GB, free: 5.852 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01642/2.812, allocations: 9.358 MB / 1.147 GB, free: 1.871 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07329/2.886, allocations: 30.05 MB / 1.177 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001303/2.886, allocations: 115.3 kB / 1.177 GB, free: 13.32 MB / 490.7 MB Notification: Performance of pre-optimization done (n=934): time 1.474e-05/2.886, allocations: 4 kB / 1.177 GB, free: 13.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=942): time 0.4234/3.309, allocations: 33.96 MB / 1.21 GB, free: 73.73 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001348/3.31, allocations: 159.8 kB / 1.21 GB, free: 73.63 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009108/3.319, allocations: 4.101 MB / 1.214 GB, free: 73.29 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001941/3.321, allocations: 153.6 kB / 1.214 GB, free: 73.26 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003673/3.324, allocations: 5.337 MB / 1.219 GB, free: 70.72 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004425/3.329, allocations: 3.104 MB / 1.222 GB, free: 68.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001138/3.33, allocations: 167.2 kB / 1.223 GB, free: 68.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000824/3.331, allocations: 0.6832 MB / 1.223 GB, free: 68.38 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01012/3.341, allocations: 5.962 MB / 1.229 GB, free: 68.36 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01098/3.352, allocations: 7.834 MB / 1.237 GB, free: 66.41 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0113/3.363, allocations: 7.269 MB / 1.244 GB, free: 66.29 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.97e-05/3.363, allocations: 15.06 kB / 1.244 GB, free: 66.29 MB / 490.7 MB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.03043/3.394, allocations: 18.39 MB / 1.262 GB, free: 65.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.616e-05/3.394, allocations: 29.03 kB / 1.262 GB, free: 65.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001272/3.394, allocations: 51.22 kB / 1.262 GB, free: 65.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01166/3.406, allocations: 5.871 MB / 1.268 GB, free: 64.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006918/3.413, allocations: 1.519 MB / 1.269 GB, free: 64.29 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02146/3.434, allocations: 19.98 MB / 1.289 GB, free: 51.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008212/3.443, allocations: 427.4 kB / 1.289 GB, free: 51.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002606/3.445, allocations: 380.3 kB / 1.289 GB, free: 51.1 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 232 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (800): * Single equations (assignments): 747 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 44 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 4 {6 9,6 9,6 9,30 175} Notification: Performance of prepare postOptimizeDAE: time 0.003873/3.449, allocations: 0.5618 MB / 1.29 GB, free: 50.72 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00242/3.452, allocations: 0.661 MB / 1.29 GB, free: 50.37 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03451/3.486, allocations: 18.08 MB / 1.308 GB, free: 42.66 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02694/3.513, allocations: 14.28 MB / 1.322 GB, free: 35.12 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.859e-05/3.513, allocations: 8 kB / 1.322 GB, free: 35.11 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001967/3.513, allocations: 41.62 kB / 1.322 GB, free: 35.11 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07725/3.591, allocations: 35.33 MB / 1.357 GB, free: 5.539 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001175/3.591, allocations: 4 kB / 1.357 GB, free: 5.535 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005946/3.597, allocations: 1.036 MB / 1.358 GB, free: 4.742 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01488/3.612, allocations: 5.957 MB / 1.363 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002734/3.615, allocations: 211.8 kB / 1.364 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3741/3.989, allocations: 24.5 MB / 1.388 GB, free: 79.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/3.989, allocations: 8.406 kB / 1.388 GB, free: 79.14 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04458/4.033, allocations: 27.01 MB / 1.414 GB, free: 77.63 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005634/4.039, allocations: 2.101 MB / 1.416 GB, free: 77.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0019/4.041, allocations: 149.2 kB / 1.416 GB, free: 77.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004276/4.045, allocations: 372.4 kB / 1.417 GB, free: 77.54 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001499/4.047, allocations: 0.7077 MB / 1.417 GB, free: 77.53 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006485/4.047, allocations: 258.4 kB / 1.417 GB, free: 77.53 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.005265/4.053, allocations: 3.101 MB / 1.42 GB, free: 77.32 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.9e-07/4.053, allocations: 2.844 kB / 1.42 GB, free: 77.32 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.009891/4.063, allocations: 2.496 MB / 1.423 GB, free: 77.32 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 10 (imc.inertiaRotor.w,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.zeroInductor.i0,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,loadInertiaQS.w,quadraticLoadTorqueQS.phi,imcQS.rotorCage.port_p.reference.gamma) * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (552): * Single equations (assignments): 498 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 44 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 4 {6 9,6 9,6 9,30 175} Notification: Performance of Backend phase and start with SimCode phase: time 0.03852/4.101, allocations: 28.94 MB / 1.451 GB, free: 71.12 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02584/4.127, allocations: 15.39 MB / 1.466 GB, free: 64.83 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.268e-05/4.127, allocations: 3.906 kB / 1.466 GB, free: 64.83 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01544/4.142, allocations: 8.718 MB / 1.475 GB, free: 60.98 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01086/4.153, allocations: 1.488 MB / 1.476 GB, free: 60.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08561/4.239, allocations: 30.21 MB / 1.506 GB, free: 39.36 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02032/4.259, allocations: 9.323 MB / 1.515 GB, free: 32.36 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01036/4.27, allocations: 2.069 MB / 1.517 GB, free: 30.94 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01118/4.281, allocations: 5.281 MB / 1.522 GB, free: 26.01 MB / 0.4948 GB Notification: Performance of SimCode: time 1.032e-06/4.281, allocations: 0 / 1.522 GB, free: 26.01 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.015/5.296, allocations: 250.5 MB / 1.767 GB, free: 74.23 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001865/5.296, allocations: 231.6 kB / 1.767 GB, free: 73.93 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.322/13.62, allocations: 7.484 kB / 1.767 GB, free: 73.92 MB / 0.5261 GB (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat does not exist to compare? outputFormat=mat