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_YD.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: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 221.5 MB / 230.3 MB, free: 7.531 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009007/0.0009008, allocations: 90.23 kB / 281.2 MB, free: 5.273 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.507e-05/1.51e-05, allocations: 4 kB / 337.1 MB, free: 10.01 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1017, allocations: 50.42 MB / 387.5 MB, free: 7.551 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3507/0.4525, allocations: 111 MB / 498.4 MB, free: 15.83 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002761/0.4528, allocations: 87.94 kB / 498.5 MB, free: 15.74 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5097/0.9626, allocations: 91.62 MB / 0.5763 GB, free: 93.83 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.9626, allocations: 0 / 0.5763 GB, free: 93.83 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003123/0.9629, allocations: 96.42 kB / 0.5764 GB, free: 93.82 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1011 * Number of variables: 1011 Notification: Performance of Generate backend data structure: time 0.0101/0.973, allocations: 3.945 MB / 0.5803 GB, free: 92.29 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.9731, allocations: 11.47 kB / 0.5803 GB, free: 92.29 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004182/0.9773, allocations: 0.829 MB / 0.5811 GB, free: 92.04 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008399/0.9857, allocations: 3.815 MB / 0.5848 GB, free: 91.43 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001801/0.9859, allocations: 134.8 kB / 0.5849 GB, free: 91.42 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001028/0.9869, allocations: 232.1 kB / 0.5852 GB, free: 91.42 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007793/0.9947, allocations: 4.114 MB / 0.5892 GB, free: 91.34 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008389/1.003, allocations: 4.619 MB / 0.5937 GB, free: 89.27 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.327e-05/1.003, allocations: 7.906 kB / 0.5937 GB, free: 89.27 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003142/1.004, allocations: 3.969 kB / 0.5937 GB, free: 89.27 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001252/1.004, allocations: 170.7 kB / 0.5939 GB, free: 89.25 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.023/1.027, allocations: 16.19 MB / 0.6097 GB, free: 80.45 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005853/1.033, allocations: 8.591 MB / 0.6181 GB, free: 72.92 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001966/1.035, allocations: 1.733 MB / 0.6198 GB, free: 72.26 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006749/1.041, allocations: 4.711 MB / 0.6244 GB, free: 69.88 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001379/1.043, allocations: 1.195 MB / 0.6255 GB, free: 69.36 MB / 426.7 MB Notification: Performance of pre-optimization done (n=183): time 3.647e-06/1.043, allocations: 0 / 0.6255 GB, free: 69.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=186): time 0.008692/1.051, allocations: 5.904 MB / 0.6313 GB, free: 66.52 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.706e-05/1.052, allocations: 234.9 kB / 0.6315 GB, free: 66.27 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002067/1.054, allocations: 1.691 MB / 0.6332 GB, free: 65.55 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000104/1.054, allocations: 29.27 kB / 0.6332 GB, free: 65.52 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001168/1.055, allocations: 1.73 MB / 0.6349 GB, free: 64.22 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003329/1.055, allocations: 0.5812 MB / 0.6354 GB, free: 63.77 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.701e-05/1.055, allocations: 0 / 0.6354 GB, free: 63.77 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.662e-05/1.055, allocations: 389.7 kB / 0.6358 GB, free: 63.43 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001122/1.057, allocations: 0.9029 MB / 0.6367 GB, free: 63.03 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001293/1.058, allocations: 1.428 MB / 0.6381 GB, free: 61.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001629/1.06, allocations: 1.235 MB / 0.6393 GB, free: 60.48 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.193e-06/1.06, allocations: 8 kB / 0.6393 GB, free: 60.47 MB / 426.7 MB Notification: Performance of matching and sorting (n=264) (initialization): time 0.004296/1.064, allocations: 3.253 MB / 0.6425 GB, free: 57.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/1.064, allocations: 12 kB / 0.6425 GB, free: 57.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/1.064, allocations: 16 kB / 0.6425 GB, free: 57.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001407/1.065, allocations: 0.7298 MB / 0.6432 GB, free: 56.97 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/1.067, allocations: 370.7 kB / 0.6436 GB, free: 56.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008069/1.075, allocations: 10.44 MB / 0.6538 GB, free: 46.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001712/1.077, allocations: 103.2 kB / 0.6539 GB, free: 46.63 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001639/1.077, allocations: 89.95 kB / 0.654 GB, free: 46.55 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchYD.idealCloser.control[1],switchYD.idealCloser.control[2],switchYD.idealCloser.control[3],switchYD.idealOpener.control[1],switchYD.idealOpener.control[2],switchYD.idealOpener.control[3],$PRE.switchYD.logicalDelay[1].tSwitch,switchYD.logicalDelay[1].tSwitch,$PRE.switchYD.logicalDelay[2].tSwitch,switchYD.logicalDelay[2].tSwitch,$PRE.switchYD.logicalDelay[3].tSwitch,switchYD.logicalDelay[3].tSwitch,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (208): * Single equations (assignments): 203 * 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: 4 * 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%) 8,(9,33.3%) 25,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003249/1.077, allocations: 170.4 kB / 0.6541 GB, free: 46.38 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002645/1.077, allocations: 225.2 kB / 0.6543 GB, free: 46.16 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004694/1.082, allocations: 3.184 MB / 0.6574 GB, free: 43.44 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/1.082, allocations: 19.61 kB / 0.6575 GB, free: 43.42 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/1.082, allocations: 12 kB / 0.6575 GB, free: 43.41 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.686e-05/1.082, allocations: 15.11 kB / 0.6575 GB, free: 43.41 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008526/1.091, allocations: 6.304 MB / 0.6636 GB, free: 37.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/1.091, allocations: 4 kB / 0.6637 GB, free: 37.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007685/1.091, allocations: 187.9 kB / 0.6638 GB, free: 37.49 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001866/1.093, allocations: 0.8966 MB / 0.6647 GB, free: 36.58 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000131/1.093, allocations: 23.94 kB / 0.6647 GB, free: 36.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01135/1.105, allocations: 14.66 MB / 0.679 GB, free: 21.23 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/1.105, allocations: 7.969 kB / 0.6791 GB, free: 21.23 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006059/1.111, allocations: 4.655 MB / 0.6836 GB, free: 16.43 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001129/1.112, allocations: 0.5216 MB / 0.6841 GB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003008/1.112, allocations: 16 kB / 0.6841 GB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001048/1.113, allocations: 83.91 kB / 0.6842 GB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005498/1.114, allocations: 217.6 kB / 0.6844 GB, free: 15.58 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001057/1.114, allocations: 47.98 kB / 0.6845 GB, free: 15.54 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001958/1.116, allocations: 1.26 MB / 0.6857 GB, free: 14.25 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.116, allocations: 0 / 0.6857 GB, free: 14.25 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002837/1.119, allocations: 0.7109 MB / 0.6864 GB, free: 13.54 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.zeroInductor.i0,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 21 (booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchYD.idealCloser.control[1],switchYD.idealCloser.control[2],switchYD.idealCloser.control[3],switchYD.idealOpener.control[1],switchYD.idealOpener.control[2],switchYD.idealOpener.control[3],switchYD.logicalDelay[1].tSwitch,switchYD.logicalDelay[2].tSwitch,switchYD.logicalDelay[3].tSwitch) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * 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%) 8,(9,33.3%) 25,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005651/1.12, allocations: 355.4 kB / 0.6867 GB, free: 13.23 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00361/1.123, allocations: 2.986 MB / 0.6896 GB, free: 10.18 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/1.123, allocations: 4.25 kB / 0.6896 GB, free: 10.18 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002648/1.126, allocations: 2.232 MB / 0.6918 GB, free: 7.891 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002991/1.129, allocations: 0.5136 MB / 0.6923 GB, free: 7.398 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00996/1.139, allocations: 5.806 MB / 0.698 GB, free: 1.574 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002438/1.141, allocations: 2.909 MB / 0.7008 GB, free: 14.64 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001807/1.143, allocations: 469.4 kB / 0.7013 GB, free: 14.2 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003942/1.144, allocations: 135.4 kB / 0.7014 GB, free: 14.06 MB / 442.7 MB Notification: Performance of SimCode: time 1.462e-06/1.144, allocations: 0 / 0.7014 GB, free: 14.06 MB / 442.7 MB Notification: Performance of Templates: time 0.3066/1.45, allocations: 34.26 MB / 0.7349 GB, free: 96.66 MB / 442.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_YD/IMC_YD.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches