Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_cpp_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_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001004/0.001004, allocations: 193.5 kB / 17.05 MB, free: 5.102 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 226.6 MB / 244.4 MB, free: 8.289 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009745/0.0009747, allocations: 92.05 kB / 296.4 MB, free: 7.008 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002548/0.0002548, allocations: 15.98 kB / 356.2 MB, free: 11.18 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2629/0.2632, allocations: 51.29 MB / 407.5 MB, free: 27.83 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.02292/0.2861, allocations: 29.27 MB / 436.8 MB, free: 14.46 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02204/0.3082, allocations: 8.535 MB / 445.3 MB, free: 5.922 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008585/0.3169, allocations: 223.2 kB / 445.5 MB, free: 5.703 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007834/0.3248, allocations: 1.651 MB / 447.2 MB, free: 4.043 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01286/0.3377, allocations: 3.008 MB / 450.2 MB, free: 1.027 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006474/0.3442, allocations: 1.409 MB / 451.6 MB, free: 15.63 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.02301/0.3672, allocations: 15.82 MB / 467.4 MB, free: 15.75 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04096/0.4082, allocations: 17.61 MB / 485.1 MB, free: 14.04 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0107/0.419, allocations: 4.773 MB / 489.8 MB, free: 9.254 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0106/0.4296, allocations: 5.433 MB / 495.3 MB, free: 3.801 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003928/0.4336, allocations: 0.7266 MB / 496 MB, free: 3.074 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006612/0.4402, allocations: 1.089 MB / 497.1 MB, free: 1.984 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00506/0.4453, allocations: 2.351 MB / 499.4 MB, free: 15.62 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005838/0.4512, allocations: 2.395 MB / 0.4901 GB, free: 13.22 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.4517/0.903, allocations: 21.08 MB / 0.5106 GB, free: 29.54 MB / 378.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.029e-05/0.903, allocations: 6.062 kB / 0.5107 GB, free: 29.54 MB / 378.8 MB Notification: Performance of FrontEnd: time 3.125e-06/0.9031, allocations: 0 / 0.5107 GB, free: 29.54 MB / 378.8 MB Notification: Performance of Transformations before backend: time 0.001023/0.9041, allocations: 0 / 0.5107 GB, free: 29.54 MB / 378.8 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.03786/0.942, allocations: 12.4 MB / 0.5228 GB, free: 23.76 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.942, allocations: 8.25 kB / 0.5228 GB, free: 23.76 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03697/0.979, allocations: 6.818 MB / 0.5294 GB, free: 21.16 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01847/0.9975, allocations: 7.765 MB / 0.537 GB, free: 19.08 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008961/0.9985, allocations: 0.7914 MB / 0.5378 GB, free: 19.06 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005938/1.004, allocations: 1.046 MB / 0.5388 GB, free: 19.05 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.053/1.057, allocations: 17.15 MB / 0.5556 GB, free: 11.66 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006777/1.058, allocations: 17.23 kB / 0.5556 GB, free: 11.65 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004606/1.063, allocations: 441.5 kB / 0.556 GB, free: 11.56 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006936/1.063, allocations: 0.6238 MB / 0.5566 GB, free: 10.98 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03616/1.1, allocations: 16.22 MB / 0.5724 GB, free: 13.55 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1164/1.216, allocations: 57.13 MB / 0.6282 GB, free: 3.844 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03127/1.247, allocations: 31.34 MB / 0.6588 GB, free: 0.7656 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007676/1.255, allocations: 4.381 MB / 0.6631 GB, free: 12.4 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02044/1.276, allocations: 10.76 MB / 0.6736 GB, free: 1.652 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.669e-05/1.276, allocations: 81.38 kB / 0.6737 GB, free: 1.566 MB / 490.8 MB Notification: Performance of pre-optimization done (n=398): time 4.979e-06/1.276, allocations: 0 / 0.6737 GB, free: 1.566 MB / 490.8 MB Notification: Performance of matching and sorting (n=423): time 0.2982/1.574, allocations: 23.46 MB / 0.6966 GB, free: 184.8 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.834e-05/1.574, allocations: 119.5 kB / 0.6967 GB, free: 184.7 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007125/1.581, allocations: 4.659 MB / 0.7013 GB, free: 183.2 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0008617/1.582, allocations: 89.58 kB / 0.7014 GB, free: 183.1 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.002658/1.585, allocations: 4.669 MB / 0.7059 GB, free: 179.6 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.00148/1.586, allocations: 1.455 MB / 0.7074 GB, free: 178.5 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000312/1.587, allocations: 119.3 kB / 0.7075 GB, free: 178.4 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0002446/1.587, allocations: 0.5371 MB / 0.708 GB, free: 178 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003845/1.591, allocations: 2.896 MB / 0.7108 GB, free: 176.8 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00442/1.595, allocations: 4.935 MB / 0.7156 GB, free: 173.1 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004961/1.6, allocations: 3.937 MB / 0.7195 GB, free: 171.3 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.987e-05/1.6, allocations: 15.53 kB / 0.7195 GB, free: 171.3 MB / 0.4949 GB Notification: Performance of matching and sorting (n=764) (initialization): time 0.01429/1.614, allocations: 9.693 MB / 0.729 GB, free: 167.3 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 5.046e-05/1.614, allocations: 37.66 kB / 0.729 GB, free: 167.3 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001094/1.615, allocations: 65.84 kB / 0.7291 GB, free: 167.3 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003958/1.619, allocations: 1.67 MB / 0.7307 GB, free: 167 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004527/1.623, allocations: 1.319 MB / 0.732 GB, free: 166.2 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01756/1.641, allocations: 16.46 MB / 0.7481 GB, free: 151 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004999/1.646, allocations: 329.9 kB / 0.7484 GB, free: 150.7 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006364/1.646, allocations: 283.1 kB / 0.7486 GB, free: 150.4 MB / 0.4949 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(8,56.2%) 27,(1,100.0%) 1,(14,41.8%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005994/1.652, allocations: 3.889 MB / 0.7524 GB, free: 147 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001075/1.653, allocations: 0.4901 MB / 0.7529 GB, free: 146.5 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01129/1.665, allocations: 7.8 MB / 0.7605 GB, free: 138.8 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.583e-05/1.665, allocations: 44 kB / 0.7606 GB, free: 138.7 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.791e-05/1.665, allocations: 16 kB / 0.7606 GB, free: 138.7 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.328e-05/1.665, allocations: 19.92 kB / 0.7606 GB, free: 138.7 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02427/1.689, allocations: 17.46 MB / 0.7777 GB, free: 121.1 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.554e-05/1.689, allocations: 4 kB / 0.7777 GB, free: 121.1 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002829/1.692, allocations: 0.7295 MB / 0.7784 GB, free: 120.3 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003742/1.696, allocations: 1.55 MB / 0.7799 GB, free: 118.8 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003572/1.696, allocations: 103.9 kB / 0.78 GB, free: 118.7 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01738/1.714, allocations: 19.5 MB / 0.799 GB, free: 98.27 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.171e-06/1.714, allocations: 11.94 kB / 0.799 GB, free: 98.25 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01533/1.729, allocations: 11.43 MB / 0.8102 GB, free: 86.64 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002479/1.731, allocations: 1.16 MB / 0.8113 GB, free: 85.46 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006377/1.732, allocations: 87.98 kB / 0.8114 GB, free: 85.37 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002283/1.734, allocations: 243.8 kB / 0.8116 GB, free: 85.13 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006159/1.735, allocations: 323.4 kB / 0.812 GB, free: 84.82 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002399/1.735, allocations: 128 kB / 0.8121 GB, free: 84.69 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.003893/1.739, allocations: 3.147 MB / 0.8152 GB, free: 81.55 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.81e-07/1.739, allocations: 0 / 0.8152 GB, free: 81.55 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.006337/1.746, allocations: 1.868 MB / 0.817 GB, free: 79.68 MB / 0.4949 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 (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(14,41.3%) 44,(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 12,(1,100.0%) 5,(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006475/1.746, allocations: 290.7 kB / 0.8173 GB, free: 79.4 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01112/1.757, allocations: 8.068 MB / 0.8251 GB, free: 71.29 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 9.949e-06/1.757, allocations: 0 / 0.8251 GB, free: 71.29 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.006394/1.764, allocations: 4.641 MB / 0.8297 GB, free: 66.56 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006253/1.77, allocations: 1.267 MB / 0.8309 GB, free: 65.32 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03084/1.801, allocations: 22.75 MB / 0.8531 GB, free: 42.46 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005247/1.806, allocations: 6.579 MB / 0.8595 GB, free: 35.85 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001787/1.808, allocations: 427.3 kB / 0.8599 GB, free: 35.43 MB / 0.4949 GB Notification: Performance of SimCode: time 9.72e-07/1.808, allocations: 1.312 kB / 0.86 GB, free: 35.43 MB / 0.4949 GB Notification: Performance of Templates: time 1.243/3.051, allocations: 460.1 MB / 1.309 GB, free: 120.5 MB / 0.4949 GB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches