Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400000,variableFilter="time|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|mass.s|mass.v|massQS.s|massQS.v|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400000,variableFilter="time|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|mass.s|mass.v|massQS.s|massQS.v|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001039/0.00104, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001176/0.001176, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.323/1.323, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001074/0.001074, allocations: 59.75 kB / 307 MB, free: 0.6133 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08624/0.08733, allocations: 50.54 MB / 357.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.1835/0.2709, allocations: 34.61 MB / 392.1 MB, free: 1.898 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02221/0.2932, allocations: 10 MB / 402.1 MB, free: 10.68 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007378/0.3006, allocations: 247.9 kB / 402.4 MB, free: 10.62 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01892/0.3195, allocations: 8.178 MB / 410.5 MB, free: 4.781 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01436/0.3339, allocations: 3.798 MB / 414.3 MB, free: 1.727 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007522/0.3415, allocations: 2.305 MB / 416.6 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01829/0.3598, allocations: 13.23 MB / 429.9 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03462/0.3944, allocations: 22.77 MB / 452.6 MB, free: 13.08 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009138/0.4036, allocations: 6.631 MB / 459.3 MB, free: 6.43 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01074/0.4143, allocations: 7.518 MB / 466.8 MB, free: 14.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004206/0.4186, allocations: 1.902 MB / 468.7 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00613/0.4247, allocations: 2.335 MB / 471 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004798/0.4295, allocations: 3.791 MB / 474.8 MB, free: 6.848 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01206/0.4416, allocations: 7.21 MB / 482 MB, free: 15.61 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02906/0.4707, allocations: 25.17 MB / 0.4953 GB, free: 6.371 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.4707, allocations: 0 / 0.4953 GB, free: 6.371 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.667e-06/0.4707, allocations: 0 / 0.4953 GB, free: 6.371 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0006044/0.4714, allocations: 3.938 kB / 0.4953 GB, free: 6.367 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3019 * Number of variables: 3019 Notification: Performance of Generate backend data structure: time 0.04203/0.5134, allocations: 14.92 MB / 0.5099 GB, free: 7.328 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.5135, allocations: 12.03 kB / 0.5099 GB, free: 7.316 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03846/0.5519, allocations: 6.736 MB / 0.5165 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01532/0.5673, allocations: 7.952 MB / 0.5242 GB, free: 8.527 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006673/0.568, allocations: 0.8108 MB / 0.525 GB, free: 7.715 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003554/0.5716, allocations: 1.086 MB / 0.5261 GB, free: 6.629 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3593/0.9309, allocations: 17.41 MB / 0.5431 GB, free: 121.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005267/0.9315, allocations: 20.58 kB / 0.5431 GB, free: 121.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003186/0.9347, allocations: 453.6 kB / 0.5435 GB, free: 121.2 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000695/0.9354, allocations: 0.6422 MB / 0.5442 GB, free: 121.1 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03878/0.9742, allocations: 16.37 MB / 0.5602 GB, free: 114.8 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08621/1.06, allocations: 55.94 MB / 0.6148 GB, free: 65.01 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02066/1.081, allocations: 33.7 MB / 0.6477 GB, free: 27.98 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006813/1.088, allocations: 4.459 MB / 0.6521 GB, free: 23.51 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01892/1.107, allocations: 12.45 MB / 0.6642 GB, free: 11.07 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003698/1.111, allocations: 3.098 MB / 0.6672 GB, free: 7.914 MB / 446.1 MB Notification: Performance of pre-optimization done (n=434): time 6.473e-06/1.111, allocations: 0 / 0.6672 GB, free: 7.914 MB / 446.1 MB Notification: Performance of matching and sorting (n=452): time 0.05028/1.161, allocations: 23.48 MB / 0.6902 GB, free: 276 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002211/1.161, allocations: 407.4 kB / 0.6906 GB, free: 15.79 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007917/1.169, allocations: 4.607 MB / 0.695 GB, free: 11.17 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009394/1.17, allocations: 101.7 kB / 0.6951 GB, free: 11.06 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00495/1.175, allocations: 4.76 MB / 0.6998 GB, free: 6.27 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002039/1.177, allocations: 1.546 MB / 0.7013 GB, free: 4.738 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002028/1.179, allocations: 1.133 MB / 0.7024 GB, free: 3.594 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/1.179, allocations: 301.1 kB / 0.7027 GB, free: 3.297 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004426/1.184, allocations: 2.832 MB / 0.7055 GB, free: 472 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006056/1.19, allocations: 5.018 MB / 0.7104 GB, free: 10.48 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0122/1.202, allocations: 8.303 MB / 0.7185 GB, free: 1.25 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.188e-05/1.202, allocations: 27.94 kB / 0.7185 GB, free: 1.223 MB / 494.1 MB Notification: Performance of matching and sorting (n=772) (initialization): time 0.2286/1.431, allocations: 9.564 MB / 0.7278 GB, free: 156.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.651e-05/1.431, allocations: 35.69 kB / 0.7279 GB, free: 156.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001239/1.431, allocations: 64.44 kB / 0.7279 GB, free: 156.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004046/1.435, allocations: 1.5 MB / 0.7294 GB, free: 156.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005092/1.44, allocations: 1.329 MB / 0.7307 GB, free: 156.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01808/1.458, allocations: 17.62 MB / 0.7479 GB, free: 144.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004607/1.463, allocations: 355.3 kB / 0.7482 GB, free: 144 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007049/1.464, allocations: 280 kB / 0.7485 GB, free: 143.9 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 297 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.dutyCycle.nextTimeEvent,$whenCondition1,dutyCycle.nextTimeEventScaled,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (688): * Single equations (assignments): 682 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,4,100.0%), (1,5,100.0%), (1,13,100.0%), (1,4,100.0%), (14,44,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005285/1.469, allocations: 3.918 MB / 0.7523 GB, free: 142 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001032/1.47, allocations: 0.5026 MB / 0.7528 GB, free: 142 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01254/1.482, allocations: 7.961 MB / 0.7606 GB, free: 138.6 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.809e-05/1.483, allocations: 53.69 kB / 0.7606 GB, free: 138.6 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.212e-05/1.483, allocations: 19.44 kB / 0.7607 GB, free: 138.6 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.892e-05/1.483, allocations: 22.08 kB / 0.7607 GB, free: 138.6 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02428/1.507, allocations: 17.49 MB / 0.7778 GB, free: 130.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.48e-05/1.507, allocations: 4 kB / 0.7778 GB, free: 130.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002914/1.51, allocations: 0.7475 MB / 0.7785 GB, free: 130.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003689/1.514, allocations: 1.576 MB / 0.78 GB, free: 128.9 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003156/1.514, allocations: 109.9 kB / 0.7801 GB, free: 128.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01767/1.532, allocations: 21.3 MB / 0.8009 GB, free: 107.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/1.532, allocations: 7.938 kB / 0.801 GB, free: 107.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01429/1.546, allocations: 11.47 MB / 0.8122 GB, free: 95.72 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002084/1.548, allocations: 1.148 MB / 0.8133 GB, free: 94.55 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006877/1.549, allocations: 98.81 kB / 0.8134 GB, free: 94.46 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002284/1.551, allocations: 235.8 kB / 0.8136 GB, free: 94.23 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006858/1.552, allocations: 339.6 kB / 0.8139 GB, free: 93.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000241/1.552, allocations: 140 kB / 0.8141 GB, free: 93.76 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003432/1.555, allocations: 3.136 MB / 0.8171 GB, free: 90.63 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.5e-07/1.555, allocations: 0 / 0.8171 GB, free: 90.63 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004902/1.56, allocations: 1.888 MB / 0.819 GB, free: 88.75 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 11 (imcQS.rotorCage.port_p.reference.gamma,massQS.s,massQS.v,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,mass.s,mass.v) * Number of discrete variables: 3 ($whenCondition1,dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of discrete states: 2 (dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (396): * Single equations (assignments): 387 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,3,100.0%), (14,44,41.8%), (1,5,100.0%), (1,13,100.0%), (1,3,100.0%), (1,8,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001223/1.562, allocations: 0.5743 MB / 0.8195 GB, free: 88.33 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.03137/1.593, allocations: 14.32 MB / 0.8335 GB, free: 73.99 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/1.593, allocations: 0 / 0.8335 GB, free: 73.99 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006472/1.599, allocations: 4.655 MB / 0.8381 GB, free: 69.26 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005227/1.605, allocations: 1.357 MB / 0.8394 GB, free: 67.94 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02496/1.63, allocations: 19.7 MB / 0.8586 GB, free: 48.19 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005011/1.635, allocations: 6.841 MB / 0.8653 GB, free: 41.32 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005145/1.64, allocations: 1.858 MB / 0.8671 GB, free: 39.45 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001063/1.641, allocations: 395.4 kB / 0.8675 GB, free: 39.07 MB / 494.1 MB Notification: Performance of SimCode: time 8.92e-07/1.641, allocations: 0 / 0.8675 GB, free: 39.07 MB / 494.1 MB Notification: Performance of Templates: time 0.2818/1.923, allocations: 86.37 MB / 0.9518 GB, free: 120.5 MB / 494.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Conveyor/IMC_Conveyor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches