Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.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.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smpm.idq_sr.1.|smpm.idq_sr.2.|voltageController.PI_d.x|voltageController.PI_q.x",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource") Notification: Performance of loadModel(Modelica): time 2.065/2.065, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004102/0.0004105, allocations: 12 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1259, allocations: 44.5 MB / 309.1 MB, free: 364 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource): time 0.02472/0.1506, allocations: 9.541 MB / 318.6 MB, free: 6.777 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01349/0.1642, allocations: 3.774 MB / 322.4 MB, free: 2.992 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002605/0.1669, allocations: 55.69 kB / 322.4 MB, free: 2.938 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004552/0.1715, allocations: 0.7229 MB / 323.2 MB, free: 2.211 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00604/0.1776, allocations: 0.8451 MB / 324 MB, free: 1.363 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00272/0.1804, allocations: 347.5 kB / 324.3 MB, free: 1.023 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00741/0.1878, allocations: 2.119 MB / 326.5 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007156/0.195, allocations: 2.057 MB / 328.5 MB, free: 12.82 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003591/0.1987, allocations: 1.031 MB / 329.6 MB, free: 11.79 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004829/0.2036, allocations: 1.393 MB / 330.9 MB, free: 10.39 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001416/0.2051, allocations: 164 kB / 331.1 MB, free: 10.23 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002334/0.2075, allocations: 247.8 kB / 331.3 MB, free: 9.984 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002839/0.2104, allocations: 0.8646 MB / 332.2 MB, free: 9.117 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002308/0.2128, allocations: 0.6289 MB / 332.8 MB, free: 8.48 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01033/0.2232, allocations: 4.363 MB / 337.2 MB, free: 4.105 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2232, allocations: 3.938 kB / 337.2 MB, free: 4.102 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.112e-06/0.2233, allocations: 0 / 337.2 MB, free: 4.102 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001996/0.2235, allocations: 3.938 kB / 337.2 MB, free: 4.098 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 742 * Number of variables: 742 Notification: Performance of Generate backend data structure: time 0.01549/0.239, allocations: 3.182 MB / 340.4 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.018e-05/0.2391, allocations: 8.031 kB / 340.4 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002801/0.2419, allocations: 399.5 kB / 340.8 MB, free: 456 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008648/0.2506, allocations: 1.876 MB / 342.7 MB, free: 14.52 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004148/0.2511, allocations: 213.7 kB / 342.9 MB, free: 14.3 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001438/0.2525, allocations: 287.9 kB / 343.2 MB, free: 14.02 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01626/0.2688, allocations: 3.626 MB / 346.8 MB, free: 10.32 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001615/0.269, allocations: 11.89 kB / 346.8 MB, free: 10.31 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006524/0.2697, allocations: 120 kB / 346.9 MB, free: 10.2 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003351/0.2701, allocations: 141.5 kB / 347.1 MB, free: 10.05 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01395/0.284, allocations: 3.066 MB / 350.1 MB, free: 6.977 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03805/0.3222, allocations: 11.58 MB / 361.7 MB, free: 11.05 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004213/0.3264, allocations: 1.868 MB / 363.6 MB, free: 9.07 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005/0.327, allocations: 207.2 kB / 363.8 MB, free: 8.832 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.894e-05/0.327, allocations: 55.56 kB / 363.8 MB, free: 8.77 MB / 314.7 MB Notification: Performance of pre-optimization done (n=124): time 5.16e-06/0.3271, allocations: 0 / 363.8 MB, free: 8.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=139): time 0.02295/0.35, allocations: 6.587 MB / 370.4 MB, free: 2.027 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.593e-05/0.3501, allocations: 68.72 kB / 370.5 MB, free: 1.945 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2731/0.6232, allocations: 1.911 MB / 372.4 MB, free: 58.88 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003252/0.6236, allocations: 48.98 kB / 372.4 MB, free: 58.84 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001717/0.6253, allocations: 1.408 MB / 373.8 MB, free: 58.52 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007207/0.6261, allocations: 486.3 kB / 374.3 MB, free: 58.15 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001575/0.6263, allocations: 38.56 kB / 374.4 MB, free: 58.12 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.6264, allocations: 374.8 kB / 374.7 MB, free: 57.79 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002249/0.6287, allocations: 0.8141 MB / 375.5 MB, free: 57.5 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002593/0.6313, allocations: 1.355 MB / 376.9 MB, free: 56.54 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002819/0.6342, allocations: 1.04 MB / 377.9 MB, free: 56.12 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-05/0.6343, allocations: 5.5 kB / 377.9 MB, free: 56.12 MB / 314.7 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.007913/0.6422, allocations: 2.818 MB / 380.8 MB, free: 54.95 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.384e-05/0.6423, allocations: 12.72 kB / 380.8 MB, free: 54.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.663e-05/0.6423, allocations: 17.25 kB / 380.8 MB, free: 54.95 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001404/0.6438, allocations: 365 kB / 381.1 MB, free: 54.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003208/0.647, allocations: 439.6 kB / 381.6 MB, free: 54.8 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007646/0.6547, allocations: 6.049 MB / 387.6 MB, free: 49.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002499/0.6572, allocations: 125.8 kB / 387.7 MB, free: 49.9 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002047/0.6575, allocations: 76.5 kB / 387.8 MB, free: 49.89 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * 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 (212): * Single equations (assignments): 208 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * 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: 3 {(2,100.0%) 9,(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002123/0.6596, allocations: 0.8983 MB / 388.7 MB, free: 49.4 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000633/0.6602, allocations: 211.8 kB / 388.9 MB, free: 49.29 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005875/0.6661, allocations: 2.391 MB / 391.3 MB, free: 48.26 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.882e-05/0.6662, allocations: 3.609 kB / 391.3 MB, free: 48.26 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.6662, allocations: 3.703 kB / 391.3 MB, free: 48.26 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001336/0.6676, allocations: 469.2 kB / 391.8 MB, free: 47.96 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004604/0.668, allocations: 27.91 kB / 391.8 MB, free: 47.94 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00164/0.6697, allocations: 104.4 kB / 391.9 MB, free: 47.92 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002592/0.67, allocations: 90.8 kB / 392 MB, free: 47.91 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006784/0.6768, allocations: 2.358 MB / 394.4 MB, free: 47.07 MB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.006175/0.683, allocations: 3.14 MB / 397.5 MB, free: 45.49 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00172/0.6847, allocations: 0.8653 MB / 398.4 MB, free: 45.04 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002511/0.6873, allocations: 1.297 MB / 399.7 MB, free: 44.14 MB / 314.7 MB Notification: Performance of Backend: time 8.22e-07/0.6873, allocations: 0 / 399.7 MB, free: 44.14 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004301/0.6916, allocations: 1.834 MB / 401.5 MB, free: 42.25 MB / 314.7 MB Notification: Performance of SimCode: time 0.01357/0.7052, allocations: 6.845 MB / 408.3 MB, free: 35.36 MB / 314.7 MB Notification: Performance of Templates: time 0.07369/0.779, allocations: 28.57 MB / 436.9 MB, free: 6.836 MB / 314.7 MB