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.001353/0.001353, allocations: 200.4 kB / 17.38 MB, free: 4.43 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 226.6 MB / 244.7 MB, free: 8.223 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009223/0.0009222, allocations: 98.94 kB / 296.8 MB, free: 6.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003251/0.0003252, allocations: 11.98 kB / 356.8 MB, free: 10.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.228, allocations: 51.29 MB / 408.1 MB, free: 27.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.02121/0.2493, allocations: 29.39 MB / 437.5 MB, free: 14.23 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0171/0.2664, allocations: 8.545 MB / 446 MB, free: 5.684 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005885/0.2723, allocations: 227.2 kB / 446.2 MB, free: 5.461 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006137/0.2785, allocations: 1.651 MB / 447.9 MB, free: 3.801 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0107/0.2892, allocations: 3.035 MB / 450.9 MB, free: 0.7578 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004637/0.2939, allocations: 1.406 MB / 452.3 MB, free: 15.36 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.02047/0.3144, allocations: 15.96 MB / 468.3 MB, free: 15.35 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03638/0.3508, allocations: 21.12 MB / 489.4 MB, free: 10.09 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007963/0.3588, allocations: 4.769 MB / 494.2 MB, free: 5.301 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008949/0.3678, allocations: 5.429 MB / 499.6 MB, free: 15.85 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002432/0.3702, allocations: 0.7266 MB / 0.4886 GB, free: 15.12 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004351/0.3746, allocations: 1.097 MB / 0.4897 GB, free: 14.03 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002382/0.377, allocations: 2.355 MB / 0.492 GB, free: 11.66 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009633/0.3866, allocations: 5.423 MB / 0.4973 GB, free: 6.211 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2581/0.6448, allocations: 21.09 MB / 0.5179 GB, free: 32.58 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.806e-06/0.6448, allocations: 6.859 kB / 0.5179 GB, free: 32.58 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.6448, allocations: 0.8438 kB / 0.5179 GB, free: 32.58 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0009611/0.6458, allocations: 0 / 0.5179 GB, free: 32.58 MB / 378.7 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.0365/0.6823, allocations: 12.29 MB / 0.5299 GB, free: 26.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.6824, allocations: 8.469 kB / 0.5299 GB, free: 26.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03546/0.7179, allocations: 6.825 MB / 0.5366 GB, free: 23.87 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0191/0.737, allocations: 7.876 MB / 0.5442 GB, free: 21.67 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007566/0.7378, allocations: 0.7954 MB / 0.545 GB, free: 21.65 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005003/0.7428, allocations: 1.049 MB / 0.546 GB, free: 21.64 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04662/0.7895, allocations: 17.14 MB / 0.5628 GB, free: 11.26 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000319/0.7898, allocations: 26.28 kB / 0.5628 GB, free: 11.24 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002022/0.7918, allocations: 442.4 kB / 0.5632 GB, free: 11.15 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004779/0.7923, allocations: 0.6286 MB / 0.5638 GB, free: 10.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03281/0.8251, allocations: 16.23 MB / 0.5797 GB, free: 12.77 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1055/0.9306, allocations: 57.16 MB / 0.6355 GB, free: 3.027 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02888/0.9596, allocations: 31.37 MB / 0.6661 GB, free: 15.98 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007811/0.9674, allocations: 4.376 MB / 0.6704 GB, free: 11.62 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02034/0.9878, allocations: 10.76 MB / 0.6809 GB, free: 0.875 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.468e-05/0.9879, allocations: 81.38 kB / 0.681 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of pre-optimization done (n=398): time 6.121e-06/0.9879, allocations: 0 / 0.681 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of matching and sorting (n=423): time 0.3223/1.31, allocations: 21.58 MB / 0.7021 GB, free: 165.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.256e-05/1.31, allocations: 121.3 kB / 0.7022 GB, free: 165.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00605/1.316, allocations: 4.658 MB / 0.7067 GB, free: 163.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004633/1.317, allocations: 97.27 kB / 0.7068 GB, free: 163.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0023/1.319, allocations: 4.663 MB / 0.7114 GB, free: 160.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001141/1.32, allocations: 1.449 MB / 0.7128 GB, free: 159 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003189/1.321, allocations: 123.3 kB / 0.7129 GB, free: 158.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002597/1.321, allocations: 0.5376 MB / 0.7134 GB, free: 158.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004089/1.325, allocations: 2.895 MB / 0.7163 GB, free: 157.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004681/1.33, allocations: 4.937 MB / 0.7211 GB, free: 152.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00881/1.339, allocations: 8.321 MB / 0.7292 GB, free: 144.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.405e-05/1.339, allocations: 20 kB / 0.7292 GB, free: 144.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=764) (initialization): time 0.01429/1.353, allocations: 9.711 MB / 0.7387 GB, free: 135.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.579e-05/1.353, allocations: 32 kB / 0.7388 GB, free: 135.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-05/1.353, allocations: 64 kB / 0.7388 GB, free: 135.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003876/1.357, allocations: 1.651 MB / 0.7404 GB, free: 134.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004458/1.361, allocations: 1.329 MB / 0.7417 GB, free: 133.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0178/1.379, allocations: 16.46 MB / 0.7578 GB, free: 116.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005119/1.384, allocations: 331.7 kB / 0.7581 GB, free: 116 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006373/1.385, allocations: 280 kB / 0.7584 GB, free: 115.7 MB / 490.7 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 (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.00689/1.392, allocations: 3.889 MB / 0.7622 GB, free: 111.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001016/1.393, allocations: 0.4952 MB / 0.7627 GB, free: 111.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01157/1.405, allocations: 7.786 MB / 0.7703 GB, free: 103.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.532e-05/1.405, allocations: 44 kB / 0.7703 GB, free: 103.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.598e-05/1.405, allocations: 16 kB / 0.7703 GB, free: 103.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.495e-05/1.405, allocations: 31.84 kB / 0.7704 GB, free: 103.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02725/1.432, allocations: 17.46 MB / 0.7874 GB, free: 85.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.735e-05/1.432, allocations: 8 kB / 0.7874 GB, free: 85.74 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002867/1.435, allocations: 0.7269 MB / 0.7881 GB, free: 85.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003723/1.439, allocations: 1.55 MB / 0.7896 GB, free: 83.45 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003851/1.439, allocations: 99.97 kB / 0.7897 GB, free: 83.35 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01787/1.457, allocations: 19.5 MB / 0.8088 GB, free: 62.95 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/1.457, allocations: 11.94 kB / 0.8088 GB, free: 62.94 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01575/1.473, allocations: 11.44 MB / 0.82 GB, free: 51.31 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002998/1.476, allocations: 1.166 MB / 0.8211 GB, free: 50.12 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000684/1.476, allocations: 89.86 kB / 0.8212 GB, free: 50.03 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002261/1.479, allocations: 239.8 kB / 0.8214 GB, free: 49.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007632/1.479, allocations: 335.3 kB / 0.8217 GB, free: 49.47 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002718/1.48, allocations: 132 kB / 0.8219 GB, free: 49.34 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004519/1.484, allocations: 3.147 MB / 0.8249 GB, free: 46.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.7e-07/1.484, allocations: 0 / 0.8249 GB, free: 46.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006667/1.491, allocations: 1.867 MB / 0.8267 GB, free: 44.33 MB / 490.7 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 (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.0006424/1.492, allocations: 277.5 kB / 0.827 GB, free: 44.05 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0116/1.503, allocations: 8.058 MB / 0.8349 GB, free: 35.95 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.115e-05/1.503, allocations: 8 kB / 0.8349 GB, free: 35.94 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006634/1.51, allocations: 4.636 MB / 0.8394 GB, free: 31.21 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009386/1.519, allocations: 1.237 MB / 0.8406 GB, free: 30 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2604/1.78, allocations: 22.75 MB / 0.8628 GB, free: 153.8 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008096/1.788, allocations: 6.574 MB / 0.8693 GB, free: 152.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001983/1.79, allocations: 427.5 kB / 0.8697 GB, free: 152.9 MB / 490.7 MB Notification: Performance of SimCode: time 1.322e-06/1.79, allocations: 2 kB / 0.8697 GB, free: 152.9 MB / 490.7 MB Notification: Performance of Templates: time 0.8967/2.687, allocations: 459.7 MB / 1.319 GB, free: 78.33 MB / 0.4948 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