Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr iPSL_iPSL.Examples.Machines.PSAT.Order4test2.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,fileNamePrefix="iPSL_iPSL_Examples_Machines_PSAT_Order4test2",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.01429/0.0143, allocations: 104 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.001138/0.001138, allocations: 169 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.844/1.844, allocations: 170.9 MB / 187.6 MB, free: 0.9883 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.3538/0.3538, allocations: 50.5 MB / 277.5 MB, free: 7.414 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005599/0.00056, allocations: 16.78 kB / 337.8 MB, free: 16.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1038, allocations: 50.5 MB / 388.3 MB, free: 13.53 MB / 298.7 MB Notification: Performance of NFInst.instantiate(iPSL.Examples.Machines.PSAT.Order4test2): time 0.003346/0.1072, allocations: 1.917 MB / 390.2 MB, free: 11.6 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00426/0.1115, allocations: 1.967 MB / 392.2 MB, free: 9.617 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004645/0.112, allocations: 8 kB / 392.2 MB, free: 9.609 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002947/0.1124, allocations: 67.34 kB / 392.2 MB, free: 9.543 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007595/0.1131, allocations: 171.4 kB / 392.4 MB, free: 9.375 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002505/0.1157, allocations: 0.6158 MB / 393 MB, free: 8.758 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001187/0.1169, allocations: 487 kB / 393.5 MB, free: 8.281 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000469/0.1174, allocations: 198.8 kB / 393.7 MB, free: 8.078 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005618/0.1179, allocations: 342.4 kB / 394 MB, free: 7.742 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008504/0.1188, allocations: 478 kB / 394.5 MB, free: 7.273 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001376/0.119, allocations: 44 kB / 394.5 MB, free: 7.23 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004169/0.1194, allocations: 116 kB / 394.7 MB, free: 7.117 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002226/0.1196, allocations: 167.3 kB / 394.8 MB, free: 6.953 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001725/0.1198, allocations: 141.2 kB / 395 MB, free: 6.809 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001284/0.1211, allocations: 0.7716 MB / 395.7 MB, free: 6.035 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.1211, allocations: 0 / 395.7 MB, free: 6.035 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.255e-06/0.1211, allocations: 0 / 395.7 MB, free: 6.035 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.2e-05/0.1212, allocations: 0 / 395.7 MB, free: 6.035 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.01067/0.1318, allocations: 1.867 MB / 397.6 MB, free: 4.117 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.1319, allocations: 15.91 kB / 397.6 MB, free: 4.102 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003681/0.1323, allocations: 118.5 kB / 397.7 MB, free: 3.977 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006767/0.1391, allocations: 0.6545 MB / 398.4 MB, free: 3.316 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001397/0.1405, allocations: 0.5571 MB / 398.9 MB, free: 2.719 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003686/0.1409, allocations: 218.5 kB / 399.2 MB, free: 2.477 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002921/0.1412, allocations: 68 kB / 399.2 MB, free: 2.41 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003739/0.145, allocations: 0.9872 MB / 400.2 MB, free: 1.414 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.105e-05/0.1451, allocations: 0 / 400.2 MB, free: 1.414 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001486/0.1452, allocations: 28 kB / 400.2 MB, free: 1.387 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.176e-05/0.1452, allocations: 16 kB / 400.2 MB, free: 1.371 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003638/0.1489, allocations: 0.9683 MB / 401.2 MB, free: 412 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009279/0.1582, allocations: 3.143 MB / 404.4 MB, free: 13.09 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003404/0.1617, allocations: 0.845 MB / 405.2 MB, free: 12.24 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001808/0.1619, allocations: 8.656 kB / 405.2 MB, free: 12.23 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/0.1619, allocations: 43.16 kB / 405.3 MB, free: 12.18 MB / 314.7 MB Notification: Performance of pre-optimization done (n=77): time 3.166e-06/0.1619, allocations: 0 / 405.3 MB, free: 12.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=77): time 0.05143/0.2134, allocations: 7.788 MB / 413 MB, free: 4.359 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.287e-05/0.2135, allocations: 60.06 kB / 413.1 MB, free: 4.285 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00118/0.2147, allocations: 0.5616 MB / 413.7 MB, free: 3.715 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002258/0.2149, allocations: 37.7 kB / 413.7 MB, free: 3.672 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003315/0.2153, allocations: 344.2 kB / 414 MB, free: 3.328 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004127/0.2157, allocations: 268.1 kB / 414.3 MB, free: 3.062 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/0.2158, allocations: 20 kB / 414.3 MB, free: 3.043 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001934/0.216, allocations: 378.8 kB / 414.7 MB, free: 2.664 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002497/0.2186, allocations: 0.5915 MB / 415.3 MB, free: 2.074 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002662/0.2213, allocations: 0.682 MB / 416 MB, free: 1.363 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002628/0.2239, allocations: 0.6335 MB / 416.6 MB, free: 0.7305 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.558e-06/0.224, allocations: 4 kB / 416.6 MB, free: 0.7266 MB / 314.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.3007/0.5248, allocations: 4.588 MB / 421.2 MB, free: 32.42 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.757e-05/0.5249, allocations: 6.438 kB / 421.2 MB, free: 32.42 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.823e-05/0.5249, allocations: 1.906 kB / 421.2 MB, free: 32.42 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01335/0.5382, allocations: 2.12 MB / 423.3 MB, free: 32.31 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009536/0.5393, allocations: 93.91 kB / 423.4 MB, free: 32.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04283/0.5821, allocations: 9.955 MB / 433.4 MB, free: 28.24 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001878/0.584, allocations: 151.9 kB / 433.5 MB, free: 28.21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001338/0.5842, allocations: 31.16 kB / 433.5 MB, free: 28.2 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 (57): * Single equations (assignments): 56 * 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.0005444/0.5847, allocations: 207.9 kB / 433.7 MB, free: 28.02 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002641/0.585, allocations: 73.72 kB / 433.8 MB, free: 27.98 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02486/0.6099, allocations: 4.638 MB / 438.5 MB, free: 25.17 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.865e-05/0.6099, allocations: 8 kB / 438.5 MB, free: 25.16 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.61, allocations: 0 / 438.5 MB, free: 25.16 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.784e-05/0.61, allocations: 7.969 kB / 438.5 MB, free: 25.16 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001738/0.6117, allocations: 1.023 MB / 439.5 MB, free: 24.11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.657e-06/0.6118, allocations: 3.281 kB / 439.5 MB, free: 24.11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009077/0.6127, allocations: 75.91 kB / 439.6 MB, free: 24.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01111/0.6239, allocations: 2.028 MB / 441.6 MB, free: 22 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002236/0.6241, allocations: 16 kB / 441.6 MB, free: 21.99 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03369/0.6578, allocations: 8.616 MB / 450.2 MB, free: 13.24 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.6579, allocations: 0 / 450.2 MB, free: 13.24 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02689/0.6848, allocations: 5.5 MB / 455.7 MB, free: 7.719 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003022/0.6851, allocations: 164.1 kB / 455.9 MB, free: 7.539 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002503/0.6854, allocations: 19.95 kB / 455.9 MB, free: 7.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001723/0.6871, allocations: 111.9 kB / 456 MB, free: 7.41 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009526/0.6881, allocations: 188.6 kB / 456.2 MB, free: 7.223 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001149/0.6883, allocations: 24 kB / 456.2 MB, free: 7.199 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007091/0.689, allocations: 402.8 kB / 456.6 MB, free: 6.805 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.689, allocations: 0 / 456.6 MB, free: 6.805 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001532/0.6905, allocations: 335 kB / 456.9 MB, free: 6.48 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 (48): * Single equations (assignments): 47 * 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.03259/0.7232, allocations: 6.063 MB / 463 MB, free: 400 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.01419/0.7375, allocations: 2.348 MB / 465.4 MB, free: 14.03 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.7376, allocations: 0.5 kB / 465.4 MB, free: 14.03 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0091/0.7467, allocations: 1.666 MB / 467 MB, free: 12.36 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006295/0.7474, allocations: 58.27 kB / 467.1 MB, free: 12.3 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03958/0.7869, allocations: 10.13 MB / 477.2 MB, free: 2.078 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007857/0.7878, allocations: 0.9778 MB / 478.2 MB, free: 1.07 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005292/0.7884, allocations: 60.81 kB / 478.3 MB, free: 1.012 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000684/0.7891, allocations: 279.3 kB / 478.5 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of SimCode: time 9.82e-07/0.7891, allocations: 0 / 478.5 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09843/0.8875, allocations: 24.15 MB / 0.4909 GB, free: 8.68 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004319/0.888, allocations: 184 kB / 0.4911 GB, free: 8.441 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.461/4.349, allocations: 4 kB / 0.4911 GB, free: 8.438 MB / 362.7 MB