Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|Itr|Iqs|ims.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|ims.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|ims.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|ims.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imsQS.rotor.electroMagneticConverter.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaE.phi|loadInertiaE.w",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") Notification: Performance of loadModel(Modelica): time 2.159/2.159, allocations: 194.9 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003384/0.0003386, allocations: 15.98 kB / 264.6 MB, free: 12.89 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08634/0.0867, allocations: 44.5 MB / 309.1 MB, free: 328 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start): time 0.06323/0.15, allocations: 37.58 MB / 346.7 MB, free: 10.63 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03586/0.1859, allocations: 11.32 MB / 358 MB, free: 15.28 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007983/0.1939, allocations: 278.9 kB / 358.3 MB, free: 15.01 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01106/0.205, allocations: 2.499 MB / 360.8 MB, free: 12.5 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01883/0.2239, allocations: 4.238 MB / 365 MB, free: 8.246 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009973/0.2339, allocations: 1.942 MB / 366.9 MB, free: 6.305 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.3059/0.5399, allocations: 16.89 MB / 383.8 MB, free: 12.22 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07235/0.6123, allocations: 31.66 MB / 415.5 MB, free: 4.484 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01384/0.6262, allocations: 7.322 MB / 422.8 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01812/0.6443, allocations: 8.268 MB / 431.1 MB, free: 12.13 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00563/0.65, allocations: 1.215 MB / 432.3 MB, free: 10.91 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009911/0.66, allocations: 1.516 MB / 433.8 MB, free: 9.5 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007099/0.6671, allocations: 3.794 MB / 437.6 MB, free: 7.852 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008585/0.6757, allocations: 3.995 MB / 441.6 MB, free: 6.035 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.05387/0.7297, allocations: 34.75 MB / 476.3 MB, free: 4.891 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.7297, allocations: 2.844 kB / 476.3 MB, free: 4.891 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.076e-06/0.7297, allocations: 0 / 476.3 MB, free: 4.891 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0009952/0.7307, allocations: 0 / 476.3 MB, free: 4.891 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5087 * Number of variables: 5087 Notification: Performance of Generate backend data structure: time 0.08533/0.8161, allocations: 20.12 MB / 496.5 MB, free: 0.918 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.509e-05/0.8162, allocations: 12.03 kB / 496.5 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1022/0.9184, allocations: 12.14 MB / 0.4967 GB, free: 4.871 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03815/0.9566, allocations: 11.87 MB / 0.5083 GB, free: 9.059 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001993/0.9586, allocations: 1.369 MB / 0.5096 GB, free: 7.707 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007994/0.9666, allocations: 1.805 MB / 0.5114 GB, free: 5.922 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6653/1.632, allocations: 29.76 MB / 0.5405 GB, free: 92.1 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008904/1.633, allocations: 21.47 kB / 0.5405 GB, free: 92.09 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006116/1.639, allocations: 0.7425 MB / 0.5412 GB, free: 91.52 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001323/1.64, allocations: 1.029 MB / 0.5422 GB, free: 91.41 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0761/1.716, allocations: 27.85 MB / 0.5694 GB, free: 77.21 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2121/1.929, allocations: 95.65 MB / 0.6628 GB, free: 12.58 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.6305/2.559, allocations: 63.38 MB / 0.7247 GB, free: 83.4 MB / 458.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05606/2.615, allocations: 20.23 MB / 0.7445 GB, free: 77.04 MB / 458.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.069e-05/2.615, allocations: 116.2 kB / 0.7446 GB, free: 76.94 MB / 458.9 MB Notification: Performance of pre-optimization done (n=697): time 1.165e-05/2.615, allocations: 0 / 0.7446 GB, free: 76.94 MB / 458.9 MB Notification: Performance of matching and sorting (n=705): time 0.1406/2.756, allocations: 39.25 MB / 0.7829 GB, free: 60.3 MB / 458.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.81e-05/2.756, allocations: 146.7 kB / 0.783 GB, free: 60.2 MB / 458.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01366/2.77, allocations: 7.135 MB / 0.79 GB, free: 57.62 MB / 458.9 MB Notification: Performance of collectPreVariables (initialization): time 0.001322/2.771, allocations: 145.2 kB / 0.7902 GB, free: 57.5 MB / 458.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.005502/2.777, allocations: 7.911 MB / 0.7979 GB, free: 51.38 MB / 458.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.002949/2.78, allocations: 2.393 MB / 0.8002 GB, free: 49.32 MB / 458.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001005/2.781, allocations: 201.1 kB / 0.8004 GB, free: 49.16 MB / 458.9 MB Notification: Performance of setup shared object (initialization): time 0.0005869/2.781, allocations: 0.7113 MB / 0.8011 GB, free: 48.56 MB / 458.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01164/2.793, allocations: 4.982 MB / 0.806 GB, free: 45.87 MB / 458.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0141/2.807, allocations: 8.648 MB / 0.8144 GB, free: 36.66 MB / 458.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01461/2.822, allocations: 6.77 MB / 0.821 GB, free: 29.86 MB / 458.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.529e-05/2.822, allocations: 36 kB / 0.8211 GB, free: 29.82 MB / 458.9 MB Notification: Performance of matching and sorting (n=1290) (initialization): time 0.04112/2.863, allocations: 16.53 MB / 0.8372 GB, free: 13.13 MB / 458.9 MB Notification: Performance of prepare postOptimizeDAE: time 9.475e-05/2.863, allocations: 56 kB / 0.8373 GB, free: 13.07 MB / 458.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001804/2.863, allocations: 120.8 kB / 0.8374 GB, free: 12.96 MB / 458.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01033/2.874, allocations: 2.611 MB / 0.8399 GB, free: 10.32 MB / 458.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01505/2.889, allocations: 2.199 MB / 0.8421 GB, free: 8.121 MB / 458.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3757/3.265, allocations: 29.29 MB / 0.8707 GB, free: 128.4 MB / 474.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01126/3.276, allocations: 0.5502 MB / 0.8712 GB, free: 128.4 MB / 474.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002241/3.278, allocations: 482.8 kB / 0.8717 GB, free: 128.4 MB / 474.9 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 546 * Number of states: 0 () * Number of discrete variables: 12 (rheostatQS.booleanStep[1].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1141): * Single equations (assignments): 1128 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 1,(18,38.9%) 100,(1,100.0%) 5,(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.0165/3.295, allocations: 6.82 MB / 0.8783 GB, free: 127.5 MB / 474.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002324/3.297, allocations: 0.7775 MB / 0.8791 GB, free: 127.5 MB / 474.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06118/3.358, allocations: 13.35 MB / 0.8921 GB, free: 122 MB / 474.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001952/3.358, allocations: 38.08 kB / 0.8922 GB, free: 122 MB / 474.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.154e-05/3.358, allocations: 3.938 kB / 0.8922 GB, free: 122 MB / 474.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.02025/3.379, allocations: 1.79 MB / 0.8939 GB, free: 121.4 MB / 474.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003317/3.382, allocations: 121.9 kB / 0.894 GB, free: 121.3 MB / 474.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0146/3.397, allocations: 416 kB / 0.8944 GB, free: 121.2 MB / 474.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002509/3.399, allocations: 0.5907 MB / 0.895 GB, free: 121.1 MB / 474.9 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04008/3.439, allocations: 12.87 MB / 0.9076 GB, free: 116.7 MB / 474.9 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.03406/3.474, allocations: 14.84 MB / 0.9221 GB, free: 111.2 MB / 474.9 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01/3.484, allocations: 4.708 MB / 0.9267 GB, free: 109.4 MB / 474.9 MB Notification: Performance of sorting global known variables: time 0.01025/3.494, allocations: 4.774 MB / 0.9313 GB, free: 107.7 MB / 474.9 MB Notification: Performance of Backend: time 1.032e-06/3.494, allocations: 2.812 kB / 0.9313 GB, free: 107.7 MB / 474.9 MB Notification: Performance of simCode: created initialization part: time 0.02473/3.519, allocations: 9.851 MB / 0.9409 GB, free: 102.3 MB / 474.9 MB Notification: Performance of SimCode: time 0.0785/3.597, allocations: 37.99 MB / 0.978 GB, free: 66.27 MB / 474.9 MB Notification: Performance of Templates: time 0.6655/4.263, allocations: 145.1 MB / 1.12 GB, free: 91.34 MB / 474.9 MB