Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start,tolerance=1e-05,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|aimsE.i_0_r|aimsE.i_0_s|aimsE.idq_rr.1.|aimsE.idq_rr.2.|aimsE.idq_sr.1.|aimsE.idq_sr.2.|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimsM.rotor.zeroInductor.i0|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimsM.stator.zeroInductor.i0|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start") Notification: Performance of loadModel(Modelica): time 1.666/1.666, allocations: 171.2 MB / 186.7 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003527/0.0003527, allocations: 8 kB / 233.9 MB, free: 2.387 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07838/0.07876, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start): time 0.03062/0.1094, allocations: 18.44 MB / 291.1 MB, free: 9.031 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01629/0.1258, allocations: 6.33 MB / 297.4 MB, free: 2.688 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003931/0.1298, allocations: 119.4 kB / 297.5 MB, free: 2.57 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005389/0.1352, allocations: 1.216 MB / 298.7 MB, free: 1.348 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.2182/0.3535, allocations: 1.897 MB / 300.6 MB, free: 10.62 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004539/0.3581, allocations: 0.9246 MB / 301.6 MB, free: 10.61 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.01303/0.3711, allocations: 5.66 MB / 307.2 MB, free: 10.59 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01078/0.382, allocations: 4.828 MB / 312 MB, free: 9.688 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006238/0.3882, allocations: 2.66 MB / 314.7 MB, free: 9.684 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007537/0.3958, allocations: 3.202 MB / 317.9 MB, free: 9.68 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002545/0.3984, allocations: 452.8 kB / 318.4 MB, free: 9.676 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004671/0.4031, allocations: 0.618 MB / 319 MB, free: 9.676 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003879/0.4071, allocations: 1.792 MB / 320.8 MB, free: 9.449 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00354/0.4107, allocations: 1.531 MB / 322.3 MB, free: 9.18 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01736/0.4281, allocations: 11.36 MB / 333.6 MB, free: 15.78 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.4281, allocations: 0 / 333.6 MB, free: 15.78 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.527e-06/0.4282, allocations: 0 / 333.6 MB, free: 15.78 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0004477/0.4286, allocations: 4 kB / 333.7 MB, free: 15.78 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1699 * Number of variables: 1699 Notification: Performance of Generate backend data structure: time 0.02915/0.4578, allocations: 7.332 MB / 341 MB, free: 9.008 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/0.4579, allocations: 8.031 kB / 341 MB, free: 9 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007/0.4649, allocations: 1.064 MB / 342.1 MB, free: 7.949 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01537/0.4803, allocations: 4.664 MB / 346.7 MB, free: 4.453 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007584/0.4811, allocations: 488.3 kB / 347.2 MB, free: 3.977 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002706/0.4838, allocations: 0.6359 MB / 347.8 MB, free: 3.344 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02973/0.5136, allocations: 8.903 MB / 356.7 MB, free: 10.32 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002862/0.5139, allocations: 19.83 kB / 356.8 MB, free: 10.3 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001999/0.5159, allocations: 275.3 kB / 357 MB, free: 10.03 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003846/0.5164, allocations: 276.8 kB / 357.3 MB, free: 9.758 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02457/0.5409, allocations: 7.483 MB / 364.8 MB, free: 2.258 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07429/0.6153, allocations: 27.97 MB / 392.7 MB, free: 5.863 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01141/0.6267, allocations: 6.106 MB / 398.9 MB, free: 15.4 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005868/0.6274, allocations: 145.3 kB / 399 MB, free: 15.24 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.686e-05/0.6275, allocations: 69.06 kB / 399.1 MB, free: 15.16 MB / 330.7 MB Notification: Performance of pre-optimization done (n=319): time 6.492e-06/0.6275, allocations: 0 / 399.1 MB, free: 15.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=338): time 0.05464/0.6821, allocations: 16.4 MB / 415.5 MB, free: 14.23 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.125e-05/0.6822, allocations: 86.06 kB / 415.5 MB, free: 14.13 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008884/0.6911, allocations: 3.861 MB / 419.4 MB, free: 10.25 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007271/0.6919, allocations: 85.7 kB / 419.5 MB, free: 10.16 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003321/0.6952, allocations: 2.935 MB / 422.4 MB, free: 7.207 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001845/0.6971, allocations: 1.137 MB / 423.6 MB, free: 6.078 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000386/0.6975, allocations: 80 kB / 423.6 MB, free: 6 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003475/0.6979, allocations: 464.4 kB / 424.1 MB, free: 5.543 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00528/0.7032, allocations: 1.897 MB / 426 MB, free: 3.645 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006733/0.71, allocations: 2.788 MB / 428.8 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.4583/1.168, allocations: 2.328 MB / 431.1 MB, free: 99.83 MB / 346.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-05/1.168, allocations: 9.531 kB / 431.1 MB, free: 99.83 MB / 346.8 MB Notification: Performance of matching and sorting (n=488) (initialization): time 0.02285/1.191, allocations: 6.44 MB / 437.6 MB, free: 97.93 MB / 346.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.611e-05/1.191, allocations: 16.06 kB / 437.6 MB, free: 97.93 MB / 346.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.976e-05/1.191, allocations: 26.12 kB / 437.6 MB, free: 97.93 MB / 346.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00517/1.197, allocations: 1.266 MB / 438.9 MB, free: 97.49 MB / 346.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006414/1.203, allocations: 0.8287 MB / 439.7 MB, free: 97.41 MB / 346.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02451/1.228, allocations: 21.22 MB / 460.9 MB, free: 80.03 MB / 346.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005344/1.233, allocations: 206.4 kB / 461.1 MB, free: 79.97 MB / 346.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006785/1.234, allocations: 148.8 kB / 461.3 MB, free: 79.94 MB / 346.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 117 * Number of states: 0 () * Number of discrete variables: 9 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatE.booleanStep[1].y,rheostatE.booleanStep[2].y,rheostatE.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (425): * Single equations (assignments): 411 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(1,100.0%) 8,(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0051/1.239, allocations: 2.133 MB / 463.4 MB, free: 78.87 MB / 346.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001192/1.24, allocations: 444.4 kB / 463.8 MB, free: 78.87 MB / 346.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01495/1.255, allocations: 6.169 MB / 470 MB, free: 76.05 MB / 346.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-05/1.255, allocations: 15.7 kB / 470 MB, free: 76.05 MB / 346.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.17e-05/1.255, allocations: 0 / 470 MB, free: 76.05 MB / 346.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003062/1.258, allocations: 0.9239 MB / 470.9 MB, free: 75.71 MB / 346.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001132/1.259, allocations: 63.53 kB / 471 MB, free: 75.66 MB / 346.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003533/1.263, allocations: 216.2 kB / 471.2 MB, free: 75.61 MB / 346.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008008/1.264, allocations: 286.9 kB / 471.5 MB, free: 75.58 MB / 346.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01998/1.284, allocations: 6.067 MB / 477.6 MB, free: 71.58 MB / 346.8 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01435/1.298, allocations: 7.05 MB / 484.6 MB, free: 64.46 MB / 346.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004007/1.302, allocations: 2.055 MB / 486.7 MB, free: 62.4 MB / 346.8 MB Notification: Performance of sorting global known variables: time 0.005039/1.307, allocations: 2.618 MB / 489.3 MB, free: 59.77 MB / 346.8 MB Notification: Performance of Backend: time 1.563e-06/1.307, allocations: 0 / 489.3 MB, free: 59.77 MB / 346.8 MB Notification: Performance of simCode: created initialization part: time 0.01059/1.318, allocations: 4.849 MB / 494.1 MB, free: 54.75 MB / 346.8 MB Notification: Performance of SimCode: time 0.03136/1.349, allocations: 16.06 MB / 0.4982 GB, free: 38.66 MB / 346.8 MB Notification: Performance of Templates: time 0.4436/1.793, allocations: 71.57 MB / 0.5681 GB, free: 106.2 MB / 362.8 MB