Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.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.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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009628/0.0009629, allocations: 201.2 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.262/1.262, allocations: 226.5 MB / 245.4 MB, free: 6.473 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008973/0.0008973, allocations: 95.34 kB / 297.5 MB, free: 6.668 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003259/0.000326, allocations: 8 kB / 358.1 MB, free: 10.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.2834, allocations: 51.28 MB / 409.4 MB, free: 27.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2945/0.5779, allocations: 112.8 MB / 0.51 GB, free: 97.55 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/0.5782, allocations: 98.81 kB / 0.5101 GB, free: 97.55 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1918/0.77, allocations: 95.7 MB / 0.6035 GB, free: 8.004 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.7701, allocations: 0 / 0.6035 GB, free: 8.004 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003648/0.7704, allocations: 99.88 kB / 0.6036 GB, free: 7.906 MB / 378.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.01222/0.7827, allocations: 4.359 MB / 0.6079 GB, free: 3.473 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/0.7827, allocations: 12.03 kB / 0.6079 GB, free: 3.461 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00476/0.7875, allocations: 0.8621 MB / 0.6087 GB, free: 2.594 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007232/0.7948, allocations: 3.249 MB / 0.6119 GB, free: 15.29 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003505/0.7951, allocations: 292.1 kB / 0.6122 GB, free: 15.01 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001268/0.7964, allocations: 392.2 kB / 0.6125 GB, free: 14.62 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01145/0.8079, allocations: 5.314 MB / 0.6177 GB, free: 9.176 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001324/0.808, allocations: 11.86 kB / 0.6177 GB, free: 9.164 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007158/0.8088, allocations: 164 kB / 0.6179 GB, free: 9.004 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001629/0.8089, allocations: 163.7 kB / 0.6181 GB, free: 8.844 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008776/0.8177, allocations: 4.5 MB / 0.6225 GB, free: 4.34 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02827/0.846, allocations: 17.07 MB / 0.6391 GB, free: 2.871 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008252/0.8543, allocations: 8.797 MB / 0.6477 GB, free: 9.078 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002982/0.8573, allocations: 1.881 MB / 0.6495 GB, free: 7.199 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009025/0.8664, allocations: 5.136 MB / 0.6546 GB, free: 1.926 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001958/0.8684, allocations: 1.317 MB / 0.6558 GB, free: 0.5742 MB / 426.7 MB Notification: Performance of pre-optimization done (n=185): time 4.479e-06/0.8684, allocations: 0 / 0.6558 GB, free: 0.5742 MB / 426.7 MB Notification: Performance of matching and sorting (n=188): time 0.01824/0.8866, allocations: 8.69 MB / 0.6643 GB, free: 7.672 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000141/0.8868, allocations: 235.5 kB / 0.6646 GB, free: 7.395 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004074/0.8909, allocations: 2.3 MB / 0.6668 GB, free: 5.066 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001734/0.8911, allocations: 65.69 kB / 0.6669 GB, free: 4.996 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001636/0.8927, allocations: 1.73 MB / 0.6686 GB, free: 3.242 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005525/0.8933, allocations: 0.6086 MB / 0.6692 GB, free: 2.625 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/0.8934, allocations: 44 kB / 0.6692 GB, free: 2.582 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001908/0.8936, allocations: 390 kB / 0.6696 GB, free: 2.195 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001761/0.8954, allocations: 1.003 MB / 0.6705 GB, free: 1.188 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.195/1.09, allocations: 1.552 MB / 0.6721 GB, free: 84.17 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003913/1.094, allocations: 2.555 MB / 0.6746 GB, free: 83.64 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.176e-05/1.094, allocations: 2.75 kB / 0.6746 GB, free: 83.64 MB / 442.7 MB Notification: Performance of matching and sorting (n=266) (initialization): time 0.005115/1.1, allocations: 3.501 MB / 0.678 GB, free: 83.41 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/1.1, allocations: 10.72 kB / 0.678 GB, free: 83.41 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.193e-05/1.1, allocations: 14.56 kB / 0.678 GB, free: 83.41 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001558/1.101, allocations: 0.7689 MB / 0.6788 GB, free: 83.37 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001329/1.103, allocations: 372 kB / 0.6791 GB, free: 83.37 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009285/1.112, allocations: 10.85 MB / 0.6897 GB, free: 78.12 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001946/1.114, allocations: 144.4 kB / 0.6898 GB, free: 78.12 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001669/1.114, allocations: 81.56 kB / 0.6899 GB, free: 78.12 MB / 442.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (210): * Single equations (assignments): 205 * 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.002184/1.116, allocations: 1.326 MB / 0.6912 GB, free: 78 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003875/1.117, allocations: 251.5 kB / 0.6915 GB, free: 78 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004958/1.122, allocations: 3.374 MB / 0.6947 GB, free: 77.61 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.091e-05/1.122, allocations: 18.12 kB / 0.6948 GB, free: 77.61 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.483e-05/1.122, allocations: 14.31 kB / 0.6948 GB, free: 77.61 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.635e-05/1.122, allocations: 11.7 kB / 0.6948 GB, free: 77.61 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01021/1.132, allocations: 7.019 MB / 0.7016 GB, free: 76.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/1.132, allocations: 2.594 kB / 0.7016 GB, free: 76.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007697/1.133, allocations: 186.8 kB / 0.7018 GB, free: 76.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002128/1.135, allocations: 0.9428 MB / 0.7027 GB, free: 76.85 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001242/1.135, allocations: 45 kB / 0.7028 GB, free: 76.85 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01234/1.147, allocations: 15.24 MB / 0.7177 GB, free: 68.64 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/1.147, allocations: 8.516 kB / 0.7177 GB, free: 68.64 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006431/1.154, allocations: 4.799 MB / 0.7224 GB, free: 66.54 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001084/1.155, allocations: 0.555 MB / 0.7229 GB, free: 66.18 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002991/1.155, allocations: 43.31 kB / 0.7229 GB, free: 66.15 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/1.156, allocations: 118.1 kB / 0.7231 GB, free: 66.12 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004396/1.157, allocations: 211.3 kB / 0.7233 GB, free: 66.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.863e-05/1.157, allocations: 55.42 kB / 0.7233 GB, free: 66.07 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002042/1.159, allocations: 1.577 MB / 0.7249 GB, free: 65.45 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.9e-07/1.159, allocations: 0 / 0.7249 GB, free: 65.45 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002359/1.161, allocations: 0.8224 MB / 0.7257 GB, free: 65.37 MB / 442.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 103 * 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.0005373/1.162, allocations: 402.2 kB / 0.726 GB, free: 65.24 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004118/1.166, allocations: 3.28 MB / 0.7292 GB, free: 63.71 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/1.166, allocations: 4.5 kB / 0.7293 GB, free: 63.71 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002809/1.169, allocations: 2.429 MB / 0.7316 GB, free: 62.35 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00317/1.172, allocations: 0.6959 MB / 0.7323 GB, free: 62.18 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01035/1.182, allocations: 8.742 MB / 0.7408 GB, free: 57.42 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002116/1.184, allocations: 2.846 MB / 0.7436 GB, free: 56.22 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001732/1.186, allocations: 0.4977 MB / 0.7441 GB, free: 56.16 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003647/1.187, allocations: 146.7 kB / 0.7442 GB, free: 56.15 MB / 442.7 MB Notification: Performance of SimCode: time 6.61e-07/1.187, allocations: 4 kB / 0.7442 GB, free: 56.15 MB / 442.7 MB Notification: Performance of Templates: time 0.06206/1.249, allocations: 43.46 MB / 0.7867 GB, free: 34.88 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD_res.mat","/var/lib/jenkins1/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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches