Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr iPSL_iPSL.Examples.Machines.PSAT.Order4test2_perturbation.conf.json Using package iPSL with version 1.1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/iPSL 1.1.0/package.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.01129/0.01129, allocations: 103.5 kB / 15.05 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.001187/0.001187, allocations: 171.5 kB / 15.93 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.83/1.83, allocations: 170.9 MB / 187.5 MB, free: 0.9805 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/iPSL 1.1.0/package.mo): time 0.3756/0.3756, allocations: 50.5 MB / 277.5 MB, free: 7.43 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005501/0.0005504, allocations: 17.03 kB / 337.8 MB, free: 16.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1031, allocations: 50.5 MB / 388.3 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFInst.instantiate(iPSL.Examples.Machines.PSAT.Order4test2_perturbation): time 0.005332/0.1085, allocations: 3.202 MB / 391.5 MB, free: 10.31 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003917/0.1125, allocations: 1.44 MB / 392.9 MB, free: 8.859 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006553/0.1132, allocations: 12 kB / 392.9 MB, free: 8.848 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003315/0.1135, allocations: 79.2 kB / 393 MB, free: 8.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008634/0.1144, allocations: 203.2 kB / 393.2 MB, free: 8.57 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002762/0.1172, allocations: 0.6626 MB / 393.9 MB, free: 7.906 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001531/0.1188, allocations: 0.5778 MB / 394.5 MB, free: 7.328 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006271/0.1194, allocations: 245.3 kB / 394.7 MB, free: 7.07 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007412/0.1202, allocations: 394.3 kB / 395.1 MB, free: 6.684 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001006/0.1212, allocations: 0.5484 MB / 395.6 MB, free: 6.133 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001988/0.1214, allocations: 52 kB / 395.7 MB, free: 6.082 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004787/0.1219, allocations: 123.9 kB / 395.8 MB, free: 5.961 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002531/0.1222, allocations: 191.2 kB / 396 MB, free: 5.773 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002211/0.1224, allocations: 165.1 kB / 396.1 MB, free: 5.605 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001485/0.1239, allocations: 0.8729 MB / 397 MB, free: 4.73 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.1239, allocations: 0 / 397 MB, free: 4.73 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.129e-06/0.124, allocations: 4 kB / 397 MB, free: 4.727 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.372e-05/0.124, allocations: 3.938 kB / 397 MB, free: 4.723 MB / 298.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.01153/0.1355, allocations: 2.074 MB / 399.1 MB, free: 2.598 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/0.1356, allocations: 12.03 kB / 399.1 MB, free: 2.586 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003568/0.136, allocations: 126.8 kB / 399.2 MB, free: 2.453 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006807/0.1428, allocations: 0.6777 MB / 399.9 MB, free: 1.773 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001584/0.1444, allocations: 0.6161 MB / 400.5 MB, free: 1.113 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003914/0.1449, allocations: 234.4 kB / 400.8 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002875/0.1452, allocations: 76 kB / 400.8 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004244/0.1494, allocations: 1.124 MB / 402 MB, free: 15.64 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.989e-05/0.1495, allocations: 0 / 402 MB, free: 15.64 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001605/0.1497, allocations: 32 kB / 402 MB, free: 15.61 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.625e-05/0.1497, allocations: 20 kB / 402 MB, free: 15.59 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004647/0.1544, allocations: 1.152 MB / 403.2 MB, free: 14.44 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01009/0.1645, allocations: 3.42 MB / 406.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003692/0.1682, allocations: 0.9717 MB / 407.5 MB, free: 9.883 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002248/0.1685, allocations: 20.92 kB / 407.6 MB, free: 9.863 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.435e-05/0.1686, allocations: 43.55 kB / 407.6 MB, free: 9.812 MB / 314.7 MB Notification: Performance of pre-optimization done (n=91): time 4.198e-06/0.1686, allocations: 3.938 kB / 407.6 MB, free: 9.809 MB / 314.7 MB Notification: Performance of matching and sorting (n=91): time 0.05204/0.2206, allocations: 7.928 MB / 415.5 MB, free: 1.844 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.12e-05/0.2208, allocations: 64.34 kB / 415.6 MB, free: 1.77 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001362/0.2221, allocations: 0.6726 MB / 416.3 MB, free: 1.086 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002519/0.2224, allocations: 41.7 kB / 416.3 MB, free: 1.039 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004254/0.2229, allocations: 420.2 kB / 416.7 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004775/0.2233, allocations: 307.4 kB / 417 MB, free: 324 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001258/0.2235, allocations: 20 kB / 417 MB, free: 304 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.2779/0.5014, allocations: 341.7 kB / 417.4 MB, free: 32.46 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003249/0.5047, allocations: 0.6681 MB / 418.1 MB, free: 32.46 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003206/0.5079, allocations: 0.7741 MB / 418.8 MB, free: 32.38 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003011/0.511, allocations: 0.7133 MB / 419.5 MB, free: 32.37 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/0.5111, allocations: 0 / 419.5 MB, free: 32.37 MB / 314.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.03593/0.547, allocations: 4.804 MB / 424.3 MB, free: 31.65 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.575e-05/0.5471, allocations: 6.062 kB / 424.3 MB, free: 31.65 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.374e-05/0.5472, allocations: 2.219 kB / 424.4 MB, free: 31.65 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01881/0.566, allocations: 2.107 MB / 426.5 MB, free: 31.31 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001812/0.5679, allocations: 141.3 kB / 426.6 MB, free: 31.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0506/0.6185, allocations: 9.952 MB / 436.5 MB, free: 27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002199/0.6208, allocations: 195.3 kB / 436.7 MB, free: 26.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001545/0.6209, allocations: 22.66 kB / 436.8 MB, free: 26.92 MB / 314.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.0006173/0.6216, allocations: 224.9 kB / 437 MB, free: 26.73 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002678/0.6218, allocations: 89.31 kB / 437.1 MB, free: 26.68 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0252/0.6471, allocations: 4.843 MB / 441.9 MB, free: 21.81 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.866e-05/0.6472, allocations: 11.98 kB / 441.9 MB, free: 21.8 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.6472, allocations: 0 / 441.9 MB, free: 21.8 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.787e-05/0.6472, allocations: 3.984 kB / 441.9 MB, free: 21.79 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001893/0.6491, allocations: 1.141 MB / 443.1 MB, free: 20.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/0.6492, allocations: 4 kB / 443.1 MB, free: 20.63 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00127/0.6505, allocations: 127.8 kB / 443.2 MB, free: 20.51 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01112/0.6616, allocations: 2.024 MB / 445.2 MB, free: 18.48 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002658/0.6619, allocations: 20 kB / 445.2 MB, free: 18.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03393/0.6959, allocations: 8.629 MB / 453.9 MB, free: 9.707 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.6959, allocations: 1.031 kB / 453.9 MB, free: 9.707 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02836/0.7243, allocations: 5.807 MB / 459.7 MB, free: 3.883 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007114/0.7251, allocations: 307.9 kB / 460 MB, free: 3.566 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002329/0.7253, allocations: 20.88 kB / 460 MB, free: 3.547 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002/0.7273, allocations: 135.9 kB / 460.1 MB, free: 3.414 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001057/0.7284, allocations: 204.6 kB / 460.3 MB, free: 3.215 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000132/0.7286, allocations: 27.98 kB / 460.4 MB, free: 3.188 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008044/0.7294, allocations: 479 kB / 460.8 MB, free: 2.719 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.7294, allocations: 0 / 460.8 MB, free: 2.719 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00159/0.731, allocations: 366.7 kB / 461.2 MB, free: 2.363 MB / 314.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.03087/0.7619, allocations: 6.387 MB / 467.6 MB, free: 11.95 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.01292/0.7749, allocations: 2.54 MB / 470.1 MB, free: 9.402 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.7749, allocations: 0 / 470.1 MB, free: 9.402 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009541/0.7845, allocations: 1.759 MB / 471.9 MB, free: 7.629 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007883/0.7853, allocations: 66.06 kB / 471.9 MB, free: 7.566 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0434/0.8288, allocations: 11.2 MB / 483.1 MB, free: 12.16 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008598/0.8297, allocations: 1.053 MB / 484.2 MB, free: 11.08 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006415/0.8303, allocations: 69.12 kB / 484.3 MB, free: 11.01 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008718/0.8312, allocations: 343.3 kB / 484.6 MB, free: 10.68 MB / 346.7 MB Notification: Performance of SimCode: time 1.232e-06/0.8312, allocations: 0 / 484.6 MB, free: 10.68 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07738/0.9086, allocations: 26.35 MB / 0.499 GB, free: 456 kB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000406/0.9091, allocations: 194.8 kB / 0.4992 GB, free: 212 kB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.614/4.523, allocations: 3.938 kB / 0.4992 GB, free: 208 kB / 362.7 MB