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.001963/0.001963, allocations: 116.3 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003362/0.003362, allocations: 210 kB / 19.4 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.976/1.976, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 63.91 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4263/0.4277, allocations: 50.54 MB / 410 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.0546/0.4824, allocations: 33.49 MB / 443.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03059/0.5131, allocations: 9.25 MB / 452.7 MB, free: 6.652 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01547/0.5286, allocations: 243.2 kB / 452.9 MB, free: 6.414 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03154/0.5603, allocations: 7.962 MB / 460.9 MB, free: 14.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03173/0.5921, allocations: 3.663 MB / 464.6 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01503/0.6072, allocations: 2.137 MB / 466.7 MB, free: 8.625 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.05302/0.6602, allocations: 13.15 MB / 479.8 MB, free: 11.44 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0794/0.7397, allocations: 22.47 MB / 0.4905 GB, free: 4.801 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03384/0.7737, allocations: 6.6 MB / 0.497 GB, free: 14.18 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03625/0.8101, allocations: 7.382 MB / 0.5042 GB, free: 6.777 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01154/0.8217, allocations: 1.883 MB / 0.506 GB, free: 4.895 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01709/0.8389, allocations: 2.265 MB / 0.5083 GB, free: 2.629 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0172/0.8562, allocations: 3.741 MB / 0.5119 GB, free: 14.88 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0336/0.8899, allocations: 7.117 MB / 0.5189 GB, free: 7.734 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 1.277/2.167, allocations: 25.03 MB / 0.5433 GB, free: 52.95 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.155e-05/2.167, allocations: 1.312 kB / 0.5433 GB, free: 52.95 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.885e-06/2.167, allocations: 0 / 0.5433 GB, free: 52.95 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.001222/2.168, allocations: 1.469 kB / 0.5433 GB, free: 52.95 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.09898/2.267, allocations: 14.63 MB / 0.5576 GB, free: 49.25 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.783e-05/2.267, allocations: 9.969 kB / 0.5576 GB, free: 49.25 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07037/2.337, allocations: 6.846 MB / 0.5643 GB, free: 48.61 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04269/2.38, allocations: 8.11 MB / 0.5722 GB, free: 47.49 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002181/2.382, allocations: 0.7935 MB / 0.573 GB, free: 47.47 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009728/2.392, allocations: 1.051 MB / 0.574 GB, free: 47.46 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08265/2.475, allocations: 17.22 MB / 0.5908 GB, free: 34.76 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009856/2.476, allocations: 11.89 kB / 0.5908 GB, free: 34.75 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007718/2.484, allocations: 445.8 kB / 0.5913 GB, free: 34.32 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001067/2.485, allocations: 0.6275 MB / 0.5919 GB, free: 33.69 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04795/2.533, allocations: 16.3 MB / 0.6078 GB, free: 17.37 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.141/2.674, allocations: 56.31 MB / 0.6628 GB, free: 8.492 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04611/2.72, allocations: 31.4 MB / 0.6934 GB, free: 5.375 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007958/2.728, allocations: 4.328 MB / 0.6977 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03746/2.766, allocations: 10.7 MB / 0.7081 GB, free: 6.363 MB / 0.5451 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001521/2.766, allocations: 80.22 kB / 0.7082 GB, free: 6.277 MB / 0.5451 GB Notification: Performance of pre-optimization done (n=398): time 1.514e-05/2.766, allocations: 0 / 0.7082 GB, free: 6.277 MB / 0.5451 GB Notification: Performance of matching and sorting (n=423): time 0.09597/2.862, allocations: 21.56 MB / 0.7293 GB, free: 424 kB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004043/2.862, allocations: 124.7 kB / 0.7294 GB, free: 280 kB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02181/2.884, allocations: 4.699 MB / 0.734 GB, free: 11.57 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001721/2.886, allocations: 97.7 kB / 0.7341 GB, free: 11.46 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.009207/2.895, allocations: 4.68 MB / 0.7386 GB, free: 6.758 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.00436/2.9, allocations: 1.441 MB / 0.74 GB, free: 5.328 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007656/2.907, allocations: 1.132 MB / 0.7411 GB, free: 4.184 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0002029/2.908, allocations: 305.1 kB / 0.7414 GB, free: 3.883 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009897/2.918, allocations: 2.905 MB / 0.7443 GB, free: 0.9727 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01507/2.933, allocations: 4.947 MB / 0.7491 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02671/2.96, allocations: 8.345 MB / 0.7572 GB, free: 2.117 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001998/2.96, allocations: 20 kB / 0.7573 GB, free: 2.098 MB / 0.5919 GB Notification: Performance of matching and sorting (n=764) (initialization): time 0.6169/3.577, allocations: 9.727 MB / 0.7668 GB, free: 230.9 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001825/3.577, allocations: 36.72 kB / 0.7668 GB, free: 230.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002202/3.577, allocations: 64.19 kB / 0.7669 GB, free: 230.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006665/3.584, allocations: 1.652 MB / 0.7685 GB, free: 230.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005678/3.59, allocations: 1.321 MB / 0.7698 GB, free: 230.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0206/3.61, allocations: 17.76 MB / 0.7871 GB, free: 219.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005207/3.616, allocations: 332.2 kB / 0.7874 GB, free: 219.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001168/3.617, allocations: 279.3 kB / 0.7877 GB, free: 219.2 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.006077/3.623, allocations: 3.89 MB / 0.7915 GB, free: 217.2 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001231/3.624, allocations: 0.4909 MB / 0.792 GB, free: 217.2 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01223/3.636, allocations: 7.797 MB / 0.7996 GB, free: 213.9 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.452e-05/3.636, allocations: 44.16 kB / 0.7996 GB, free: 213.9 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.006e-05/3.637, allocations: 16.81 kB / 0.7996 GB, free: 213.9 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-05/3.637, allocations: 22.45 kB / 0.7997 GB, free: 213.9 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03653/3.673, allocations: 17.46 MB / 0.8167 GB, free: 200.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.172e-05/3.673, allocations: 9.531 kB / 0.8167 GB, free: 200.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00361/3.677, allocations: 0.7302 MB / 0.8174 GB, free: 199.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004967/3.682, allocations: 1.546 MB / 0.8189 GB, free: 198 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006336/3.682, allocations: 108 kB / 0.819 GB, free: 197.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02233/3.705, allocations: 21.21 MB / 0.8398 GB, free: 175.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/3.705, allocations: 11.94 kB / 0.8398 GB, free: 175.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01437/3.719, allocations: 11.46 MB / 0.851 GB, free: 164.4 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002824/3.722, allocations: 1.151 MB / 0.8521 GB, free: 163.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009669/3.723, allocations: 91.69 kB / 0.8522 GB, free: 163.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002579/3.726, allocations: 231.8 kB / 0.8524 GB, free: 162.9 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006866/3.726, allocations: 319.4 kB / 0.8527 GB, free: 162.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002604/3.727, allocations: 136 kB / 0.8528 GB, free: 162.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00399/3.731, allocations: 3.186 MB / 0.8559 GB, free: 159.3 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.7e-07/3.731, allocations: 0 / 0.8559 GB, free: 159.3 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.006713/3.737, allocations: 1.87 MB / 0.8578 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.0008051/3.738, allocations: 279.9 kB / 0.858 GB, free: 157.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01135/3.75, allocations: 8.153 MB / 0.866 GB, free: 149 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.143e-05/3.75, allocations: 0 / 0.866 GB, free: 149 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.006853/3.756, allocations: 4.64 MB / 0.8705 GB, free: 144.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007404/3.764, allocations: 1.309 MB / 0.8718 GB, free: 143 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03777/3.802, allocations: 18.91 MB / 0.8903 GB, free: 124 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006873/3.809, allocations: 6.567 MB / 0.8967 GB, free: 117.4 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002616/3.811, allocations: 432.9 kB / 0.8971 GB, free: 117 MB / 0.5919 GB Notification: Performance of SimCode: time 1.653e-06/3.811, allocations: 0 / 0.8971 GB, free: 117 MB / 0.5919 GB Notification: Performance of Templates: time 1.136/4.947, allocations: 463.8 MB / 1.35 GB, free: 93.86 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/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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches