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.001386/0.001386, allocations: 111 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.001539/0.001539, allocations: 212.9 kB / 19.4 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 227.4 MB / 247.6 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 59.89 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2966, allocations: 50.55 MB / 410 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.03245/0.3291, allocations: 33.49 MB / 443.5 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02009/0.3493, allocations: 9.246 MB / 452.7 MB, free: 6.695 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007567/0.3569, allocations: 239.2 kB / 452.9 MB, free: 6.461 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01916/0.3761, allocations: 7.962 MB / 460.9 MB, free: 14.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01503/0.3912, allocations: 3.655 MB / 464.6 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007106/0.3983, allocations: 2.145 MB / 466.7 MB, free: 8.668 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0208/0.4191, allocations: 13.14 MB / 479.8 MB, free: 11.49 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03766/0.4568, allocations: 22.48 MB / 0.4906 GB, free: 4.84 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01205/0.4689, allocations: 6.588 MB / 0.497 GB, free: 14.23 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01331/0.4823, allocations: 7.386 MB / 0.5042 GB, free: 6.824 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006195/0.4885, allocations: 1.883 MB / 0.506 GB, free: 4.941 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00889/0.4974, allocations: 2.265 MB / 0.5083 GB, free: 2.676 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006886/0.5043, allocations: 3.745 MB / 0.5119 GB, free: 14.92 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01753/0.5219, allocations: 7.109 MB / 0.5188 GB, free: 7.785 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.5593/1.081, allocations: 25.04 MB / 0.5433 GB, free: 52.87 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/1.081, allocations: 0 / 0.5433 GB, free: 52.87 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.395e-06/1.081, allocations: 0.7188 kB / 0.5433 GB, free: 52.87 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0008055/1.082, allocations: 0 / 0.5433 GB, free: 52.87 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.05515/1.137, allocations: 14.63 MB / 0.5576 GB, free: 49.17 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/1.137, allocations: 9.5 kB / 0.5576 GB, free: 49.17 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04057/1.178, allocations: 6.841 MB / 0.5643 GB, free: 48.54 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01947/1.197, allocations: 8.123 MB / 0.5722 GB, free: 47.42 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001066/1.199, allocations: 0.788 MB / 0.573 GB, free: 47.39 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005686/1.204, allocations: 1.044 MB / 0.574 GB, free: 47.38 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04805/1.252, allocations: 17.22 MB / 0.5908 GB, free: 34.78 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006308/1.253, allocations: 15.89 kB / 0.5908 GB, free: 34.76 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00477/1.258, allocations: 439.4 kB / 0.5912 GB, free: 34.34 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006521/1.258, allocations: 0.6314 MB / 0.5919 GB, free: 33.71 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03522/1.294, allocations: 16.31 MB / 0.6078 GB, free: 17.38 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.114/1.408, allocations: 56.3 MB / 0.6628 GB, free: 8.52 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0325/1.44, allocations: 31.41 MB / 0.6934 GB, free: 5.395 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008541/1.449, allocations: 4.326 MB / 0.6977 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02513/1.474, allocations: 10.7 MB / 0.7081 GB, free: 6.387 MB / 0.5451 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.535e-05/1.474, allocations: 81.81 kB / 0.7082 GB, free: 6.297 MB / 0.5451 GB Notification: Performance of pre-optimization done (n=398): time 1.036e-05/1.474, allocations: 0 / 0.7082 GB, free: 6.297 MB / 0.5451 GB Notification: Performance of matching and sorting (n=423): time 0.06034/1.535, allocations: 21.56 MB / 0.7293 GB, free: 448 kB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.697e-05/1.535, allocations: 124.7 kB / 0.7294 GB, free: 304 kB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01117/1.546, allocations: 4.705 MB / 0.734 GB, free: 11.59 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001102/1.547, allocations: 100.1 kB / 0.7341 GB, free: 11.48 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.004196/1.551, allocations: 4.674 MB / 0.7386 GB, free: 6.785 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.002363/1.554, allocations: 1.441 MB / 0.74 GB, free: 5.355 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00446/1.558, allocations: 1.132 MB / 0.7411 GB, free: 4.211 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001173/1.558, allocations: 301.1 kB / 0.7414 GB, free: 3.914 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005772/1.564, allocations: 2.916 MB / 0.7443 GB, free: 0.9922 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007618/1.572, allocations: 4.946 MB / 0.7491 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01348/1.585, allocations: 8.338 MB / 0.7572 GB, free: 2.145 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.662e-05/1.585, allocations: 20 kB / 0.7573 GB, free: 2.125 MB / 0.5919 GB Notification: Performance of matching and sorting (n=764) (initialization): time 0.3339/1.919, allocations: 9.729 MB / 0.7668 GB, free: 231 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.865e-05/1.919, allocations: 37.78 kB / 0.7668 GB, free: 231 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000138/1.919, allocations: 63.25 kB / 0.7669 GB, free: 231 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004217/1.924, allocations: 1.654 MB / 0.7685 GB, free: 230.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00512/1.929, allocations: 1.319 MB / 0.7698 GB, free: 230.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0202/1.949, allocations: 17.76 MB / 0.7871 GB, free: 219.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005443/1.955, allocations: 330 kB / 0.7874 GB, free: 219.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001172/1.956, allocations: 281.1 kB / 0.7877 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.006621/1.962, allocations: 3.895 MB / 0.7915 GB, free: 217.4 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001331/1.964, allocations: 0.4942 MB / 0.792 GB, free: 217.4 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01218/1.976, allocations: 7.788 MB / 0.7996 GB, free: 214.1 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.025e-05/1.976, allocations: 47.44 kB / 0.7996 GB, free: 214.1 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.64e-05/1.976, allocations: 17 kB / 0.7996 GB, free: 214.1 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.426e-05/1.976, allocations: 18.52 kB / 0.7997 GB, free: 214.1 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02851/2.005, allocations: 17.46 MB / 0.8167 GB, free: 200.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.355e-05/2.005, allocations: 4 kB / 0.8167 GB, free: 200.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003478/2.008, allocations: 0.7255 MB / 0.8174 GB, free: 199.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004173/2.012, allocations: 1.557 MB / 0.8189 GB, free: 198 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007905/2.013, allocations: 101.6 kB / 0.819 GB, free: 197.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02033/2.034, allocations: 21.21 MB / 0.8398 GB, free: 176 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/2.034, allocations: 12 kB / 0.8398 GB, free: 176 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01821/2.052, allocations: 11.46 MB / 0.851 GB, free: 164.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002969/2.055, allocations: 1.147 MB / 0.8521 GB, free: 163.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00166/2.056, allocations: 91.94 kB / 0.8522 GB, free: 163.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003628/2.06, allocations: 231.8 kB / 0.8524 GB, free: 163 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009415/2.061, allocations: 328.8 kB / 0.8527 GB, free: 162.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004748/2.062, allocations: 128 kB / 0.8528 GB, free: 162.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005649/2.067, allocations: 3.194 MB / 0.8559 GB, free: 159.3 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.11e-07/2.067, allocations: 0 / 0.8559 GB, free: 159.3 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.008526/2.076, allocations: 1.866 MB / 0.8578 GB, free: 157.5 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.001079/2.077, allocations: 279.1 kB / 0.858 GB, free: 157.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01402/2.091, allocations: 8.148 MB / 0.866 GB, free: 149 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.58e-05/2.091, allocations: 4 kB / 0.866 GB, free: 149 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.008031/2.099, allocations: 4.639 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.008655/2.108, allocations: 1.31 MB / 0.8718 GB, free: 143 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0354/2.143, allocations: 18.9 MB / 0.8903 GB, free: 124 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008591/2.152, allocations: 6.571 MB / 0.8967 GB, free: 117.4 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00224/2.154, allocations: 431.3 kB / 0.8971 GB, free: 117 MB / 0.5919 GB Notification: Performance of SimCode: time 8.82e-07/2.154, allocations: 4 kB / 0.8971 GB, free: 117 MB / 0.5919 GB Notification: Performance of Templates: time 0.924/3.078, allocations: 462.5 MB / 1.349 GB, free: 95.71 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