Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.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: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc3.is.1.|aimc3.is.2.|aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.is.1.|aimcM.is.2.|aimcM.is.3.|aimcM.is.4.|aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc3.is.1.|aimc3.is.2.|aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.is.1.|aimcM.is.2.|aimcM.is.3.|aimcM.is.4.|aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009192/0.0009192, allocations: 200.7 kB / 18.11 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 226.5 MB / 245.4 MB, free: 8.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000741/0.000741, allocations: 94.36 kB / 297.5 MB, free: 6.867 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001993/0.0001994, allocations: 8 kB / 358.1 MB, free: 10.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1915/0.1917, allocations: 51.28 MB / 409.4 MB, free: 27.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2722/0.4639, allocations: 115.8 MB / 0.5129 GB, free: 98.59 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002182/0.4642, allocations: 104 kB / 0.513 GB, free: 98.59 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5664/1.031, allocations: 188.9 MB / 0.6974 GB, free: 40.11 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.523e-06/1.031, allocations: 3.812 kB / 0.6974 GB, free: 40.11 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0006357/1.031, allocations: 194.5 kB / 0.6976 GB, free: 40.1 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: 2135 * Number of variables: 2135 Notification: Performance of Generate backend data structure: time 0.02375/1.055, allocations: 8.35 MB / 0.7058 GB, free: 37.29 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/1.055, allocations: 8.656 kB / 0.7058 GB, free: 37.29 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01094/1.066, allocations: 1.923 MB / 0.7076 GB, free: 36.8 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01482/1.081, allocations: 6.414 MB / 0.7139 GB, free: 35.73 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005599/1.081, allocations: 0.5941 MB / 0.7145 GB, free: 35.71 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002553/1.084, allocations: 0.7936 MB / 0.7153 GB, free: 35.7 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02536/1.109, allocations: 11.04 MB / 0.726 GB, free: 34.85 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003447/1.11, allocations: 7.906 kB / 0.726 GB, free: 34.84 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001956/1.112, allocations: 345.3 kB / 0.7264 GB, free: 34.84 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003215/1.112, allocations: 369.3 kB / 0.7267 GB, free: 34.82 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02033/1.132, allocations: 9.311 MB / 0.7358 GB, free: 34.73 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0589/1.191, allocations: 34.76 MB / 0.7698 GB, free: 20.59 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01491/1.206, allocations: 21.04 MB / 0.7903 GB, free: 2.055 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007703/1.214, allocations: 5.035 MB / 0.7952 GB, free: 0.6172 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01743/1.232, allocations: 10.77 MB / 0.8057 GB, free: 11.02 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.524e-05/1.232, allocations: 72.09 kB / 0.8058 GB, free: 10.96 MB / 458.7 MB Notification: Performance of pre-optimization done (n=321): time 4.869e-06/1.232, allocations: 2.734 kB / 0.8058 GB, free: 10.96 MB / 458.7 MB Notification: Performance of matching and sorting (n=327): time 0.03237/1.264, allocations: 15.91 MB / 0.8213 GB, free: 15.14 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.558e-05/1.264, allocations: 85.98 kB / 0.8214 GB, free: 15.04 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006098/1.27, allocations: 4.361 MB / 0.8257 GB, free: 11.36 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002559/1.27, allocations: 77.7 kB / 0.8258 GB, free: 11.28 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002263/1.273, allocations: 3.55 MB / 0.8292 GB, free: 8.121 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008322/1.274, allocations: 1.108 MB / 0.8303 GB, free: 7.129 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002042/1.274, allocations: 80 kB / 0.8304 GB, free: 7.051 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002146/1.274, allocations: 455.6 kB / 0.8308 GB, free: 6.645 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002898/1.277, allocations: 1.874 MB / 0.8326 GB, free: 5.055 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003391/1.28, allocations: 2.904 MB / 0.8355 GB, free: 2.07 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01119/1.292, allocations: 5.384 MB / 0.8407 GB, free: 14.14 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.621e-05/1.292, allocations: 8 kB / 0.8408 GB, free: 14.14 MB / 490.7 MB Notification: Performance of matching and sorting (n=494) (initialization): time 0.009984/1.302, allocations: 6.307 MB / 0.8469 GB, free: 8.566 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.317e-05/1.302, allocations: 24 kB / 0.8469 GB, free: 8.543 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.511e-05/1.302, allocations: 32 kB / 0.847 GB, free: 8.512 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00231/1.304, allocations: 0.9854 MB / 0.8479 GB, free: 7.688 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002837/1.307, allocations: 0.8017 MB / 0.8487 GB, free: 7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2247/1.531, allocations: 16.3 MB / 0.8646 GB, free: 74.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003728/1.535, allocations: 188 kB / 0.8648 GB, free: 74.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005459/1.536, allocations: 164.2 kB / 0.865 GB, free: 74.9 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 140 * Number of states: 0 () * Number of discrete variables: 8 (booleanStepM[1].y,booleanStepM[2].y,booleanStepM[3].y,booleanStepM[4].y,booleanStepM[5].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (426): * Single equations (assignments): 417 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(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 {(1,100.0%) 8,(1,100.0%) 1,(3,100.0%) 23,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2,(4,75.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004638/1.54, allocations: 2.586 MB / 0.8675 GB, free: 74.79 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009668/1.541, allocations: 458.5 kB / 0.8679 GB, free: 74.79 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00954/1.551, allocations: 5.981 MB / 0.8738 GB, free: 74.28 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.151e-05/1.551, allocations: 30.97 kB / 0.8738 GB, free: 74.28 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-05/1.551, allocations: 20.83 kB / 0.8738 GB, free: 74.28 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.689e-05/1.551, allocations: 15.33 kB / 0.8738 GB, free: 74.28 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0208/1.572, allocations: 13.1 MB / 0.8866 GB, free: 73.31 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-05/1.572, allocations: 5.297 kB / 0.8866 GB, free: 73.31 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001546/1.574, allocations: 389.8 kB / 0.887 GB, free: 73.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003472/1.577, allocations: 1.546 MB / 0.8885 GB, free: 73.23 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002747/1.577, allocations: 93.98 kB / 0.8886 GB, free: 73.23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02257/1.6, allocations: 25.42 MB / 0.9134 GB, free: 61.38 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/1.6, allocations: 6.688 kB / 0.9134 GB, free: 61.38 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01233/1.612, allocations: 8.522 MB / 0.9217 GB, free: 60.54 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002532/1.615, allocations: 0.9678 MB / 0.9227 GB, free: 60.16 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009835/1.616, allocations: 84.14 kB / 0.9228 GB, free: 60.11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002191/1.618, allocations: 187.1 kB / 0.923 GB, free: 60.07 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009426/1.619, allocations: 330.1 kB / 0.9233 GB, free: 60.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002127/1.619, allocations: 91.09 kB / 0.9234 GB, free: 60 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004942/1.624, allocations: 2.977 MB / 0.9263 GB, free: 58.88 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.7e-07/1.624, allocations: 0 / 0.9263 GB, free: 58.88 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005692/1.63, allocations: 1.508 MB / 0.9277 GB, free: 58.73 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 12 (aimcM.inertiaRotor.w,aimcM.stator.core.Phi.re,aimcM.stator.core.Phi.im,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.re,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.im,quadraticLoadTorqueM.phi,aimc3.inertiaRotor.w,aimc3.stator.core.Phi.re,aimc3.stator.core.Phi.im,aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque3.phi) * Number of discrete variables: 8 (booleanStepM[1].y,booleanStepM[2].y,booleanStepM[3].y,booleanStepM[4].y,booleanStepM[5].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (194): * Single equations (assignments): 185 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12,(1,100.0%) 1,(6,83.3%) 46,(3,100.0%) 23,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009202/1.631, allocations: 0.498 MB / 0.9282 GB, free: 58.57 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007731/1.639, allocations: 5.816 MB / 0.9339 GB, free: 55.88 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.283e-06/1.639, allocations: 2.406 kB / 0.9339 GB, free: 55.88 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005638/1.644, allocations: 4.209 MB / 0.938 GB, free: 53.65 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008275/1.653, allocations: 1.208 MB / 0.9392 GB, free: 53.35 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02451/1.677, allocations: 17.42 MB / 0.9562 GB, free: 44.02 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004853/1.682, allocations: 5.125 MB / 0.9612 GB, free: 42.21 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003752/1.686, allocations: 0.9971 MB / 0.9622 GB, free: 42.09 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00073/1.686, allocations: 277.5 kB / 0.9624 GB, free: 42.08 MB / 490.7 MB Notification: Performance of SimCode: time 1.012e-06/1.686, allocations: 0 / 0.9624 GB, free: 42.08 MB / 490.7 MB Notification: Performance of Templates: time 0.3493/2.036, allocations: 74.51 MB / 1.035 GB, free: 75.61 MB / 490.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/ComparisonPolyphase/IMC_DOL_Polyphase/IMC_DOL_Polyphase.csv","../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches