Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.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.FundamentalWave.Examples.BasicMachines.AIMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimcE.i_0_s|aimcE.idq_rr.1.|aimcE.idq_rr.2.|aimcE.idq_sr.1.|aimcE.idq_sr.2.|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.stator.strayReluctance.port_p.Phi.im|aimcM.stator.strayReluctance.port_p.Phi.re|aimcM.stator.zeroInductor.i0|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL") Notification: Performance of loadModel(Modelica): time 1.959/1.959, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003496/0.0003496, allocations: 15.98 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09077/0.09115, allocations: 44.51 MB / 309.1 MB, free: 360 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL): time 0.02711/0.1183, allocations: 15.84 MB / 324.9 MB, free: 464 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01437/0.1327, allocations: 5.453 MB / 330.4 MB, free: 10.99 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003297/0.1361, allocations: 95.56 kB / 330.5 MB, free: 10.89 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004716/0.1409, allocations: 1.003 MB / 331.5 MB, free: 9.887 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007484/0.1484, allocations: 1.62 MB / 333.1 MB, free: 8.262 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004002/0.1524, allocations: 0.7952 MB / 333.9 MB, free: 7.465 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01076/0.1632, allocations: 4.329 MB / 338.2 MB, free: 3.121 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007626/0.1709, allocations: 3.531 MB / 341.7 MB, free: 15.54 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004336/0.1753, allocations: 1.985 MB / 343.7 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005653/0.181, allocations: 2.463 MB / 346.2 MB, free: 11.07 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001586/0.1826, allocations: 335.9 kB / 346.5 MB, free: 10.74 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003091/0.1857, allocations: 0.5271 MB / 347 MB, free: 10.21 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002525/0.1883, allocations: 1.34 MB / 348.4 MB, free: 8.871 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0024/0.1908, allocations: 1.171 MB / 349.6 MB, free: 7.691 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01407/0.2049, allocations: 8.574 MB / 358.1 MB, free: 15.09 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.2049, allocations: 0 / 358.1 MB, free: 15.09 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.025e-06/0.2049, allocations: 4 kB / 358.1 MB, free: 15.09 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003145/0.2053, allocations: 0 / 358.1 MB, free: 15.09 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1348 * Number of variables: 1348 Notification: Performance of Generate backend data structure: time 0.02204/0.2273, allocations: 5.654 MB / 363.8 MB, free: 9.355 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/0.2274, allocations: 12.03 kB / 363.8 MB, free: 9.344 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00842/0.2358, allocations: 1.078 MB / 364.9 MB, free: 8.258 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01031/0.2462, allocations: 3.332 MB / 368.2 MB, free: 4.852 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005628/0.2468, allocations: 386.3 kB / 368.6 MB, free: 4.473 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001974/0.2488, allocations: 0.5076 MB / 369.1 MB, free: 3.965 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3006/0.5494, allocations: 6.866 MB / 376 MB, free: 52.74 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004018/0.5499, allocations: 11.95 kB / 376 MB, free: 52.74 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00201/0.5519, allocations: 211.6 kB / 376.2 MB, free: 52.58 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005388/0.5525, allocations: 236.1 kB / 376.4 MB, free: 52.56 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02711/0.5797, allocations: 5.896 MB / 382.3 MB, free: 50.32 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0535/0.6332, allocations: 21.43 MB / 403.7 MB, free: 35.54 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01171/0.645, allocations: 8.679 MB / 412.4 MB, free: 27.19 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01472/0.6598, allocations: 5.11 MB / 417.5 MB, free: 22.02 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.821e-05/0.6599, allocations: 68.33 kB / 417.6 MB, free: 21.95 MB / 314.7 MB Notification: Performance of pre-optimization done (n=227): time 6.102e-06/0.6599, allocations: 0 / 417.6 MB, free: 21.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=246): time 0.03867/0.6986, allocations: 11.65 MB / 429.2 MB, free: 10.07 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.6987, allocations: 77.41 kB / 429.3 MB, free: 9.977 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01032/0.709, allocations: 2.903 MB / 432.2 MB, free: 7.062 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007339/0.7098, allocations: 65.7 kB / 432.3 MB, free: 6.992 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003197/0.713, allocations: 2.294 MB / 434.6 MB, free: 4.68 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001547/0.7147, allocations: 0.8386 MB / 435.4 MB, free: 3.848 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004682/0.7152, allocations: 60 kB / 435.5 MB, free: 3.789 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000324/0.7155, allocations: 420 kB / 435.9 MB, free: 3.371 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005643/0.7212, allocations: 1.384 MB / 437.3 MB, free: 1.984 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006837/0.7281, allocations: 2.139 MB / 439.4 MB, free: 15.52 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00783/0.736, allocations: 1.729 MB / 441.1 MB, free: 13.77 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.964e-05/0.7361, allocations: 8 kB / 441.1 MB, free: 13.76 MB / 330.7 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.02096/0.7571, allocations: 4.708 MB / 445.8 MB, free: 8.953 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.362e-05/0.7572, allocations: 15.84 kB / 445.9 MB, free: 8.941 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.469e-05/0.7573, allocations: 24.72 kB / 445.9 MB, free: 8.918 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004903/0.7622, allocations: 0.7538 MB / 446.6 MB, free: 8.137 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007883/0.7701, allocations: 0.6513 MB / 447.3 MB, free: 7.484 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02916/0.7994, allocations: 13.53 MB / 460.8 MB, free: 9.043 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004009/0.8034, allocations: 159.8 kB / 461 MB, free: 8.887 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005637/0.804, allocations: 120 kB / 461.1 MB, free: 8.77 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 104 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (330): * Single equations (assignments): 320 * 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: 7 * 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: 7 {(1,100.0%) 1,(2,100.0%) 12,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004597/0.8086, allocations: 1.606 MB / 462.7 MB, free: 7.152 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001059/0.8097, allocations: 336 kB / 463 MB, free: 6.82 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0123/0.822, allocations: 4.27 MB / 467.3 MB, free: 2.461 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.916e-05/0.8221, allocations: 15.95 kB / 467.3 MB, free: 2.445 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/0.8221, allocations: 2.953 kB / 467.3 MB, free: 2.445 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00242/0.8246, allocations: 0.7002 MB / 468 MB, free: 1.723 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008746/0.8255, allocations: 55.95 kB / 468.1 MB, free: 1.668 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002869/0.8283, allocations: 147.8 kB / 468.2 MB, free: 1.523 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006761/0.8291, allocations: 213.6 kB / 468.4 MB, free: 1.316 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01633/0.8454, allocations: 4.299 MB / 472.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01375/0.8592, allocations: 5.134 MB / 477.9 MB, free: 7.879 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003954/0.8632, allocations: 1.487 MB / 479.3 MB, free: 6.391 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.004971/0.8682, allocations: 1.967 MB / 481.3 MB, free: 4.426 MB / 362.7 MB Notification: Performance of Backend: time 8.81e-07/0.8683, allocations: 0 / 481.3 MB, free: 4.426 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.009972/0.8783, allocations: 3.597 MB / 484.9 MB, free: 0.6836 MB / 362.7 MB Notification: Performance of SimCode: time 0.02881/0.9071, allocations: 12.15 MB / 497.1 MB, free: 4.473 MB / 378.7 MB Notification: Performance of Templates: time 0.4325/1.34, allocations: 52.15 MB / 0.5363 GB, free: 122.6 MB / 410.7 MB