Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001224, allocations: 111 kB / 17.74 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 192.4 kB / 18.67 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009408/0.0009408, allocations: 43.92 kB / 352 MB, free: 3.191 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3127, allocations: 49.43 MB / 401.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.03995/0.3527, allocations: 38.29 MB / 439.7 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0247/0.3774, allocations: 10.01 MB / 449.7 MB, free: 8.344 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01141/0.3889, allocations: 291.1 kB / 450 MB, free: 8.059 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02562/0.4146, allocations: 10.17 MB / 460.2 MB, free: 13.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01787/0.4324, allocations: 4.04 MB / 464.2 MB, free: 9.801 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01/0.4425, allocations: 2.375 MB / 466.6 MB, free: 7.434 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0252/0.4677, allocations: 16.38 MB / 483 MB, free: 7.004 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05356/0.5213, allocations: 31.22 MB / 0.5022 GB, free: 7.527 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01734/0.5387, allocations: 8.458 MB / 0.5104 GB, free: 15.05 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01673/0.5555, allocations: 9.324 MB / 0.5195 GB, free: 5.691 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009035/0.5645, allocations: 2.418 MB / 0.5219 GB, free: 3.273 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01211/0.5767, allocations: 2.812 MB / 0.5246 GB, free: 472 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009661/0.5864, allocations: 4.805 MB / 0.5293 GB, free: 11.64 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01974/0.6062, allocations: 9.206 MB / 0.5383 GB, free: 2.402 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.5609/1.167, allocations: 32.09 MB / 0.5697 GB, free: 48.49 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/1.167, allocations: 0.5625 kB / 0.5697 GB, free: 48.49 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.493e-06/1.167, allocations: 3.188 kB / 0.5697 GB, free: 48.49 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.001059/1.168, allocations: 0.9375 kB / 0.5697 GB, free: 48.49 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: 3921 * Number of variables: 3921 Notification: Performance of Generate backend data structure: time 0.06762/1.236, allocations: 18.67 MB / 0.5879 GB, free: 40.19 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/1.236, allocations: 11.75 kB / 0.5879 GB, free: 40.18 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04624/1.282, allocations: 8.296 MB / 0.596 GB, free: 36.43 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02536/1.308, allocations: 10.19 MB / 0.606 GB, free: 28.91 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009894/1.309, allocations: 1.062 MB / 0.607 GB, free: 27.86 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008109/1.317, allocations: 1.396 MB / 0.6084 GB, free: 26.48 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06367/1.38, allocations: 22.74 MB / 0.6306 GB, free: 3.684 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005235/1.381, allocations: 23.81 kB / 0.6306 GB, free: 3.66 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004964/1.386, allocations: 0.5819 MB / 0.6312 GB, free: 3.098 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006943/1.387, allocations: 0.7824 MB / 0.6319 GB, free: 2.316 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0529/1.44, allocations: 21.01 MB / 0.6524 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1624/1.602, allocations: 71.99 MB / 0.7227 GB, free: 5.012 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3935/1.996, allocations: 42.4 MB / 0.7641 GB, free: 170.3 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01061/2.006, allocations: 5.162 MB / 0.7692 GB, free: 170.2 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02575/2.032, allocations: 12.67 MB / 0.7816 GB, free: 166.7 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.298e-05/2.032, allocations: 85.48 kB / 0.7816 GB, free: 166.6 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=498): time 6.442e-06/2.032, allocations: 0 / 0.7816 GB, free: 166.6 MB / 0.5607 GB Notification: Performance of matching and sorting (n=506): time 0.061/2.093, allocations: 26.29 MB / 0.8073 GB, free: 155.3 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.805e-05/2.093, allocations: 135.8 kB / 0.8074 GB, free: 155.2 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01405/2.107, allocations: 5.756 MB / 0.8131 GB, free: 152.4 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001321/2.109, allocations: 105.7 kB / 0.8132 GB, free: 152.2 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.004041/2.113, allocations: 6.157 MB / 0.8192 GB, free: 146.8 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002451/2.115, allocations: 1.729 MB / 0.8209 GB, free: 145.2 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005376/2.121, allocations: 1.456 MB / 0.8223 GB, free: 143.9 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 6.682e-05/2.121, allocations: 305.1 kB / 0.8226 GB, free: 143.6 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006146/2.127, allocations: 3.632 MB / 0.8261 GB, free: 140.5 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008075/2.135, allocations: 6.469 MB / 0.8324 GB, free: 133.4 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01461/2.15, allocations: 10.76 MB / 0.8429 GB, free: 122.1 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001314/2.15, allocations: 24 kB / 0.843 GB, free: 122 MB / 0.5607 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.02591/2.176, allocations: 12.09 MB / 0.8548 GB, free: 109.9 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001381/2.176, allocations: 48.55 kB / 0.8548 GB, free: 109.8 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001916/2.176, allocations: 96 kB / 0.8549 GB, free: 109.7 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004424/2.18, allocations: 1.59 MB / 0.8565 GB, free: 108.1 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006753/2.187, allocations: 1.669 MB / 0.8581 GB, free: 106.5 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02218/2.209, allocations: 19.63 MB / 0.8773 GB, free: 86.19 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007439/2.217, allocations: 423.4 kB / 0.8777 GB, free: 85.77 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001992/2.219, allocations: 368 kB / 0.878 GB, free: 85.41 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 423 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepQS[3].y,booleanStepQS[2].y,booleanStepQS[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (865): * Single equations (assignments): 858 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,1,100.0%), (12,64,52.1%), (1,5,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01241/2.231, allocations: 5.182 MB / 0.8831 GB, free: 80.22 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002853/2.234, allocations: 0.6038 MB / 0.8837 GB, free: 79.61 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01874/2.253, allocations: 9.362 MB / 0.8928 GB, free: 70.15 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008877/2.262, allocations: 5.868 MB / 0.8985 GB, free: 64.25 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.522e-05/2.262, allocations: 16 kB / 0.8986 GB, free: 64.23 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.97e-05/2.262, allocations: 31.89 kB / 0.8986 GB, free: 64.2 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0475/2.31, allocations: 20.98 MB / 0.9191 GB, free: 43.12 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.811e-05/2.31, allocations: 8 kB / 0.9191 GB, free: 43.12 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003858/2.313, allocations: 0.8667 MB / 0.9199 GB, free: 42.25 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004559/2.318, allocations: 1.65 MB / 0.9215 GB, free: 40.59 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009104/2.319, allocations: 124 kB / 0.9217 GB, free: 40.46 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02445/2.343, allocations: 23.19 MB / 0.9443 GB, free: 16.33 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.064e-06/2.343, allocations: 4 kB / 0.9443 GB, free: 16.33 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02507/2.369, allocations: 13.71 MB / 0.9577 GB, free: 2.25 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004134/2.373, allocations: 1.356 MB / 0.959 GB, free: 0.8672 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002156/2.375, allocations: 104.1 kB / 0.9591 GB, free: 0.7656 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004435/2.379, allocations: 291.8 kB / 0.9594 GB, free: 492 kB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001369/2.381, allocations: 412.2 kB / 0.9598 GB, free: 80 kB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.4265/2.807, allocations: 149.4 kB / 0.9599 GB, free: 180.5 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.009896/2.817, allocations: 3.883 MB / 0.9637 GB, free: 180.4 MB / 0.5607 GB Notification: Performance of sort global known variables: time 7.91e-07/2.817, allocations: 0 / 0.9637 GB, free: 180.4 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01392/2.831, allocations: 2.341 MB / 0.966 GB, free: 180.4 MB / 0.5607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,loadInertiaQS.w,quadraticLoadTorqueQS.phi,imcQS.rotorCage.port_p.reference.gamma) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (438): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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%), (1,13,100.0%), (1,5,100.0%), (1,8,100.0%), (2,12,100.0%), (1,1,100.0%), (12,64,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001909/2.833, allocations: 313.2 kB / 0.9663 GB, free: 180.3 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01691/2.85, allocations: 9.893 MB / 0.976 GB, free: 179.1 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.381e-05/2.85, allocations: 7.5 kB / 0.976 GB, free: 179.1 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.009728/2.86, allocations: 5.439 MB / 0.9813 GB, free: 177.7 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009955/2.87, allocations: 1.62 MB / 0.9829 GB, free: 177.1 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05059/2.92, allocations: 24.2 MB / 1.007 GB, free: 164.3 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01848/2.939, allocations: 8.572 MB / 1.015 GB, free: 157.7 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002573/2.942, allocations: 0.5061 MB / 1.015 GB, free: 157.2 MB / 0.5607 GB Notification: Performance of SimCode: time 1.483e-06/2.942, allocations: 4 kB / 1.015 GB, free: 157.2 MB / 0.5607 GB Notification: Performance of Templates: time 1.871/4.813, allocations: 0.6672 GB / 1.683 GB, free: 146.5 MB / 0.5919 GB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_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_DOL/IMC_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches