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.001272/0.001272, allocations: 109.2 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001384/0.001384, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.357/1.357, allocations: 227.4 MB / 246.9 MB, free: 8.871 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 60.06 kB / 306.9 MB, free: 0.7773 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09572/0.09714, allocations: 50.54 MB / 357.5 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.2098/0.307, allocations: 34.02 MB / 391.5 MB, free: 2.285 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02217/0.3292, allocations: 9.911 MB / 401.4 MB, free: 11.16 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00983/0.3391, allocations: 238.8 kB / 401.6 MB, free: 11.11 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01873/0.3579, allocations: 7.669 MB / 409.3 MB, free: 5.977 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01372/0.3716, allocations: 3.469 MB / 412.8 MB, free: 3.266 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007712/0.3793, allocations: 2.143 MB / 414.9 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01888/0.3982, allocations: 13.67 MB / 428.6 MB, free: 5.594 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03506/0.4333, allocations: 18.37 MB / 446.9 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01112/0.4445, allocations: 5.568 MB / 452.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01152/0.456, allocations: 6.917 MB / 459.4 MB, free: 6.539 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00445/0.4605, allocations: 1.164 MB / 460.6 MB, free: 5.375 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006932/0.4675, allocations: 1.585 MB / 462.2 MB, free: 3.789 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005287/0.4728, allocations: 3.03 MB / 465.2 MB, free: 0.75 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01256/0.4854, allocations: 6.441 MB / 471.7 MB, free: 10.28 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02321/0.5086, allocations: 21.93 MB / 493.6 MB, free: 4.305 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/0.5087, allocations: 0 / 493.6 MB, free: 4.305 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.5087, allocations: 0 / 493.6 MB, free: 4.305 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0008073/0.5095, allocations: 0 / 493.6 MB, free: 4.305 MB / 398.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.05282/0.5624, allocations: 14.91 MB / 0.4966 GB, free: 5.281 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.5624, allocations: 8.031 kB / 0.4966 GB, free: 5.273 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03856/0.601, allocations: 6.752 MB / 0.5032 GB, free: 14.5 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01914/0.6202, allocations: 7.902 MB / 0.5109 GB, free: 6.52 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000998/0.6212, allocations: 0.8108 MB / 0.5117 GB, free: 5.707 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0052/0.6264, allocations: 1.078 MB / 0.5127 GB, free: 4.629 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04931/0.6758, allocations: 17.41 MB / 0.5297 GB, free: 3.152 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006675/0.6765, allocations: 11.91 kB / 0.5297 GB, free: 3.141 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004389/0.6809, allocations: 455.9 kB / 0.5302 GB, free: 2.695 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007825/0.6817, allocations: 0.6436 MB / 0.5308 GB, free: 2.051 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4232/1.105, allocations: 16.37 MB / 0.5468 GB, free: 121.9 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09797/1.203, allocations: 55.96 MB / 0.6014 GB, free: 79.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02299/1.226, allocations: 33.7 MB / 0.6344 GB, free: 42.04 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007554/1.234, allocations: 4.463 MB / 0.6387 GB, free: 37.57 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02404/1.258, allocations: 12.46 MB / 0.6509 GB, free: 25.12 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004984/1.263, allocations: 3.094 MB / 0.6539 GB, free: 21.96 MB / 446.1 MB Notification: Performance of pre-optimization done (n=434): time 9.537e-06/1.263, allocations: 0 / 0.6539 GB, free: 21.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=452): time 0.05144/1.314, allocations: 23.48 MB / 0.6768 GB, free: 14.32 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002369/1.314, allocations: 415.4 kB / 0.6772 GB, free: 13.83 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009985/1.324, allocations: 4.599 MB / 0.6817 GB, free: 9.219 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005817/1.325, allocations: 101.7 kB / 0.6818 GB, free: 9.113 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004936/1.33, allocations: 4.763 MB / 0.6865 GB, free: 4.316 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001815/1.332, allocations: 1.554 MB / 0.688 GB, free: 2.777 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002789/1.335, allocations: 1.125 MB / 0.6891 GB, free: 1.641 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001009/1.335, allocations: 301.1 kB / 0.6894 GB, free: 1.344 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004854/1.34, allocations: 2.834 MB / 0.6921 GB, free: 14.5 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006468/1.346, allocations: 5.011 MB / 0.697 GB, free: 8.527 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01158/1.358, allocations: 8.305 MB / 0.7051 GB, free: 15.3 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.471e-05/1.358, allocations: 20 kB / 0.7052 GB, free: 15.29 MB / 494.1 MB Notification: Performance of matching and sorting (n=772) (initialization): time 0.01883/1.377, allocations: 9.575 MB / 0.7145 GB, free: 5.656 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.162e-05/1.377, allocations: 36 kB / 0.7145 GB, free: 5.621 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001385/1.377, allocations: 67.94 kB / 0.7146 GB, free: 5.555 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004478/1.381, allocations: 1.487 MB / 0.7161 GB, free: 4.055 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005066/1.387, allocations: 1.334 MB / 0.7174 GB, free: 2.719 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2258/1.612, allocations: 16.29 MB / 0.7333 GB, free: 149.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005551/1.618, allocations: 353.3 kB / 0.7336 GB, free: 149.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001112/1.619, allocations: 288.3 kB / 0.7339 GB, free: 149.7 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.008296/1.627, allocations: 3.919 MB / 0.7377 GB, free: 147.8 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001478/1.629, allocations: 0.4973 MB / 0.7382 GB, free: 147.8 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01453/1.643, allocations: 7.96 MB / 0.746 GB, free: 144.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-05/1.643, allocations: 50.72 kB / 0.746 GB, free: 144.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-05/1.643, allocations: 17 kB / 0.746 GB, free: 144.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.178e-05/1.644, allocations: 26.06 kB / 0.7461 GB, free: 144.5 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02736/1.671, allocations: 17.49 MB / 0.7631 GB, free: 137.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.466e-05/1.671, allocations: 3.781 kB / 0.7631 GB, free: 137.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002954/1.674, allocations: 0.7563 MB / 0.7639 GB, free: 137 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003902/1.678, allocations: 1.565 MB / 0.7654 GB, free: 136.7 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004429/1.678, allocations: 112.7 kB / 0.7655 GB, free: 136.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01805/1.696, allocations: 19.56 MB / 0.7846 GB, free: 122.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/1.696, allocations: 15.77 kB / 0.7846 GB, free: 122.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01558/1.712, allocations: 11.47 MB / 0.7958 GB, free: 112.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002547/1.715, allocations: 1.157 MB / 0.797 GB, free: 111.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008271/1.715, allocations: 93.27 kB / 0.797 GB, free: 111.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002288/1.718, allocations: 243.7 kB / 0.7973 GB, free: 110.9 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007654/1.718, allocations: 335.6 kB / 0.7976 GB, free: 110.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002613/1.719, allocations: 136 kB / 0.7977 GB, free: 110.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004232/1.723, allocations: 3.136 MB / 0.8008 GB, free: 107.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.71e-07/1.723, allocations: 0 / 0.8008 GB, free: 107.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007511/1.73, allocations: 1.889 MB / 0.8026 GB, free: 105.4 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.001482/1.732, allocations: 0.5883 MB / 0.8032 GB, free: 105 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0109/1.743, allocations: 8.06 MB / 0.8111 GB, free: 96.88 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/1.743, allocations: 0 / 0.8111 GB, free: 96.88 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006738/1.75, allocations: 4.655 MB / 0.8156 GB, free: 92.14 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0059/1.756, allocations: 1.279 MB / 0.8169 GB, free: 90.88 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03112/1.787, allocations: 24.06 MB / 0.8404 GB, free: 66.78 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005994/1.793, allocations: 6.645 MB / 0.8469 GB, free: 60.1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002044/1.795, allocations: 447.2 kB / 0.8473 GB, free: 59.66 MB / 494.1 MB Notification: Performance of SimCode: time 9.01e-07/1.795, allocations: 0 / 0.8473 GB, free: 59.66 MB / 494.1 MB Notification: Performance of Templates: time 1.181/2.976, allocations: 0.5167 GB / 1.364 GB, free: 91.02 MB / 0.4982 GB 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/jenkins1/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/jenkins1/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