Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.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_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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001117/0.001117, allocations: 118.8 kB / 17.78 MB, free: 5.246 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00125/0.00125, allocations: 202 kB / 18.73 MB, free: 4.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.324/1.324, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 63.89 kB / 358.7 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2744, allocations: 50.55 MB / 409.3 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.03378/0.3083, allocations: 33.48 MB / 442.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01868/0.327, allocations: 9.246 MB / 452 MB, free: 6.684 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005995/0.333, allocations: 243.2 kB / 452.3 MB, free: 6.445 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01908/0.3522, allocations: 7.958 MB / 460.2 MB, free: 14.46 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01346/0.3656, allocations: 3.659 MB / 463.9 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007848/0.3735, allocations: 2.145 MB / 466 MB, free: 8.656 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01921/0.3927, allocations: 13.14 MB / 479.2 MB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03771/0.4305, allocations: 22.48 MB / 0.4899 GB, free: 4.828 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01265/0.4432, allocations: 6.592 MB / 0.4963 GB, free: 14.22 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0119/0.4551, allocations: 7.378 MB / 0.5035 GB, free: 6.816 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004852/0.46, allocations: 1.891 MB / 0.5054 GB, free: 4.926 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00655/0.4666, allocations: 2.265 MB / 0.5076 GB, free: 2.66 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005928/0.4725, allocations: 3.741 MB / 0.5112 GB, free: 14.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01275/0.4853, allocations: 7.113 MB / 0.5182 GB, free: 7.77 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4368/0.9221, allocations: 25.04 MB / 0.5426 GB, free: 52.84 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.9221, allocations: 0.625 kB / 0.5426 GB, free: 52.84 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.746e-06/0.9221, allocations: 2.672 kB / 0.5426 GB, free: 52.84 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000617/0.9228, allocations: 0 / 0.5426 GB, free: 52.84 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.04033/0.9631, allocations: 14.62 MB / 0.5569 GB, free: 49.14 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.9631, allocations: 11.33 kB / 0.5569 GB, free: 49.14 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03792/1.001, allocations: 6.843 MB / 0.5636 GB, free: 48.5 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.017/1.018, allocations: 8.118 MB / 0.5715 GB, free: 47.38 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000759/1.019, allocations: 0.7921 MB / 0.5723 GB, free: 47.36 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004053/1.023, allocations: 1.05 MB / 0.5733 GB, free: 47.35 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04088/1.064, allocations: 17.21 MB / 0.5901 GB, free: 34.73 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005785/1.065, allocations: 15.89 kB / 0.5902 GB, free: 34.71 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003706/1.068, allocations: 442.2 kB / 0.5906 GB, free: 34.29 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000658/1.069, allocations: 0.633 MB / 0.5912 GB, free: 33.66 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02982/1.099, allocations: 16.3 MB / 0.6071 GB, free: 17.33 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09307/1.192, allocations: 56.3 MB / 0.6621 GB, free: 8.473 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02841/1.22, allocations: 31.41 MB / 0.6928 GB, free: 5.344 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007278/1.228, allocations: 4.327 MB / 0.697 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0199/1.248, allocations: 10.71 MB / 0.7075 GB, free: 6.336 MB / 0.5451 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.008e-05/1.248, allocations: 81.81 kB / 0.7075 GB, free: 6.246 MB / 0.5451 GB Notification: Performance of pre-optimization done (n=398): time 5.891e-06/1.248, allocations: 0 / 0.7075 GB, free: 6.246 MB / 0.5451 GB Notification: Performance of matching and sorting (n=423): time 0.04831/1.296, allocations: 21.56 MB / 0.7286 GB, free: 400 kB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.067e-05/1.296, allocations: 124.7 kB / 0.7287 GB, free: 256 kB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008692/1.305, allocations: 4.707 MB / 0.7333 GB, free: 11.54 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0007449/1.306, allocations: 97.7 kB / 0.7334 GB, free: 11.44 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.003265/1.309, allocations: 4.669 MB / 0.738 GB, free: 6.738 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.001741/1.311, allocations: 1.448 MB / 0.7394 GB, free: 5.305 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002524/1.313, allocations: 1.132 MB / 0.7405 GB, free: 4.16 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 9.311e-05/1.313, allocations: 301.1 kB / 0.7408 GB, free: 3.863 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004451/1.318, allocations: 2.912 MB / 0.7436 GB, free: 0.9453 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005684/1.323, allocations: 4.946 MB / 0.7484 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01059/1.334, allocations: 8.345 MB / 0.7566 GB, free: 2.09 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.77e-05/1.334, allocations: 16 kB / 0.7566 GB, free: 2.074 MB / 0.5919 GB Notification: Performance of matching and sorting (n=764) (initialization): time 0.2309/1.565, allocations: 9.722 MB / 0.7661 GB, free: 231.1 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.831e-05/1.565, allocations: 43.16 kB / 0.7661 GB, free: 231.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-05/1.565, allocations: 63.06 kB / 0.7662 GB, free: 231.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004161/1.569, allocations: 1.655 MB / 0.7678 GB, free: 230.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004713/1.574, allocations: 1.317 MB / 0.7691 GB, free: 230.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01865/1.593, allocations: 17.75 MB / 0.7864 GB, free: 219.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004605/1.597, allocations: 330.9 kB / 0.7868 GB, free: 219.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007889/1.598, allocations: 281.9 kB / 0.787 GB, free: 219.4 MB / 0.5919 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.00528/1.603, allocations: 3.899 MB / 0.7908 GB, free: 217.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001121/1.605, allocations: 0.4939 MB / 0.7913 GB, free: 217.5 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01184/1.616, allocations: 7.79 MB / 0.7989 GB, free: 214.1 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.506e-05/1.616, allocations: 48.16 kB / 0.799 GB, free: 214.1 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.073e-05/1.617, allocations: 15.94 kB / 0.799 GB, free: 214.1 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-05/1.617, allocations: 22.92 kB / 0.799 GB, free: 214.1 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02658/1.643, allocations: 17.45 MB / 0.816 GB, free: 200.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.172e-05/1.643, allocations: 11.19 kB / 0.8161 GB, free: 200.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003219/1.646, allocations: 0.7255 MB / 0.8168 GB, free: 199.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003995/1.65, allocations: 1.549 MB / 0.8183 GB, free: 197.9 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005686/1.651, allocations: 104 kB / 0.8184 GB, free: 197.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01839/1.669, allocations: 21.22 MB / 0.8391 GB, free: 175.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.281e-06/1.67, allocations: 15.92 kB / 0.8391 GB, free: 175.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01509/1.685, allocations: 11.44 MB / 0.8503 GB, free: 164.4 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002448/1.687, allocations: 1.151 MB / 0.8514 GB, free: 163.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008869/1.688, allocations: 91.92 kB / 0.8515 GB, free: 163.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002649/1.691, allocations: 227.8 kB / 0.8517 GB, free: 162.9 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007082/1.691, allocations: 331.3 kB / 0.852 GB, free: 162.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002642/1.692, allocations: 128 kB / 0.8522 GB, free: 162.4 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00393/1.696, allocations: 3.19 MB / 0.8553 GB, free: 159.2 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.362e-06/1.696, allocations: 0 / 0.8553 GB, free: 159.2 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.006475/1.702, allocations: 1.872 MB / 0.8571 GB, free: 157.4 MB / 0.5919 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.0007031/1.703, allocations: 272.8 kB / 0.8574 GB, free: 157.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01179/1.715, allocations: 8.153 MB / 0.8653 GB, free: 148.9 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.838e-06/1.715, allocations: 0 / 0.8653 GB, free: 148.9 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.006926/1.722, allocations: 4.641 MB / 0.8699 GB, free: 144.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006208/1.728, allocations: 1.312 MB / 0.8711 GB, free: 142.9 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02751/1.755, allocations: 19.16 MB / 0.8899 GB, free: 123.7 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005834/1.761, allocations: 6.774 MB / 0.8965 GB, free: 116.8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004523/1.766, allocations: 1.865 MB / 0.8983 GB, free: 115 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000999/1.767, allocations: 375.4 kB / 0.8986 GB, free: 114.6 MB / 0.5919 GB Notification: Performance of SimCode: time 1.693e-06/1.767, allocations: 4 kB / 0.8987 GB, free: 114.6 MB / 0.5919 GB Notification: Performance of Templates: time 0.1127/1.879, allocations: 81.26 MB / 0.978 GB, free: 33.99 MB / 0.5919 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_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_Initialize/IMC_Initialize.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches