Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr iPSL_iPSL.Examples.Machines.PSAT.Order4test2_perturbation.conf.json Using package iPSL with version 1.1.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(iPSL.Examples.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="iPSL_iPSL.Examples.Machines.PSAT.Order4test2_perturbation") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004252/0.004258, allocations: 344.7 kB / 15.95 MB, free: 6.199 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.348/3.348, allocations: 341.5 MB / 358.2 MB, free: 12.65 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003495/0.003494, allocations: 217.2 kB / 397.9 MB, free: 4.992 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo): time 0.7385/0.7385, allocations: 100.4 MB / 0.5251 GB, free: 88.2 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005027/0.000503, allocations: 12 kB / 0.5847 GB, free: 27.13 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.3504, allocations: 50.51 MB / 0.634 GB, free: 90.53 MB / 362.7 MB Notification: Performance of NFInst.instantiate(iPSL.Examples.Machines.PSAT.Order4test2_perturbation): time 0.004241/0.3547, allocations: 3.181 MB / 0.6371 GB, free: 88.03 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003516/0.3583, allocations: 1.433 MB / 0.6385 GB, free: 86.86 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006933/0.359, allocations: 11.53 kB / 0.6385 GB, free: 86.86 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003225/0.3594, allocations: 84.31 kB / 0.6386 GB, free: 86.79 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00079/0.3602, allocations: 183.9 kB / 0.6388 GB, free: 86.64 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002611/0.3628, allocations: 0.6555 MB / 0.6394 GB, free: 86.2 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001549/0.3644, allocations: 0.8737 MB / 0.6403 GB, free: 85.64 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006139/0.365, allocations: 250.2 kB / 0.6405 GB, free: 85.51 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007254/0.3658, allocations: 390.4 kB / 0.6409 GB, free: 85.27 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000939/0.3667, allocations: 0.5509 MB / 0.6414 GB, free: 84.89 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002215/0.367, allocations: 51.38 kB / 0.6415 GB, free: 84.89 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004858/0.3675, allocations: 136.5 kB / 0.6416 GB, free: 84.85 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001863/0.3677, allocations: 198.5 kB / 0.6418 GB, free: 84.69 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001919/0.3679, allocations: 168.9 kB / 0.642 GB, free: 84.56 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001173/0.3691, allocations: 0.8503 MB / 0.6428 GB, free: 83.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3691, allocations: 3.938 kB / 0.6428 GB, free: 83.89 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3691, allocations: 2.938 kB / 0.6428 GB, free: 83.89 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.18e-05/0.3691, allocations: 0 / 0.6428 GB, free: 83.89 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: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.01124/0.3804, allocations: 2.081 MB / 0.6448 GB, free: 82.69 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/0.3805, allocations: 9.188 kB / 0.6448 GB, free: 82.69 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006695/0.3872, allocations: 0.6836 MB / 0.6455 GB, free: 82.42 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00146/0.3887, allocations: 0.6164 MB / 0.6461 GB, free: 81.83 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003613/0.3891, allocations: 227.8 kB / 0.6463 GB, free: 81.58 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002317/0.3893, allocations: 78.41 kB / 0.6464 GB, free: 81.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003797/0.3931, allocations: 1.122 MB / 0.6475 GB, free: 80.39 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.496e-05/0.3932, allocations: 7.922 kB / 0.6475 GB, free: 80.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001501/0.3934, allocations: 32 kB / 0.6475 GB, free: 80.35 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.933e-05/0.3934, allocations: 16 kB / 0.6476 GB, free: 80.33 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00406/0.3975, allocations: 1.15 MB / 0.6487 GB, free: 79.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01087/0.4084, allocations: 3.415 MB / 0.652 GB, free: 75.62 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004735/0.4132, allocations: 0.9823 MB / 0.653 GB, free: 74.63 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00401/0.4173, allocations: 0.8059 MB / 0.6538 GB, free: 73.83 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002063/0.4175, allocations: 16.98 kB / 0.6538 GB, free: 73.81 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.036e-05/0.4176, allocations: 39.56 kB / 0.6538 GB, free: 73.76 MB / 362.7 MB Notification: Performance of pre-optimization done (n=91): time 5.681e-06/0.4176, allocations: 0 / 0.6538 GB, free: 73.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=91): time 0.0551/0.4727, allocations: 7.942 MB / 0.6616 GB, free: 65.79 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.4728, allocations: 64.41 kB / 0.6616 GB, free: 65.71 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001164/0.474, allocations: 0.6764 MB / 0.6623 GB, free: 65.03 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000251/0.4743, allocations: 37.7 kB / 0.6623 GB, free: 64.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002874/0.4746, allocations: 408.3 kB / 0.6627 GB, free: 64.58 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003868/0.475, allocations: 315.3 kB / 0.663 GB, free: 64.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/0.4751, allocations: 16 kB / 0.663 GB, free: 64.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.294e-05/0.4752, allocations: 345.9 kB / 0.6634 GB, free: 63.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002586/0.4778, allocations: 0.6773 MB / 0.664 GB, free: 63.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002736/0.4805, allocations: 0.7757 MB / 0.6648 GB, free: 62.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002838/0.4834, allocations: 0.7156 MB / 0.6655 GB, free: 61.71 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.898e-06/0.4835, allocations: 0 / 0.6655 GB, free: 61.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.02571/0.5092, allocations: 4.797 MB / 0.6702 GB, free: 56.9 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.94e-05/0.5093, allocations: 4 kB / 0.6702 GB, free: 56.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/0.5093, allocations: 11.97 kB / 0.6702 GB, free: 56.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01198/0.5213, allocations: 2.098 MB / 0.6722 GB, free: 54.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001287/0.5226, allocations: 144.8 kB / 0.6724 GB, free: 54.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03712/0.5598, allocations: 9.49 MB / 0.6816 GB, free: 45.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002201/0.562, allocations: 187.1 kB / 0.6818 GB, free: 44.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001324/0.5622, allocations: 35.98 kB / 0.6818 GB, free: 44.8 MB / 362.7 MB Warning: Assuming fixed start value for the following 2 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 fixed = true ) "d-axis transient voltage (pu)" type: Real Generator.e1q:VARIABLE(start = Generator.e1q0 fixed = true ) "q-axis transient voltage (pu)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (71): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {27 10} Notification: Performance of prepare postOptimizeDAE: time 0.0005668/0.5628, allocations: 217.9 kB / 0.6821 GB, free: 44.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002506/0.563, allocations: 94.81 kB / 0.6821 GB, free: 44.49 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02489/0.5879, allocations: 4.844 MB / 0.6869 GB, free: 39.63 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.463e-05/0.588, allocations: 4.688 kB / 0.6869 GB, free: 39.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.588, allocations: 0 / 0.6869 GB, free: 39.63 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007802/0.5888, allocations: 315.5 kB / 0.6872 GB, free: 39.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002829/0.5891, allocations: 16 kB / 0.6872 GB, free: 39.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001983/0.5911, allocations: 135.9 kB / 0.6873 GB, free: 39.15 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002046/0.5932, allocations: 484 kB / 0.6878 GB, free: 38.68 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0109/0.6041, allocations: 2.306 MB / 0.69 GB, free: 36.36 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.008448/0.6126, allocations: 2.412 MB / 0.6924 GB, free: 33.94 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002592/0.6153, allocations: 0.6613 MB / 0.693 GB, free: 33.28 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008182/0.6161, allocations: 483 kB / 0.6935 GB, free: 32.81 MB / 362.7 MB Notification: Performance of Backend: time 6.01e-07/0.6161, allocations: 0 / 0.6935 GB, free: 32.81 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01014/0.6263, allocations: 1.968 MB / 0.6954 GB, free: 30.83 MB / 362.7 MB Notification: Performance of SimCode: time 0.003464/0.6298, allocations: 2.456 MB / 0.6978 GB, free: 28.34 MB / 362.7 MB Notification: Performance of Templates: time 0.04023/0.6701, allocations: 17.98 MB / 0.7154 GB, free: 10.46 MB / 362.7 MB