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.001702/0.001702, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002068/0.002068, allocations: 211.8 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.791/1.791, allocations: 227.4 MB / 247.4 MB, free: 10.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 64.02 kB / 307.6 MB, free: 0.6016 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1146, allocations: 50.54 MB / 358.2 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.2111/0.3257, allocations: 33.49 MB / 391.7 MB, free: 2.594 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02156/0.3474, allocations: 9.247 MB / 400.9 MB, free: 12 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008347/0.3557, allocations: 238.7 kB / 401.2 MB, free: 11.95 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01997/0.3758, allocations: 7.966 MB / 409.1 MB, free: 6.426 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01464/0.3904, allocations: 3.665 MB / 412.8 MB, free: 3.461 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008345/0.3988, allocations: 2.152 MB / 414.9 MB, free: 1.719 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02068/0.4195, allocations: 13.04 MB / 428 MB, free: 6.617 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04165/0.4612, allocations: 22.61 MB / 450.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01401/0.4752, allocations: 6.541 MB / 457.1 MB, free: 9.289 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01289/0.4882, allocations: 7.401 MB / 464.5 MB, free: 1.863 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005521/0.4937, allocations: 1.883 MB / 466.4 MB, free: 15.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008015/0.5018, allocations: 2.281 MB / 468.7 MB, free: 13.7 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006378/0.5082, allocations: 3.753 MB / 472.4 MB, free: 9.938 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0175/0.5257, allocations: 7.117 MB / 479.6 MB, free: 2.793 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02982/0.5555, allocations: 24.91 MB / 0.4927 GB, free: 9.809 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/0.5556, allocations: 0 / 0.4927 GB, free: 9.809 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.5556, allocations: 3.938 kB / 0.4927 GB, free: 9.805 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0007482/0.5564, allocations: 0 / 0.4927 GB, free: 9.805 MB / 414.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.04585/0.6022, allocations: 14.68 MB / 0.507 GB, free: 11.01 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.6023, allocations: 8.031 kB / 0.507 GB, free: 11 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03927/0.6416, allocations: 6.784 MB / 0.5136 GB, free: 4.199 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01631/0.6579, allocations: 7.916 MB / 0.5214 GB, free: 12.2 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007599/0.6587, allocations: 0.7947 MB / 0.5221 GB, free: 11.41 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004376/0.6631, allocations: 1.051 MB / 0.5232 GB, free: 10.36 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3983/1.061, allocations: 17.22 MB / 0.54 GB, free: 122.4 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003151/1.062, allocations: 15.22 kB / 0.54 GB, free: 122.4 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002031/1.064, allocations: 441.1 kB / 0.5404 GB, free: 122 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007327/1.065, allocations: 0.626 MB / 0.541 GB, free: 122 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03167/1.096, allocations: 16.3 MB / 0.5569 GB, free: 115.7 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08318/1.18, allocations: 56.98 MB / 0.6126 GB, free: 67.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02222/1.202, allocations: 31.39 MB / 0.6432 GB, free: 32.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006782/1.209, allocations: 4.359 MB / 0.6475 GB, free: 28.45 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01952/1.228, allocations: 10.76 MB / 0.658 GB, free: 17.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.305e-05/1.228, allocations: 81.8 kB / 0.6581 GB, free: 17.55 MB / 446.1 MB Notification: Performance of pre-optimization done (n=398): time 5.38e-06/1.228, allocations: 3.938 kB / 0.6581 GB, free: 17.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=423): time 0.04814/1.276, allocations: 21.53 MB / 0.6791 GB, free: 11.65 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.742e-05/1.277, allocations: 124.7 kB / 0.6792 GB, free: 11.51 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00984/1.286, allocations: 4.71 MB / 0.6838 GB, free: 6.789 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008973/1.287, allocations: 101.7 kB / 0.6839 GB, free: 6.684 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003709/1.291, allocations: 4.672 MB / 0.6885 GB, free: 1.98 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001964/1.293, allocations: 1.452 MB / 0.6899 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003271/1.296, allocations: 1.128 MB / 0.691 GB, free: 15.4 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001109/1.296, allocations: 301.1 kB / 0.6913 GB, free: 15.1 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004898/1.301, allocations: 2.908 MB / 0.6941 GB, free: 12.19 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006523/1.308, allocations: 4.953 MB / 0.699 GB, free: 6.309 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01191/1.32, allocations: 8.337 MB / 0.7071 GB, free: 13.03 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.69e-05/1.32, allocations: 20 kB / 0.7071 GB, free: 13.01 MB / 494.1 MB Notification: Performance of matching and sorting (n=764) (initialization): time 0.02034/1.34, allocations: 9.732 MB / 0.7166 GB, free: 3.223 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.335e-05/1.34, allocations: 32 kB / 0.7167 GB, free: 3.191 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001309/1.341, allocations: 68 kB / 0.7167 GB, free: 3.125 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004887/1.345, allocations: 1.662 MB / 0.7184 GB, free: 1.453 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005582/1.351, allocations: 1.314 MB / 0.7196 GB, free: 140 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2287/1.58, allocations: 17.76 MB / 0.737 GB, free: 147.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005239/1.585, allocations: 330.2 kB / 0.7373 GB, free: 147 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001103/1.586, allocations: 283.6 kB / 0.7376 GB, free: 146.9 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.00794/1.594, allocations: 3.897 MB / 0.7414 GB, free: 145.1 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001522/1.596, allocations: 0.4948 MB / 0.7419 GB, free: 145.1 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01314/1.609, allocations: 7.794 MB / 0.7495 GB, free: 141.8 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-05/1.609, allocations: 47.5 kB / 0.7495 GB, free: 141.8 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.534e-05/1.609, allocations: 15.84 kB / 0.7495 GB, free: 141.8 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.661e-05/1.609, allocations: 27.08 kB / 0.7496 GB, free: 141.8 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02614/1.635, allocations: 17.47 MB / 0.7666 GB, free: 134.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-05/1.635, allocations: 3.875 kB / 0.7666 GB, free: 134.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003002/1.638, allocations: 0.7289 MB / 0.7673 GB, free: 134.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003876/1.642, allocations: 1.561 MB / 0.7689 GB, free: 133.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005308/1.643, allocations: 106.5 kB / 0.769 GB, free: 133.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01965/1.662, allocations: 21.23 MB / 0.7897 GB, free: 118.1 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/1.662, allocations: 11.94 kB / 0.7897 GB, free: 118.1 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01612/1.678, allocations: 11.44 MB / 0.8009 GB, free: 107.4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002775/1.681, allocations: 1.158 MB / 0.802 GB, free: 106.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009848/1.682, allocations: 96.06 kB / 0.8021 GB, free: 106.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002644/1.685, allocations: 223.8 kB / 0.8023 GB, free: 106.1 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007325/1.686, allocations: 331.3 kB / 0.8026 GB, free: 105.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002456/1.686, allocations: 128 kB / 0.8028 GB, free: 105.6 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004399/1.69, allocations: 3.198 MB / 0.8059 GB, free: 102.4 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.01e-07/1.69, allocations: 0 / 0.8059 GB, free: 102.4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007528/1.698, allocations: 1.866 MB / 0.8077 GB, free: 100.6 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.0009064/1.699, allocations: 294.2 kB / 0.808 GB, free: 100.3 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.02195/1.721, allocations: 11.59 MB / 0.8193 GB, free: 88.69 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.572e-05/1.721, allocations: 3.828 kB / 0.8193 GB, free: 88.69 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007361/1.728, allocations: 4.644 MB / 0.8238 GB, free: 83.96 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006846/1.735, allocations: 1.31 MB / 0.8251 GB, free: 82.69 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02986/1.765, allocations: 19.13 MB / 0.8438 GB, free: 63.47 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006308/1.771, allocations: 6.575 MB / 0.8502 GB, free: 56.86 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001917/1.773, allocations: 427.3 kB / 0.8506 GB, free: 56.44 MB / 494.1 MB Notification: Performance of SimCode: time 1.583e-06/1.773, allocations: 0 / 0.8506 GB, free: 56.44 MB / 494.1 MB Notification: Performance of Templates: time 0.9454/2.719, allocations: 461.6 MB / 1.301 GB, free: 149.1 MB / 0.4982 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