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.001402/0.001402, allocations: 111.1 kB / 16.51 MB, free: 6.707 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.001545/0.001545, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.292/1.292, allocations: 222.9 MB / 241.1 MB, free: 15.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001014/0.001014, allocations: 47.12 kB / 300 MB, free: 6.223 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09332/0.09435, allocations: 49.44 MB / 349.4 MB, free: 4.77 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.1825/0.2769, allocations: 32.28 MB / 381.7 MB, free: 9.812 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01608/0.293, allocations: 8.891 MB / 390.6 MB, free: 5.156 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006593/0.2996, allocations: 225.2 kB / 390.8 MB, free: 5.109 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01599/0.3157, allocations: 7.447 MB / 398.3 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01231/0.328, allocations: 3.345 MB / 401.6 MB, free: 14.2 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006797/0.3348, allocations: 1.952 MB / 403.6 MB, free: 12.65 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01724/0.3521, allocations: 13.34 MB / 416.9 MB, free: 3.027 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02818/0.3803, allocations: 18.27 MB / 435.2 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01053/0.3909, allocations: 5.475 MB / 440.6 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01375/0.4047, allocations: 6.777 MB / 447.4 MB, free: 4.297 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004002/0.4087, allocations: 1.148 MB / 448.6 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006659/0.4154, allocations: 1.515 MB / 450.1 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004922/0.4203, allocations: 2.995 MB / 453.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01161/0.432, allocations: 6.328 MB / 459.4 MB, free: 8.277 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.025/0.457, allocations: 24.36 MB / 483.8 MB, free: 15.85 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.457, allocations: 4 kB / 483.8 MB, free: 15.85 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4571, allocations: 0 / 483.8 MB, free: 15.85 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000622/0.4577, allocations: 0 / 483.8 MB, free: 15.85 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: 2952 * Number of variables: 2952 Notification: Performance of Generate backend data structure: time 0.04096/0.4987, allocations: 14.62 MB / 498.4 MB, free: 1.113 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.4987, allocations: 8.031 kB / 498.4 MB, free: 1.105 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03711/0.5358, allocations: 6.749 MB / 0.4933 GB, free: 10.34 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0163/0.5522, allocations: 7.842 MB / 0.501 GB, free: 2.414 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006549/0.5528, allocations: 0.7947 MB / 0.5017 GB, free: 1.617 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003307/0.5562, allocations: 1.051 MB / 0.5028 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3604/0.9166, allocations: 17.22 MB / 0.5196 GB, free: 110.9 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004638/0.9171, allocations: 19 kB / 0.5196 GB, free: 110.9 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002739/0.9199, allocations: 443.2 kB / 0.52 GB, free: 110.9 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007444/0.9206, allocations: 0.6232 MB / 0.5206 GB, free: 110.9 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03094/0.9516, allocations: 16.3 MB / 0.5365 GB, free: 105.3 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0825/1.034, allocations: 55.82 MB / 0.591 GB, free: 64.22 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02111/1.055, allocations: 31.08 MB / 0.6214 GB, free: 29.44 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005884/1.061, allocations: 4.34 MB / 0.6256 GB, free: 25.1 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0161/1.077, allocations: 10.46 MB / 0.6359 GB, free: 14.66 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.478e-05/1.077, allocations: 77.81 kB / 0.6359 GB, free: 14.57 MB / 430.1 MB Notification: Performance of pre-optimization done (n=398): time 5.971e-06/1.077, allocations: 3.984 kB / 0.6359 GB, free: 14.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=423): time 0.04349/1.121, allocations: 21.57 MB / 0.657 GB, free: 8.645 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.774e-05/1.121, allocations: 120.7 kB / 0.6571 GB, free: 8.508 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007918/1.129, allocations: 4.681 MB / 0.6617 GB, free: 3.816 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005925/1.13, allocations: 97.7 kB / 0.6618 GB, free: 3.715 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003055/1.133, allocations: 4.653 MB / 0.6663 GB, free: 15.03 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001582/1.134, allocations: 1.446 MB / 0.6677 GB, free: 13.59 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002202/1.136, allocations: 1.132 MB / 0.6688 GB, free: 12.45 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.565e-05/1.137, allocations: 305.1 kB / 0.6691 GB, free: 12.15 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004498/1.141, allocations: 2.908 MB / 0.672 GB, free: 9.234 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00615/1.147, allocations: 4.941 MB / 0.6768 GB, free: 3.363 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0117/1.159, allocations: 8.341 MB / 0.6849 GB, free: 10.08 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.033e-05/1.159, allocations: 20 kB / 0.685 GB, free: 10.06 MB / 478.1 MB Notification: Performance of matching and sorting (n=764) (initialization): time 0.01868/1.178, allocations: 9.736 MB / 0.6945 GB, free: 272 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001067/1.178, allocations: 32 kB / 0.6945 GB, free: 240 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001271/1.178, allocations: 64.41 kB / 0.6946 GB, free: 176 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1987/1.377, allocations: 1.645 MB / 0.6962 GB, free: 148.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005624/1.382, allocations: 1.313 MB / 0.6974 GB, free: 148.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02098/1.403, allocations: 16.47 MB / 0.7135 GB, free: 140 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004712/1.408, allocations: 329.4 kB / 0.7138 GB, free: 139.9 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000795/1.409, allocations: 277.2 kB / 0.7141 GB, free: 139.9 MB / 478.1 MB 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.006588/1.415, allocations: 3.888 MB / 0.7179 GB, free: 137.9 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001101/1.417, allocations: 0.4939 MB / 0.7184 GB, free: 137.9 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01166/1.428, allocations: 7.788 MB / 0.726 GB, free: 134.6 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.122e-05/1.428, allocations: 43.72 kB / 0.726 GB, free: 134.6 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.413e-05/1.428, allocations: 15.69 kB / 0.726 GB, free: 134.6 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.391e-05/1.428, allocations: 22.73 kB / 0.7261 GB, free: 134.6 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02421/1.453, allocations: 17.46 MB / 0.7431 GB, free: 127.1 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.588e-05/1.453, allocations: 6.375 kB / 0.7431 GB, free: 127.1 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0029/1.456, allocations: 0.7277 MB / 0.7438 GB, free: 127.1 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003881/1.459, allocations: 1.548 MB / 0.7453 GB, free: 126.7 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003818/1.46, allocations: 105.2 kB / 0.7454 GB, free: 126.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01731/1.477, allocations: 19.51 MB / 0.7645 GB, free: 108.6 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.635e-06/1.477, allocations: 15.88 kB / 0.7645 GB, free: 108.6 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01444/1.492, allocations: 11.44 MB / 0.7757 GB, free: 97.2 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002241/1.494, allocations: 1.142 MB / 0.7768 GB, free: 96.16 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007951/1.495, allocations: 91.98 kB / 0.7769 GB, free: 96.07 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002523/1.497, allocations: 232.6 kB / 0.7771 GB, free: 95.85 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008156/1.498, allocations: 331.3 kB / 0.7774 GB, free: 95.52 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002761/1.498, allocations: 132 kB / 0.7775 GB, free: 95.39 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004612/1.503, allocations: 3.169 MB / 0.7806 GB, free: 92.23 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.11e-07/1.503, allocations: 0 / 0.7806 GB, free: 92.23 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006411/1.509, allocations: 1.862 MB / 0.7825 GB, free: 90.37 MB / 478.1 MB 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.0006272/1.51, allocations: 277.4 kB / 0.7827 GB, free: 90.1 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01139/1.522, allocations: 8.115 MB / 0.7907 GB, free: 81.95 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.358e-06/1.522, allocations: 0 / 0.7907 GB, free: 81.95 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006727/1.528, allocations: 4.642 MB / 0.7952 GB, free: 77.21 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005801/1.534, allocations: 1.233 MB / 0.7964 GB, free: 76 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02991/1.564, allocations: 23.83 MB / 0.8197 GB, free: 52.07 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007034/1.571, allocations: 6.772 MB / 0.8263 GB, free: 45.26 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.005873/1.577, allocations: 1.869 MB / 0.8281 GB, free: 43.38 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001424/1.578, allocations: 375.4 kB / 0.8285 GB, free: 43.02 MB / 478.1 MB Notification: Performance of SimCode: time 8.91e-07/1.578, allocations: 0 / 0.8285 GB, free: 43.02 MB / 478.1 MB Notification: Performance of Templates: time 0.2798/1.858, allocations: 81.99 MB / 0.9085 GB, free: 121.5 MB / 478.1 MB 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/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_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