Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr iPSL_iPSL.Examples.Machines.PSAT.Order6test2.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.Order6test2,fileNamePrefix="iPSL_iPSL_Examples_Machines_PSAT_Order6test2",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.01095/0.01095, allocations: 107.2 kB / 15.06 MB, free: 6.035 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.001125/0.001125, allocations: 172.1 kB / 15.93 MB, free: 5.973 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.828/1.828, allocations: 170.9 MB / 187.5 MB, free: 1 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.3514/0.3514, allocations: 50.49 MB / 277.5 MB, free: 7.426 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005587/0.0005589, allocations: 16.77 kB / 337.8 MB, free: 16.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1081, allocations: 50.5 MB / 388.3 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFInst.instantiate(iPSL.Examples.Machines.PSAT.Order6test2): time 0.004503/0.1126, allocations: 1.979 MB / 390.3 MB, free: 11.53 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005944/0.1186, allocations: 2.017 MB / 392.3 MB, free: 9.496 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004696/0.1192, allocations: 8 kB / 392.3 MB, free: 9.488 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000357/0.1196, allocations: 67.3 kB / 392.4 MB, free: 9.422 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009152/0.1205, allocations: 183.4 kB / 392.5 MB, free: 9.242 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003058/0.1236, allocations: 0.6469 MB / 393.2 MB, free: 8.594 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001479/0.1251, allocations: 0.5071 MB / 393.7 MB, free: 8.086 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006033/0.1257, allocations: 206.9 kB / 393.9 MB, free: 7.871 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007331/0.1265, allocations: 366.5 kB / 394.2 MB, free: 7.512 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001252/0.1277, allocations: 0.5058 MB / 394.8 MB, free: 7.004 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001987/0.1279, allocations: 48 kB / 394.8 MB, free: 6.957 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005729/0.1285, allocations: 131.9 kB / 394.9 MB, free: 6.828 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003235/0.1289, allocations: 183.2 kB / 395.1 MB, free: 6.648 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002338/0.1291, allocations: 149.2 kB / 395.3 MB, free: 6.496 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001771/0.1309, allocations: 0.8106 MB / 396.1 MB, free: 5.684 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1309, allocations: 0 / 396.1 MB, free: 5.684 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.235e-06/0.131, allocations: 4 kB / 396.1 MB, free: 5.68 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.131, allocations: 0 / 396.1 MB, free: 5.68 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: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.01566/0.1467, allocations: 1.972 MB / 398 MB, free: 3.656 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.089e-05/0.1467, allocations: 8.031 kB / 398 MB, free: 3.648 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004294/0.1472, allocations: 118.5 kB / 398.2 MB, free: 3.523 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01008/0.1573, allocations: 0.6622 MB / 398.8 MB, free: 2.859 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00205/0.1594, allocations: 0.5922 MB / 399.4 MB, free: 2.227 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004683/0.1599, allocations: 226.5 kB / 399.6 MB, free: 1.977 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000331/0.1602, allocations: 64 kB / 399.7 MB, free: 1.914 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005081/0.1653, allocations: 1.003 MB / 400.7 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.261e-05/0.1654, allocations: 0 / 400.7 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002161/0.1656, allocations: 28 kB / 400.7 MB, free: 0.875 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.096e-05/0.1657, allocations: 16 kB / 400.7 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005024/0.1707, allocations: 0.9916 MB / 401.7 MB, free: 15.87 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01128/0.182, allocations: 3.244 MB / 405 MB, free: 12.45 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003403/0.1855, allocations: 0.9035 MB / 405.9 MB, free: 11.54 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001594/0.1857, allocations: 8.656 kB / 405.9 MB, free: 11.53 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.1857, allocations: 35.22 kB / 405.9 MB, free: 11.49 MB / 314.7 MB Notification: Performance of pre-optimization done (n=79): time 3.196e-06/0.1857, allocations: 8 kB / 405.9 MB, free: 11.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=79): time 0.0503/0.236, allocations: 7.765 MB / 413.7 MB, free: 3.68 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.53e-05/0.2362, allocations: 60.06 kB / 413.8 MB, free: 3.609 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001347/0.2375, allocations: 0.6367 MB / 414.4 MB, free: 2.961 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002209/0.2378, allocations: 41.7 kB / 414.4 MB, free: 2.914 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003618/0.2381, allocations: 356.3 kB / 414.8 MB, free: 2.562 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004263/0.2386, allocations: 275.9 kB / 415.1 MB, free: 2.289 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/0.2387, allocations: 23.94 kB / 415.1 MB, free: 2.266 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002173/0.2389, allocations: 382.8 kB / 415.5 MB, free: 1.883 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002465/0.2414, allocations: 0.6071 MB / 416.1 MB, free: 1.277 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002617/0.244, allocations: 0.6938 MB / 416.8 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2776/0.5216, allocations: 0.6421 MB / 417.4 MB, free: 32.44 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.888e-06/0.5217, allocations: 2.906 kB / 417.4 MB, free: 32.44 MB / 314.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.02739/0.5491, allocations: 4.642 MB / 422 MB, free: 32.32 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.744e-05/0.5492, allocations: 5.812 kB / 422 MB, free: 32.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.709e-05/0.5492, allocations: 3.297 kB / 422.1 MB, free: 32.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01339/0.5626, allocations: 2.109 MB / 424.2 MB, free: 32.08 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001057/0.5638, allocations: 103.6 kB / 424.3 MB, free: 32.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05069/0.6145, allocations: 9.946 MB / 434.2 MB, free: 27.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002818/0.6173, allocations: 160.2 kB / 434.4 MB, free: 27.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002068/0.6176, allocations: 30.72 kB / 434.4 MB, free: 27.82 MB / 314.7 MB Warning: Assuming fixed start value for the following 4 variables: order6Type2_1.e2d:VARIABLE(start = order6Type2_1.e2d0 fixed = true ) "d-axis sub-transient voltage" type: Real order6Type2_1.e2q:VARIABLE(start = order6Type2_1.e2q0 fixed = true ) "q-axis sub-transient voltage" type: Real order6Type2_1.e1d:VARIABLE(start = order6Type2_1.e1d0 fixed = true ) "d-axis transient voltage" type: Real order6Type2_1.e1q:VARIABLE(start = order6Type2_1.e1q0 fixed = true ) "q-axis transient voltage" 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 (61): * Single equations (assignments): 60 * 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.0008076/0.6184, allocations: 210.3 kB / 434.6 MB, free: 27.64 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003806/0.6188, allocations: 75.72 kB / 434.7 MB, free: 27.6 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03424/0.6531, allocations: 4.66 MB / 439.3 MB, free: 24.39 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.564e-05/0.6531, allocations: 8 kB / 439.3 MB, free: 24.39 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.6531, allocations: 0 / 439.3 MB, free: 24.39 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-05/0.6532, allocations: 3.984 kB / 439.3 MB, free: 24.38 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001726/0.6549, allocations: 1.085 MB / 440.4 MB, free: 23.29 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.6549, allocations: 0 / 440.4 MB, free: 23.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009513/0.6559, allocations: 83.89 kB / 440.5 MB, free: 23.2 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01072/0.6666, allocations: 2.017 MB / 442.5 MB, free: 21.18 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001587/0.6668, allocations: 16 kB / 442.5 MB, free: 21.17 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03253/0.6994, allocations: 8.627 MB / 451.2 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.6994, allocations: 4 kB / 451.2 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0266/0.726, allocations: 5.54 MB / 456.7 MB, free: 6.844 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003003/0.7264, allocations: 172 kB / 456.9 MB, free: 6.656 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002009/0.7266, allocations: 21.7 kB / 456.9 MB, free: 6.637 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001828/0.7284, allocations: 123.8 kB / 457 MB, free: 6.516 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009212/0.7294, allocations: 192.6 kB / 457.2 MB, free: 6.328 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/0.7295, allocations: 23.98 kB / 457.2 MB, free: 6.305 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007179/0.7302, allocations: 463 kB / 457.7 MB, free: 5.852 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.7302, allocations: 2.406 kB / 457.7 MB, free: 5.852 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001363/0.7316, allocations: 338.8 kB / 458 MB, free: 5.523 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (order6Type2_1.delta,order6Type2_1.w,order6Type2_1.e1q,order6Type2_1.e1d,order6Type2_1.e2q,order6Type2_1.e2d) * 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 (50): * Single equations (assignments): 49 * 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.02718/0.7588, allocations: 6.107 MB / 464.1 MB, free: 15.39 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.01161/0.7705, allocations: 2.382 MB / 466.5 MB, free: 12.99 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.7705, allocations: 0 / 466.5 MB, free: 12.99 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008919/0.7795, allocations: 1.682 MB / 468.2 MB, free: 11.31 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007263/0.7802, allocations: 58.94 kB / 468.2 MB, free: 11.25 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04039/0.8207, allocations: 10.53 MB / 478.8 MB, free: 0.625 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000907/0.8216, allocations: 0.9966 MB / 479.8 MB, free: 15.61 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005516/0.8222, allocations: 56.95 kB / 479.8 MB, free: 15.55 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006971/0.8229, allocations: 295.3 kB / 480.1 MB, free: 15.26 MB / 346.7 MB Notification: Performance of SimCode: time 1.142e-06/0.8229, allocations: 0 / 480.1 MB, free: 15.26 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08214/0.9051, allocations: 25.21 MB / 0.4935 GB, free: 6.156 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002997/0.9054, allocations: 183.9 kB / 0.4937 GB, free: 5.918 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.508/4.413, allocations: 0 / 0.4937 GB, free: 5.918 MB / 362.7 MB