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.001942/0.001942, allocations: 113.7 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002836/0.002836, allocations: 206.8 kB / 19.4 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.065/2.065, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002239/0.00224, allocations: 67.89 kB / 359.4 MB, free: 12.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7101/0.7124, allocations: 50.54 MB / 410 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.04844/0.7609, allocations: 34.61 MB / 444.6 MB, free: 14.77 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02946/0.7904, allocations: 10.01 MB / 454.6 MB, free: 4.723 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009254/0.7997, allocations: 251.2 kB / 454.9 MB, free: 4.477 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01991/0.8197, allocations: 8.164 MB / 463 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01345/0.8332, allocations: 3.795 MB / 466.8 MB, free: 8.484 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007259/0.8405, allocations: 2.283 MB / 469.1 MB, free: 6.203 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02018/0.8607, allocations: 13.34 MB / 482.4 MB, free: 8.824 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03069/0.8914, allocations: 22.62 MB / 0.4932 GB, free: 2.035 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0103/0.9017, allocations: 6.67 MB / 0.4997 GB, free: 11.35 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01487/0.9166, allocations: 7.502 MB / 0.5071 GB, free: 3.82 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005733/0.9224, allocations: 1.902 MB / 0.5089 GB, free: 1.918 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007947/0.9304, allocations: 2.324 MB / 0.5112 GB, free: 15.59 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006548/0.9369, allocations: 3.791 MB / 0.5149 GB, free: 11.79 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01587/0.9528, allocations: 7.202 MB / 0.5219 GB, free: 4.562 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.6388/1.592, allocations: 25.3 MB / 0.5466 GB, free: 53.67 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.235e-06/1.592, allocations: 2.312 kB / 0.5466 GB, free: 53.67 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.234e-06/1.592, allocations: 0 / 0.5466 GB, free: 53.67 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0007222/1.592, allocations: 0 / 0.5466 GB, free: 53.67 MB / 462.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.04777/1.64, allocations: 14.86 MB / 0.5611 GB, free: 49.88 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/1.64, allocations: 8.969 kB / 0.5612 GB, free: 49.88 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03894/1.679, allocations: 6.792 MB / 0.5678 GB, free: 49.2 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0228/1.702, allocations: 8.168 MB / 0.5758 GB, free: 46.86 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00102/1.703, allocations: 0.8112 MB / 0.5766 GB, free: 46.84 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005875/1.709, allocations: 1.071 MB / 0.5776 GB, free: 46.77 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06962/1.779, allocations: 17.42 MB / 0.5946 GB, free: 32.4 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007197/1.78, allocations: 19.8 kB / 0.5946 GB, free: 32.38 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009671/1.789, allocations: 452.4 kB / 0.5951 GB, free: 31.95 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001276/1.791, allocations: 0.6397 MB / 0.5957 GB, free: 31.31 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07035/1.861, allocations: 16.39 MB / 0.6117 GB, free: 14.92 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1956/2.057, allocations: 55.26 MB / 0.6657 GB, free: 7.422 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03186/2.088, allocations: 33.71 MB / 0.6986 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008026/2.097, allocations: 4.431 MB / 0.7029 GB, free: 13.95 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02681/2.123, allocations: 12.41 MB / 0.715 GB, free: 1.613 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005377/2.129, allocations: 3.095 MB / 0.718 GB, free: 14.46 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=434): time 7.755e-06/2.129, allocations: 0 / 0.718 GB, free: 14.46 MB / 0.5607 GB Notification: Performance of matching and sorting (n=452): time 0.06531/2.194, allocations: 23.47 MB / 0.741 GB, free: 6.902 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002186/2.194, allocations: 415 kB / 0.7414 GB, free: 6.414 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01106/2.206, allocations: 4.607 MB / 0.7459 GB, free: 1.797 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001131/2.207, allocations: 105.7 kB / 0.746 GB, free: 1.688 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.00555/2.212, allocations: 4.751 MB / 0.7506 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002493/2.215, allocations: 1.554 MB / 0.7521 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004337/2.219, allocations: 1.125 MB / 0.7532 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000133/2.219, allocations: 313 kB / 0.7535 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006433/2.226, allocations: 2.823 MB / 0.7563 GB, free: 7.086 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007436/2.233, allocations: 5.018 MB / 0.7612 GB, free: 1.137 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6006/2.834, allocations: 8.302 MB / 0.7693 GB, free: 228.4 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001137/2.834, allocations: 19.62 kB / 0.7693 GB, free: 228.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=772) (initialization): time 0.02937/2.863, allocations: 9.577 MB / 0.7787 GB, free: 224.7 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.928e-05/2.864, allocations: 34.22 kB / 0.7787 GB, free: 224.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001558/2.864, allocations: 65.66 kB / 0.7787 GB, free: 224.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005113/2.869, allocations: 1.49 MB / 0.7802 GB, free: 224.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005954/2.875, allocations: 1.328 MB / 0.7815 GB, free: 224.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02553/2.9, allocations: 17.61 MB / 0.7987 GB, free: 212.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00699/2.908, allocations: 355.4 kB / 0.799 GB, free: 212 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001394/2.909, allocations: 284 kB / 0.7993 GB, free: 212 MB / 0.5919 GB 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.01019/2.919, allocations: 3.921 MB / 0.8031 GB, free: 210 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001907/2.921, allocations: 0.4922 MB / 0.8036 GB, free: 210 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0148/2.936, allocations: 7.952 MB / 0.8114 GB, free: 204.8 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.472e-05/2.936, allocations: 51.94 kB / 0.8114 GB, free: 204.8 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.994e-05/2.936, allocations: 16 kB / 0.8114 GB, free: 204.8 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.736e-05/2.936, allocations: 22.5 kB / 0.8115 GB, free: 204.8 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04771/2.984, allocations: 17.39 MB / 0.8284 GB, free: 189.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.572e-05/2.984, allocations: 8.094 kB / 0.8285 GB, free: 189.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004666/2.989, allocations: 0.7529 MB / 0.8292 GB, free: 189.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005053/2.994, allocations: 1.571 MB / 0.8307 GB, free: 187.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009081/2.995, allocations: 108 kB / 0.8308 GB, free: 187.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02714/3.022, allocations: 21.28 MB / 0.8516 GB, free: 165.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.615e-06/3.022, allocations: 4 kB / 0.8516 GB, free: 165.4 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02001/3.042, allocations: 11.48 MB / 0.8628 GB, free: 154 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003338/3.045, allocations: 1.157 MB / 0.864 GB, free: 152.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001497/3.047, allocations: 100 kB / 0.864 GB, free: 152.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003409/3.05, allocations: 241.5 kB / 0.8643 GB, free: 152.4 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009156/3.051, allocations: 335.6 kB / 0.8646 GB, free: 152.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004302/3.052, allocations: 136 kB / 0.8647 GB, free: 152 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005322/3.057, allocations: 3.136 MB / 0.8678 GB, free: 148.9 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.2e-07/3.057, allocations: 0 / 0.8678 GB, free: 148.9 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.007238/3.064, allocations: 1.886 MB / 0.8696 GB, free: 147 MB / 0.5919 GB 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.001568/3.066, allocations: 0.5737 MB / 0.8702 GB, free: 146.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01191/3.078, allocations: 8.088 MB / 0.8781 GB, free: 138.4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-05/3.078, allocations: 8 kB / 0.8781 GB, free: 138.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.009052/3.087, allocations: 4.646 MB / 0.8826 GB, free: 133.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007163/3.094, allocations: 1.361 MB / 0.884 GB, free: 132.3 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03243/3.126, allocations: 19.2 MB / 0.9027 GB, free: 113.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005926/3.132, allocations: 6.631 MB / 0.9092 GB, free: 106.4 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001891/3.134, allocations: 443.3 kB / 0.9096 GB, free: 106 MB / 0.5919 GB Notification: Performance of SimCode: time 1.252e-06/3.134, allocations: 0 / 0.9096 GB, free: 106 MB / 0.5919 GB Notification: Performance of Templates: time 2.988/6.122, allocations: 0.5189 GB / 1.428 GB, free: 213.4 MB / 0.5919 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