Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_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 4.0.0+maint.om/package.mo): time 0.001718/0.001718, allocations: 180.9 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.236/1.236, allocations: 223.2 MB / 240.3 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009203/0.0009202, allocations: 90.2 kB / 291.5 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002425/0.0002425, allocations: 8 kB / 351.2 MB, free: 15.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2201/0.2204, allocations: 50.4 MB / 401.6 MB, free: 32.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3363/0.5567, allocations: 123.5 MB / 0.5128 GB, free: 52.03 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/0.557, allocations: 103.5 kB / 0.5129 GB, free: 52.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2559/0.813, allocations: 117.8 MB / 0.6279 GB, free: 6.395 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.759e-06/0.813, allocations: 0 / 0.6279 GB, free: 6.395 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005201/0.8136, allocations: 135.8 kB / 0.628 GB, free: 6.262 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1348 * Number of variables: 1348 Notification: Performance of Generate backend data structure: time 0.0162/0.8298, allocations: 5.447 MB / 0.6333 GB, free: 0.7305 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.8298, allocations: 8.031 kB / 0.6333 GB, free: 0.7227 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002281/0.8321, allocations: 0.7115 MB / 0.634 GB, free: 0 / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005161/0.8373, allocations: 1 MB / 0.635 GB, free: 14.99 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0132/0.8505, allocations: 4.633 MB / 0.6395 GB, free: 10.28 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004338/0.851, allocations: 390.3 kB / 0.6399 GB, free: 9.898 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002022/0.8531, allocations: 0.5037 MB / 0.6404 GB, free: 9.395 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01703/0.8701, allocations: 6.827 MB / 0.6471 GB, free: 2.367 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001575/0.8703, allocations: 15.89 kB / 0.6471 GB, free: 2.352 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006612/0.871, allocations: 223.9 kB / 0.6473 GB, free: 2.133 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000211/0.8712, allocations: 238.2 kB / 0.6475 GB, free: 1.898 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01271/0.8839, allocations: 5.596 MB / 0.653 GB, free: 12.29 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2842/1.168, allocations: 21.41 MB / 0.6739 GB, free: 54.4 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006542/1.175, allocations: 8.759 MB / 0.6824 GB, free: 48.61 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009412/1.184, allocations: 5.199 MB / 0.6875 GB, free: 47.93 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.696e-05/1.184, allocations: 64.34 kB / 0.6876 GB, free: 47.89 MB / 442.7 MB Notification: Performance of pre-optimization done (n=230): time 4.579e-06/1.184, allocations: 0 / 0.6876 GB, free: 47.89 MB / 442.7 MB Notification: Performance of matching and sorting (n=249): time 0.02158/1.206, allocations: 11.7 MB / 0.699 GB, free: 45.75 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/1.206, allocations: 76.38 kB / 0.6991 GB, free: 45.68 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004555/1.211, allocations: 2.603 MB / 0.7016 GB, free: 45.46 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006365/1.211, allocations: 73.83 kB / 0.7017 GB, free: 45.43 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001489/1.213, allocations: 2.291 MB / 0.7039 GB, free: 44.7 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000934/1.214, allocations: 0.8472 MB / 0.7048 GB, free: 44.21 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001582/1.214, allocations: 57.28 kB / 0.7048 GB, free: 44.21 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001402/1.214, allocations: 428.7 kB / 0.7052 GB, free: 43.9 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001896/1.216, allocations: 1.384 MB / 0.7066 GB, free: 43.89 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002184/1.218, allocations: 2.124 MB / 0.7087 GB, free: 43.05 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002377/1.22, allocations: 1.733 MB / 0.7103 GB, free: 43.01 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.528e-05/1.221, allocations: 7.531 kB / 0.7104 GB, free: 43.01 MB / 442.7 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.007192/1.228, allocations: 4.711 MB / 0.715 GB, free: 42.54 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.483e-05/1.228, allocations: 13.59 kB / 0.715 GB, free: 42.54 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.348e-05/1.228, allocations: 24 kB / 0.715 GB, free: 42.54 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00186/1.23, allocations: 0.7513 MB / 0.7157 GB, free: 42.46 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002939/1.233, allocations: 0.6567 MB / 0.7164 GB, free: 42.46 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01002/1.243, allocations: 13.56 MB / 0.7296 GB, free: 33.42 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003142/1.246, allocations: 161.1 kB / 0.7298 GB, free: 33.42 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004431/1.246, allocations: 119.4 kB / 0.7299 GB, free: 33.42 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * Number of states: 0 () * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (330): * Single equations (assignments): 320 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(2,100.0%) 12,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003289/1.25, allocations: 1.608 MB / 0.7314 GB, free: 33.29 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009466/1.251, allocations: 329 kB / 0.7318 GB, free: 33.12 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006441/1.257, allocations: 4.313 MB / 0.736 GB, free: 32.69 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-05/1.257, allocations: 25.81 kB / 0.736 GB, free: 32.69 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.706e-05/1.257, allocations: 10.91 kB / 0.736 GB, free: 32.69 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.165e-05/1.257, allocations: 13.27 kB / 0.736 GB, free: 32.69 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01529/1.272, allocations: 9.316 MB / 0.7451 GB, free: 29.02 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/1.273, allocations: 3.625 kB / 0.7451 GB, free: 29.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001666/1.274, allocations: 408.6 kB / 0.7455 GB, free: 29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002267/1.276, allocations: 0.921 MB / 0.7464 GB, free: 28.72 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002316/1.277, allocations: 75.16 kB / 0.7465 GB, free: 28.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01277/1.29, allocations: 16.81 MB / 0.7629 GB, free: 31.12 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/1.29, allocations: 15.06 kB / 0.7629 GB, free: 31.12 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008485/1.298, allocations: 6.577 MB / 0.7693 GB, free: 27.83 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001948/1.3, allocations: 0.7102 MB / 0.77 GB, free: 27.38 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005666/1.301, allocations: 56.47 kB / 0.7701 GB, free: 27.34 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001531/1.302, allocations: 146.1 kB / 0.7702 GB, free: 27.31 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004308/1.303, allocations: 208.3 kB / 0.7704 GB, free: 27.28 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001542/1.303, allocations: 74.03 kB / 0.7705 GB, free: 27.27 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002709/1.305, allocations: 1.987 MB / 0.7724 GB, free: 26.52 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.3e-07/1.305, allocations: 3.031 kB / 0.7724 GB, free: 26.52 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003594/1.309, allocations: 1.03 MB / 0.7734 GB, free: 26.41 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 14 (aimcM.inertiaRotor.w,aimcM.stator.core.Phi.re,aimcM.stator.core.Phi.im,aimcM.stator.zeroInductor.i0,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,aimcE.inertiaRotor.w,aimcE.i_0_s,aimcE.idq_sr[1],aimcE.idq_sr[2],aimcE.idq_rr[1],aimcE.idq_rr[2],quadraticLoadTorqueM.phi,quadraticLoadTorqueE.phi) * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (190): * Single equations (assignments): 181 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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: 8 {(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 1,(1,100.0%) 13,(1,100.0%) 8,(1,100.0%) 1,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009397/1.318, allocations: 8.442 MB / 0.7817 GB, free: 21.66 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006516/1.325, allocations: 4.662 MB / 0.7862 GB, free: 19.34 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.211e-05/1.325, allocations: 7.344 kB / 0.7862 GB, free: 19.34 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004524/1.33, allocations: 3.108 MB / 0.7893 GB, free: 17.57 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004553/1.334, allocations: 0.8266 MB / 0.7901 GB, free: 17.36 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07117/1.405, allocations: 45.5 MB / 0.8345 GB, free: 6.816 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004499/1.41, allocations: 3.532 MB / 0.838 GB, free: 4.141 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003507/1.413, allocations: 0.7717 MB / 0.8387 GB, free: 3.602 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00365/1.417, allocations: 1.952 MB / 0.8406 GB, free: 1.793 MB / 490.7 MB Notification: Performance of SimCode: time 1.183e-06/1.417, allocations: 4 kB / 0.8406 GB, free: 1.789 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3849/1.802, allocations: 87.73 MB / 0.9263 GB, free: 90.09 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001395/1.802, allocations: 238.9 kB / 0.9265 GB, free: 89.85 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.75/6.552, allocations: 0 / 0.9265 GB, free: 89.85 MB / 490.7 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL.fmu > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat does not exist to compare? outputFormat=mat