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: "" <> buildModelFMU(iPSL.Examples.Machines.PSAT.Order4test2_perturbation,fileNamePrefix="iPSL_iPSL_Examples_Machines_PSAT_Order4test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.009424/0.009424, allocations: 163.3 kB / 15.12 MB, free: 6.035 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 1.685/1.685, allocations: 170.8 MB / 186.7 MB, free: 1.105 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001721/0.001721, allocations: 110.9 kB / 226.2 MB, free: 10.08 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo): time 0.5538/0.5538, allocations: 50.21 MB / 315.9 MB, free: 34.35 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005422/0.0005424, allocations: 15.98 kB / 377 MB, free: 7.129 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1041, allocations: 50.5 MB / 427.5 MB, free: 4.559 MB / 330.7 MB Notification: Performance of NFInst.instantiate(iPSL.Examples.Machines.PSAT.Order4test2_perturbation): time 0.005306/0.1094, allocations: 3.187 MB / 430.6 MB, free: 1.344 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.2691/0.3786, allocations: 1.438 MB / 432.1 MB, free: 34.39 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007221/0.3794, allocations: 11.69 kB / 432.1 MB, free: 34.39 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003741/0.3797, allocations: 77.16 kB / 432.2 MB, free: 34.39 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008394/0.3806, allocations: 176.9 kB / 432.3 MB, free: 34.39 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002595/0.3832, allocations: 0.6508 MB / 433 MB, free: 34.39 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001678/0.3849, allocations: 0.8793 MB / 433.9 MB, free: 34.37 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006096/0.3856, allocations: 254.1 kB / 434.1 MB, free: 34.33 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008385/0.3864, allocations: 394.6 kB / 434.5 MB, free: 34.23 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001106/0.3876, allocations: 0.5545 MB / 435.1 MB, free: 34.11 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002377/0.3878, allocations: 47.75 kB / 435.1 MB, free: 34.11 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005242/0.3884, allocations: 137.1 kB / 435.2 MB, free: 34.1 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002411/0.3886, allocations: 199.4 kB / 435.4 MB, free: 34.05 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002435/0.3889, allocations: 165.3 kB / 435.6 MB, free: 33.98 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001485/0.3904, allocations: 0.8489 MB / 436.4 MB, free: 33.93 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.3904, allocations: 0 / 436.4 MB, free: 33.93 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3904, allocations: 0 / 436.4 MB, free: 33.93 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.22e-05/0.3905, allocations: 0.9375 kB / 436.4 MB, free: 33.93 MB / 330.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.01114/0.4016, allocations: 2.089 MB / 438.5 MB, free: 33.18 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.4017, allocations: 9.094 kB / 438.5 MB, free: 33.18 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003872/0.4021, allocations: 128.9 kB / 438.7 MB, free: 33.14 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006737/0.4088, allocations: 0.6817 MB / 439.3 MB, free: 33.07 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00154/0.4104, allocations: 0.6138 MB / 440 MB, free: 32.76 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003533/0.4108, allocations: 231.2 kB / 440.2 MB, free: 32.61 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000252/0.4111, allocations: 72.44 kB / 440.3 MB, free: 32.61 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004034/0.4151, allocations: 1.13 MB / 441.4 MB, free: 32.53 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.941e-05/0.4152, allocations: 0 / 441.4 MB, free: 32.53 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001514/0.4154, allocations: 34.47 kB / 441.4 MB, free: 32.53 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.098e-05/0.4154, allocations: 16.19 kB / 441.4 MB, free: 32.53 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004188/0.4196, allocations: 1.155 MB / 442.6 MB, free: 32.5 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009279/0.4289, allocations: 3.419 MB / 446 MB, free: 31.32 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003468/0.4324, allocations: 0.9823 MB / 447 MB, free: 30.95 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002819/0.4353, allocations: 0.8027 MB / 447.8 MB, free: 30.66 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002377/0.4356, allocations: 19.33 kB / 447.8 MB, free: 30.66 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.4356, allocations: 42.88 kB / 447.9 MB, free: 30.61 MB / 330.7 MB Notification: Performance of pre-optimization done (n=91): time 4.058e-06/0.4356, allocations: 0 / 447.9 MB, free: 30.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=91): time 0.04835/0.484, allocations: 7.925 MB / 455.8 MB, free: 29.23 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.4841, allocations: 68.91 kB / 455.8 MB, free: 29.16 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001342/0.4854, allocations: 0.6744 MB / 456.5 MB, free: 28.86 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002623/0.4857, allocations: 41.08 kB / 456.6 MB, free: 28.82 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003163/0.486, allocations: 411.9 kB / 457 MB, free: 28.49 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004287/0.4865, allocations: 319.3 kB / 457.3 MB, free: 28.25 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.4866, allocations: 19.22 kB / 457.3 MB, free: 28.23 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.664e-05/0.4867, allocations: 341.1 kB / 457.6 MB, free: 27.91 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002732/0.4895, allocations: 0.6726 MB / 458.3 MB, free: 27.7 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002799/0.4923, allocations: 0.7746 MB / 459.1 MB, free: 27.39 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00285/0.4952, allocations: 0.7109 MB / 459.8 MB, free: 27.12 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.4952, allocations: 1.344 kB / 459.8 MB, free: 27.12 MB / 330.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0273/0.5225, allocations: 4.8 MB / 464.6 MB, free: 26.14 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.147e-05/0.5226, allocations: 6.625 kB / 464.6 MB, free: 26.14 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/0.5226, allocations: 5.188 kB / 464.6 MB, free: 26.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01257/0.5352, allocations: 2.107 MB / 466.7 MB, free: 25.64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001353/0.5366, allocations: 140.1 kB / 466.8 MB, free: 25.61 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03749/0.5741, allocations: 9.492 MB / 476.3 MB, free: 18.14 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002229/0.5764, allocations: 191.8 kB / 476.5 MB, free: 17.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001813/0.5766, allocations: 31.98 kB / 476.6 MB, free: 17.93 MB / 330.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.0006274/0.5772, allocations: 218.5 kB / 476.8 MB, free: 17.7 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003096/0.5775, allocations: 90.88 kB / 476.9 MB, free: 17.61 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0248/0.6024, allocations: 4.849 MB / 481.7 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.757e-05/0.6024, allocations: 8 kB / 481.7 MB, free: 12.74 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.6024, allocations: 1.375 kB / 481.7 MB, free: 12.74 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-05/0.6025, allocations: 3.984 kB / 481.7 MB, free: 12.74 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001957/0.6044, allocations: 1.144 MB / 482.9 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.6045, allocations: 0 / 482.9 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001242/0.6057, allocations: 127.9 kB / 483 MB, free: 11.44 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01084/0.6166, allocations: 2.033 MB / 485 MB, free: 9.41 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002706/0.6169, allocations: 19.98 kB / 485 MB, free: 9.391 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03122/0.6481, allocations: 8.178 MB / 493.2 MB, free: 1.078 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.6482, allocations: 3.938 kB / 493.2 MB, free: 1.074 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03028/0.6785, allocations: 5.803 MB / 499 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00097/0.6795, allocations: 307.6 kB / 499.3 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002676/0.6798, allocations: 16 kB / 499.3 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002106/0.6819, allocations: 143.8 kB / 499.5 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009794/0.6829, allocations: 200.6 kB / 499.7 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001295/0.6831, allocations: 28 kB / 499.7 MB, free: 10.55 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009659/0.684, allocations: 487 kB / 0.4885 GB, free: 10.07 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6841, allocations: 0 / 0.4885 GB, free: 10.07 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001755/0.6858, allocations: 363.4 kB / 0.4888 GB, free: 9.719 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 61 * 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 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.03134/0.7172, allocations: 6.369 MB / 0.495 GB, free: 3.32 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01284/0.7301, allocations: 2.544 MB / 0.4975 GB, free: 0.7734 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.523e-06/0.7301, allocations: 4.062 kB / 0.4975 GB, free: 0.7695 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009318/0.7395, allocations: 1.756 MB / 0.4992 GB, free: 15 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.7405, allocations: 77.92 kB / 0.4993 GB, free: 14.93 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04229/0.7828, allocations: 9.982 MB / 0.509 GB, free: 4.758 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008463/0.7837, allocations: 1.049 MB / 0.5101 GB, free: 3.684 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006528/0.7844, allocations: 69.12 kB / 0.5101 GB, free: 3.617 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008193/0.7852, allocations: 347.2 kB / 0.5105 GB, free: 3.277 MB / 362.7 MB Notification: Performance of SimCode: time 1.051e-06/0.7852, allocations: 4 kB / 0.5105 GB, free: 3.273 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07779/0.863, allocations: 26.38 MB / 0.5362 GB, free: 9.043 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002115/0.8633, allocations: 210.4 kB / 0.5364 GB, free: 8.797 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.89/4.753, allocations: 4 kB / 0.5364 GB, free: 8.793 MB / 394.7 MB