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.001011/0.001011, allocations: 97.12 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001222/0.001222, allocations: 206.3 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 227.7 MB / 246.8 MB, free: 11.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002567/0.0002567, allocations: 8 kB / 307.8 MB, free: 0.7852 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09789/0.09816, allocations: 51.52 MB / 359.3 MB, free: 13.26 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.2052/0.3034, allocations: 31.6 MB / 390.9 MB, free: 3.176 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02107/0.3245, allocations: 9.074 MB / 399.9 MB, free: 13.11 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007937/0.3324, allocations: 225.7 kB / 400.2 MB, free: 13.06 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007531/0.34, allocations: 2.135 MB / 402.3 MB, free: 12.08 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01307/0.3531, allocations: 3.343 MB / 405.6 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00661/0.3597, allocations: 1.893 MB / 407.5 MB, free: 8.164 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01759/0.3773, allocations: 13.54 MB / 421.1 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03784/0.4152, allocations: 21.54 MB / 442.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008412/0.4237, allocations: 4.616 MB / 447.2 MB, free: 3.758 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008751/0.4324, allocations: 5.672 MB / 452.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002714/0.4352, allocations: 0.7305 MB / 453.6 MB, free: 13.33 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005324/0.4405, allocations: 1.113 MB / 454.7 MB, free: 12.22 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004462/0.445, allocations: 2.401 MB / 457.1 MB, free: 9.809 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01083/0.4559, allocations: 5.654 MB / 462.8 MB, free: 4.121 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02523/0.4811, allocations: 23.51 MB / 486.3 MB, free: 12.53 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.4811, allocations: 0 / 486.3 MB, free: 12.53 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4812, allocations: 0 / 486.3 MB, free: 12.53 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005424/0.4817, allocations: 4 kB / 486.3 MB, free: 12.53 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.03448/0.5162, allocations: 12.3 MB / 498.6 MB, free: 120 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.5163, allocations: 11.97 kB / 498.6 MB, free: 108 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03923/0.5555, allocations: 6.827 MB / 0.4936 GB, free: 9.254 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01778/0.5733, allocations: 7.901 MB / 0.5013 GB, free: 1.273 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009367/0.5743, allocations: 0.7908 MB / 0.5021 GB, free: 492 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003749/0.5781, allocations: 1.058 MB / 0.5031 GB, free: 15.42 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04148/0.6196, allocations: 17.23 MB / 0.52 GB, free: 14.11 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004416/0.62, allocations: 15.91 kB / 0.52 GB, free: 14.1 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002913/0.623, allocations: 440 kB / 0.5204 GB, free: 13.67 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007209/0.6237, allocations: 0.6236 MB / 0.521 GB, free: 13.04 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2182/0.8419, allocations: 16.31 MB / 0.5369 GB, free: 124.4 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08086/0.9228, allocations: 57.16 MB / 0.5928 GB, free: 86.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02127/0.9441, allocations: 31.38 MB / 0.6234 GB, free: 55.22 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005639/0.9497, allocations: 4.379 MB / 0.6277 GB, free: 50.84 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01475/0.9645, allocations: 10.76 MB / 0.6382 GB, free: 40.04 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.028e-05/0.9646, allocations: 81.81 kB / 0.6383 GB, free: 39.95 MB / 446.1 MB Notification: Performance of pre-optimization done (n=398): time 5.099e-06/0.9646, allocations: 0 / 0.6383 GB, free: 39.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=423): time 0.04119/1.006, allocations: 21.66 MB / 0.6594 GB, free: 17.93 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/1.006, allocations: 120.7 kB / 0.6595 GB, free: 17.79 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005661/1.012, allocations: 4.699 MB / 0.6641 GB, free: 13.08 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005452/1.012, allocations: 97.7 kB / 0.6642 GB, free: 12.98 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001918/1.014, allocations: 4.68 MB / 0.6688 GB, free: 8.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009935/1.015, allocations: 1.446 MB / 0.6702 GB, free: 6.836 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000557/1.016, allocations: 470.9 kB / 0.6706 GB, free: 6.367 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.625e-05/1.016, allocations: 301.1 kB / 0.6709 GB, free: 6.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003651/1.019, allocations: 2.92 MB / 0.6738 GB, free: 3.145 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004774/1.024, allocations: 4.953 MB / 0.6786 GB, free: 13.26 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01068/1.035, allocations: 8.361 MB / 0.6868 GB, free: 3.961 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4e-05/1.035, allocations: 27.94 kB / 0.6868 GB, free: 3.934 MB / 462.1 MB Notification: Performance of matching and sorting (n=764) (initialization): time 0.01676/1.052, allocations: 9.751 MB / 0.6963 GB, free: 10.12 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.008e-05/1.052, allocations: 37.81 kB / 0.6964 GB, free: 10.09 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.236e-05/1.052, allocations: 68 kB / 0.6964 GB, free: 10.02 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0046/1.056, allocations: 1.654 MB / 0.698 GB, free: 8.359 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005101/1.062, allocations: 1.326 MB / 0.6993 GB, free: 7.031 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0234/1.085, allocations: 16.48 MB / 0.7154 GB, free: 6.023 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005806/1.091, allocations: 343.5 kB / 0.7158 GB, free: 5.688 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001299/1.092, allocations: 284 kB / 0.716 GB, free: 5.41 MB / 494.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.008467/1.101, allocations: 3.889 MB / 0.7198 GB, free: 1.508 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001435/1.102, allocations: 0.4901 MB / 0.7203 GB, free: 1.012 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2022/1.304, allocations: 7.811 MB / 0.7279 GB, free: 161.8 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-05/1.304, allocations: 43.34 kB / 0.728 GB, free: 161.8 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.582e-05/1.304, allocations: 20.09 kB / 0.728 GB, free: 161.8 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-05/1.304, allocations: 21.56 kB / 0.728 GB, free: 161.8 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02938/1.334, allocations: 17.49 MB / 0.7451 GB, free: 154.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.838e-05/1.334, allocations: 9.719 kB / 0.7451 GB, free: 154.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003038/1.337, allocations: 0.7317 MB / 0.7458 GB, free: 154.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003937/1.341, allocations: 1.549 MB / 0.7473 GB, free: 154.1 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000392/1.341, allocations: 105.4 kB / 0.7474 GB, free: 154 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01824/1.36, allocations: 19.52 MB / 0.7665 GB, free: 139.9 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.533e-06/1.36, allocations: 11.97 kB / 0.7665 GB, free: 139.9 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0151/1.375, allocations: 11.48 MB / 0.7777 GB, free: 132.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002251/1.377, allocations: 1.168 MB / 0.7789 GB, free: 132 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008031/1.378, allocations: 88 kB / 0.7789 GB, free: 131.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002622/1.38, allocations: 234 kB / 0.7792 GB, free: 131.7 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007197/1.381, allocations: 337.1 kB / 0.7795 GB, free: 131.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002603/1.381, allocations: 127.4 kB / 0.7796 GB, free: 131.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004219/1.386, allocations: 3.199 MB / 0.7827 GB, free: 128.7 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.386, allocations: 0 / 0.7827 GB, free: 128.7 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006822/1.392, allocations: 1.867 MB / 0.7846 GB, free: 126.9 MB / 494.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.0008943/1.393, allocations: 280 kB / 0.7848 GB, free: 126.6 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01224/1.406, allocations: 8.137 MB / 0.7928 GB, free: 119.4 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.868e-06/1.406, allocations: 4.188 kB / 0.7928 GB, free: 119.4 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006869/1.413, allocations: 4.656 MB / 0.7973 GB, free: 114.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01027/1.423, allocations: 1.248 MB / 0.7985 GB, free: 113.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02935/1.452, allocations: 24.08 MB / 0.8221 GB, free: 89.36 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006132/1.458, allocations: 6.786 MB / 0.8287 GB, free: 82.53 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005594/1.464, allocations: 1.865 MB / 0.8305 GB, free: 80.66 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001065/1.465, allocations: 367.4 kB / 0.8309 GB, free: 80.3 MB / 494.1 MB Notification: Performance of SimCode: time 7.91e-07/1.465, allocations: 0 / 0.8309 GB, free: 80.3 MB / 494.1 MB Notification: Performance of Templates: time 0.3461/1.811, allocations: 81.07 MB / 0.91 GB, free: 140.8 MB / 494.1 MB 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/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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches