Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=300000,variableFilter="time|imc.airGap.V_mrr.im|imc.airGap.V_mrr.re|imc.airGap.V_msr.im|imc.airGap.V_msr.re|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.port_p.V_m.im|imc.stator.port_p.V_m.re|imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=300000,variableFilter="time|imc.airGap.V_mrr.im|imc.airGap.V_mrr.re|imc.airGap.V_msr.im|imc.airGap.V_msr.re|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.port_p.V_m.im|imc.stator.port_p.V_m.re|imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001548/0.001549, allocations: 107.1 kB / 17.74 MB, free: 5.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001806/0.001806, allocations: 193.6 kB / 18.67 MB, free: 4.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 222.9 MB / 242.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001227, allocations: 55.92 kB / 352 MB, free: 3.191 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.3223, allocations: 49.43 MB / 401.4 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.03743/0.3598, allocations: 32.86 MB / 434.3 MB, free: 8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02403/0.3838, allocations: 8.963 MB / 443.3 MB, free: 15.01 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007853/0.3917, allocations: 239.2 kB / 443.5 MB, free: 14.78 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02105/0.4128, allocations: 7.948 MB / 451.4 MB, free: 6.805 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01489/0.4277, allocations: 3.659 MB / 455.1 MB, free: 3.133 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007852/0.4356, allocations: 2.091 MB / 457.2 MB, free: 1.047 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01999/0.4556, allocations: 13 MB / 470.2 MB, free: 4.008 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03796/0.4936, allocations: 22.49 MB / 492.7 MB, free: 13.35 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01217/0.5058, allocations: 6.576 MB / 499.3 MB, free: 6.758 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01325/0.5191, allocations: 7.21 MB / 0.4946 GB, free: 15.52 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006023/0.5252, allocations: 1.883 MB / 0.4964 GB, free: 13.64 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008771/0.534, allocations: 2.234 MB / 0.4986 GB, free: 11.41 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007865/0.5419, allocations: 3.749 MB / 0.5023 GB, free: 7.648 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01385/0.5558, allocations: 7.109 MB / 0.5092 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03227/0.5881, allocations: 25 MB / 0.5336 GB, free: 7.441 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.5881, allocations: 0 / 0.5336 GB, free: 7.441 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.5881, allocations: 0 / 0.5336 GB, free: 7.441 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0007584/0.5889, allocations: 0 / 0.5336 GB, free: 7.441 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: 2952 * Number of variables: 2952 Notification: Performance of Generate backend data structure: time 0.5323/1.121, allocations: 14.56 MB / 0.5479 GB, free: 114.3 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/1.121, allocations: 7.906 kB / 0.5479 GB, free: 114.3 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03786/1.159, allocations: 6.806 MB / 0.5545 GB, free: 111.3 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01665/1.176, allocations: 8.075 MB / 0.5624 GB, free: 104.9 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007233/1.177, allocations: 0.7863 MB / 0.5632 GB, free: 104.2 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005168/1.182, allocations: 1.049 MB / 0.5642 GB, free: 103.1 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04669/1.228, allocations: 17.22 MB / 0.581 GB, free: 85.88 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006022/1.229, allocations: 7.906 kB / 0.581 GB, free: 85.87 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005325/1.234, allocations: 447.3 kB / 0.5814 GB, free: 85.44 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007113/1.235, allocations: 0.6313 MB / 0.582 GB, free: 84.8 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03775/1.273, allocations: 16.3 MB / 0.598 GB, free: 68.47 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09602/1.369, allocations: 55.14 MB / 0.6518 GB, free: 12.39 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0273/1.396, allocations: 31.09 MB / 0.6822 GB, free: 9.609 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007388/1.404, allocations: 4.301 MB / 0.6864 GB, free: 5.305 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01904/1.423, allocations: 10.42 MB / 0.6966 GB, free: 10.79 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.668e-05/1.423, allocations: 77.81 kB / 0.6966 GB, free: 10.7 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=398): time 5.681e-06/1.423, allocations: 0 / 0.6966 GB, free: 10.7 MB / 0.4982 GB Notification: Performance of matching and sorting (n=423): time 0.04809/1.471, allocations: 21.57 MB / 0.7177 GB, free: 4.73 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.598e-05/1.471, allocations: 124.7 kB / 0.7178 GB, free: 4.59 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007448/1.479, allocations: 4.677 MB / 0.7224 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0009165/1.48, allocations: 101.6 kB / 0.7225 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003184/1.483, allocations: 4.654 MB / 0.727 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001969/1.485, allocations: 1.452 MB / 0.7284 GB, free: 9.613 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002096/1.487, allocations: 1.128 MB / 0.7295 GB, free: 8.473 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001249/1.487, allocations: 305.1 kB / 0.7298 GB, free: 8.172 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004382/1.491, allocations: 2.908 MB / 0.7327 GB, free: 5.258 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005926/1.497, allocations: 4.945 MB / 0.7375 GB, free: 15.38 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01225/1.51, allocations: 8.337 MB / 0.7456 GB, free: 6.105 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.863e-05/1.51, allocations: 20 kB / 0.7457 GB, free: 6.086 MB / 0.545 GB Notification: Performance of matching and sorting (n=764) (initialization): time 0.335/1.845, allocations: 9.729 MB / 0.7552 GB, free: 188.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.005e-05/1.845, allocations: 31.66 kB / 0.7552 GB, free: 188.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001169/1.845, allocations: 63.19 kB / 0.7553 GB, free: 188.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004312/1.849, allocations: 1.651 MB / 0.7569 GB, free: 188.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005057/1.854, allocations: 1.317 MB / 0.7582 GB, free: 188.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01964/1.874, allocations: 17.75 MB / 0.7755 GB, free: 177.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006258/1.88, allocations: 326.5 kB / 0.7758 GB, free: 177.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001329/1.882, allocations: 281.1 kB / 0.7761 GB, free: 177.6 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 296 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (671): * Single equations (assignments): 667 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (7,28,61.2%), (1,1,100.0%), (14,44,39.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006989/1.889, allocations: 3.883 MB / 0.7799 GB, free: 175.7 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001537/1.89, allocations: 497.8 kB / 0.7803 GB, free: 175.7 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01254/1.903, allocations: 7.788 MB / 0.7879 GB, free: 172.4 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.461e-05/1.903, allocations: 44.41 kB / 0.788 GB, free: 172.4 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.339e-05/1.903, allocations: 18.19 kB / 0.788 GB, free: 172.4 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.247e-05/1.903, allocations: 25.27 kB / 0.788 GB, free: 172.4 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02505/1.928, allocations: 17.45 MB / 0.8051 GB, free: 159.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.141e-05/1.928, allocations: 8 kB / 0.8051 GB, free: 159.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003142/1.931, allocations: 0.7302 MB / 0.8058 GB, free: 159.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00389/1.935, allocations: 1.546 MB / 0.8073 GB, free: 157.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000724/1.936, allocations: 112 kB / 0.8074 GB, free: 157.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01878/1.955, allocations: 21.21 MB / 0.8281 GB, free: 135.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.652e-06/1.955, allocations: 8 kB / 0.8281 GB, free: 135.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01607/1.971, allocations: 11.45 MB / 0.8393 GB, free: 124.1 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002943/1.974, allocations: 1.152 MB / 0.8404 GB, free: 123.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001272/1.975, allocations: 84 kB / 0.8405 GB, free: 123 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003081/1.978, allocations: 239.7 kB / 0.8407 GB, free: 122.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007517/1.979, allocations: 331.3 kB / 0.8411 GB, free: 122.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002632/1.979, allocations: 128 kB / 0.8412 GB, free: 122.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004672/1.984, allocations: 3.169 MB / 0.8443 GB, free: 119.1 MB / 0.545 GB Notification: Performance of sort global known variables: time 5.81e-07/1.984, allocations: 0 / 0.8443 GB, free: 119.1 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007684/1.992, allocations: 1.858 MB / 0.8461 GB, free: 117.3 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.stray.Phi.re,imc.stator.stray.Phi.im,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (364): * Single equations (assignments): 357 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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,1,100.0%), (14,44,41.3%), (2,12,100.0%), (1,1,100.0%), (1,12,100.0%), (1,5,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001084/1.993, allocations: 287.4 kB / 0.8464 GB, free: 117 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01286/2.006, allocations: 8.134 MB / 0.8543 GB, free: 108.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.51e-05/2.006, allocations: 4.375 kB / 0.8543 GB, free: 108.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007445/2.013, allocations: 4.645 MB / 0.8588 GB, free: 104.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007396/2.02, allocations: 1.299 MB / 0.8601 GB, free: 102.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03253/2.053, allocations: 18.82 MB / 0.8785 GB, free: 83.92 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00805/2.061, allocations: 6.565 MB / 0.8849 GB, free: 77.32 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001973/2.063, allocations: 427.3 kB / 0.8853 GB, free: 76.9 MB / 0.545 GB Notification: Performance of SimCode: time 1.122e-06/2.063, allocations: 0 / 0.8853 GB, free: 76.9 MB / 0.545 GB Notification: Performance of Templates: time 0.9599/3.023, allocations: 461.3 MB / 1.336 GB, free: 54.66 MB / 0.5763 GB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_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_Initialize/IMC_Initialize.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches