Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr iPSL_iPSL.Examples.Machines.PSAT.Order6test2.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.Order6test2,fileNamePrefix="iPSL_iPSL_Examples_Machines_PSAT_Order6test2",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.009936/0.009942, allocations: 163.8 kB / 15.12 MB, free: 5.957 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.69/1.69, allocations: 170.8 MB / 186.6 MB, free: 1.117 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.001744/0.001744, allocations: 102.8 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.5432/0.5432, allocations: 50.21 MB / 315.9 MB, free: 34.27 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008532/0.0008535, allocations: 12 kB / 377 MB, free: 7.121 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1558, allocations: 50.51 MB / 427.5 MB, free: 4.547 MB / 330.7 MB Notification: Performance of NFInst.instantiate(iPSL.Examples.Machines.PSAT.Order6test2): time 0.005412/0.1613, allocations: 1.964 MB / 429.4 MB, free: 2.57 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.007251/0.1686, allocations: 2.013 MB / 431.4 MB, free: 0.543 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007178/0.1694, allocations: 12 kB / 431.5 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004323/0.1698, allocations: 75.34 kB / 431.5 MB, free: 468 kB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001082/0.171, allocations: 159.1 kB / 431.7 MB, free: 308 kB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.4315/0.6025, allocations: 0.6274 MB / 432.3 MB, free: 34.22 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002659/0.6052, allocations: 0.7894 MB / 433.1 MB, free: 34.22 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000999/0.6063, allocations: 203.1 kB / 433.3 MB, free: 34.19 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001434/0.6078, allocations: 369 kB / 433.7 MB, free: 34.19 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002252/0.6101, allocations: 0.5241 MB / 434.2 MB, free: 34.17 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007685/0.611, allocations: 50.22 kB / 434.2 MB, free: 34.17 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001095/0.6121, allocations: 138.4 kB / 434.4 MB, free: 34.17 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006806/0.6128, allocations: 186.9 kB / 434.5 MB, free: 34.13 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004543/0.6133, allocations: 139.3 kB / 434.7 MB, free: 34.07 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003019/0.6164, allocations: 0.8015 MB / 435.5 MB, free: 34.03 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.749e-06/0.6165, allocations: 0 / 435.5 MB, free: 34.03 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.336e-06/0.6165, allocations: 0 / 435.5 MB, free: 34.03 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.122e-05/0.6166, allocations: 1.031 kB / 435.5 MB, free: 34.03 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: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.01856/0.6352, allocations: 1.976 MB / 437.5 MB, free: 33.36 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.128e-05/0.6353, allocations: 9.531 kB / 437.5 MB, free: 33.36 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006937/0.636, allocations: 116.4 kB / 437.6 MB, free: 33.32 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.012/0.648, allocations: 0.6624 MB / 438.2 MB, free: 33.26 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002891/0.651, allocations: 0.598 MB / 438.8 MB, free: 32.97 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006546/0.6517, allocations: 216.4 kB / 439.1 MB, free: 32.82 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006685/0.6524, allocations: 71.64 kB / 439.1 MB, free: 32.82 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00659/0.6591, allocations: 1.006 MB / 440.1 MB, free: 32.75 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.589e-05/0.6592, allocations: 4 kB / 440.1 MB, free: 32.75 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002435/0.6595, allocations: 28.59 kB / 440.2 MB, free: 32.75 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.869e-05/0.6595, allocations: 18.72 kB / 440.2 MB, free: 32.75 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005653/0.6652, allocations: 0.9864 MB / 441.2 MB, free: 32.73 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0178/0.6831, allocations: 3.248 MB / 444.4 MB, free: 31.74 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01018/0.6933, allocations: 0.9024 MB / 445.3 MB, free: 31.68 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01202/0.7054, allocations: 0.7299 MB / 446 MB, free: 31.58 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003663/0.7059, allocations: 13.66 kB / 446.1 MB, free: 31.58 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.026e-05/0.706, allocations: 42.08 kB / 446.1 MB, free: 31.54 MB / 330.7 MB Notification: Performance of pre-optimization done (n=79): time 6.983e-06/0.706, allocations: 0 / 446.1 MB, free: 31.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=79): time 0.06544/0.7714, allocations: 7.77 MB / 453.9 MB, free: 30.19 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.708e-05/0.7716, allocations: 59.94 kB / 453.9 MB, free: 30.12 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002526/0.7741, allocations: 0.6252 MB / 454.6 MB, free: 29.83 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005173/0.7747, allocations: 37.11 kB / 454.6 MB, free: 29.79 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004661/0.7752, allocations: 363.6 kB / 454.9 MB, free: 29.51 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000802/0.776, allocations: 277.3 kB / 455.2 MB, free: 29.29 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001764/0.7762, allocations: 14.97 kB / 455.2 MB, free: 29.28 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003026/0.7765, allocations: 387 kB / 455.6 MB, free: 28.93 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003394/0.78, allocations: 0.6058 MB / 456.2 MB, free: 28.73 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003792/0.7838, allocations: 0.703 MB / 456.9 MB, free: 28.43 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003912/0.7878, allocations: 0.6448 MB / 457.6 MB, free: 28.17 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.129e-05/0.7879, allocations: 1.406 kB / 457.6 MB, free: 28.17 MB / 330.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.03592/0.8238, allocations: 4.637 MB / 462.2 MB, free: 27.23 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.281e-05/0.824, allocations: 10.83 kB / 462.2 MB, free: 27.22 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.582e-05/0.824, allocations: 2.219 kB / 462.2 MB, free: 27.22 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01792/0.8419, allocations: 2.111 MB / 464.3 MB, free: 26.88 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001466/0.8435, allocations: 100.7 kB / 464.4 MB, free: 26.86 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06074/0.9043, allocations: 9.473 MB / 473.9 MB, free: 20.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003045/0.9074, allocations: 160.4 kB / 474.1 MB, free: 20.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004285/0.9079, allocations: 28.56 kB / 474.1 MB, free: 20.44 MB / 330.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.001191/0.9092, allocations: 209.8 kB / 474.3 MB, free: 20.23 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000567/0.9097, allocations: 83.02 kB / 474.4 MB, free: 20.14 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03295/0.9427, allocations: 4.665 MB / 479 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-05/0.9428, allocations: 11.95 kB / 479 MB, free: 15.45 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.9428, allocations: 0.8125 kB / 479 MB, free: 15.45 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.763e-05/0.9429, allocations: 7.984 kB / 479.1 MB, free: 15.45 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003002/0.9459, allocations: 1.07 MB / 480.1 MB, free: 14.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-05/0.946, allocations: 0 / 480.1 MB, free: 14.34 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001393/0.9474, allocations: 75.91 kB / 480.2 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0146/0.9621, allocations: 2.033 MB / 482.2 MB, free: 12.23 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004033/0.9625, allocations: 20 kB / 482.3 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04567/1.008, allocations: 8.181 MB / 490.4 MB, free: 3.895 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/1.008, allocations: 0 / 490.4 MB, free: 3.895 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03911/1.047, allocations: 5.544 MB / 496 MB, free: 14.33 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006182/1.048, allocations: 177.6 kB / 496.1 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007062/1.049, allocations: 16 kB / 496.2 MB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003081/1.052, allocations: 115.8 kB / 496.3 MB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001572/1.054, allocations: 188.7 kB / 496.5 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004082/1.054, allocations: 24 kB / 496.5 MB, free: 13.8 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001534/1.056, allocations: 455.1 kB / 496.9 MB, free: 13.36 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.253e-06/1.056, allocations: 3.938 kB / 496.9 MB, free: 13.36 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003368/1.059, allocations: 335.6 kB / 497.3 MB, free: 13.03 MB / 346.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.04214/1.101, allocations: 6.115 MB / 0.4916 GB, free: 6.875 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01704/1.119, allocations: 2.385 MB / 0.4939 GB, free: 4.48 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.846e-06/1.119, allocations: 0 / 0.4939 GB, free: 4.48 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01266/1.131, allocations: 1.668 MB / 0.4955 GB, free: 2.809 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00178/1.133, allocations: 70.94 kB / 0.4956 GB, free: 2.734 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05872/1.192, allocations: 9.319 MB / 0.5047 GB, free: 9.359 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001187/1.193, allocations: 0.9975 MB / 0.5057 GB, free: 8.332 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0009811/1.194, allocations: 56.95 kB / 0.5057 GB, free: 8.273 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001201/1.196, allocations: 295.3 kB / 0.506 GB, free: 7.984 MB / 362.7 MB Notification: Performance of SimCode: time 1.333e-06/1.196, allocations: 0 / 0.506 GB, free: 7.984 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1505/1.346, allocations: 25.23 MB / 0.5307 GB, free: 14.89 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000321/1.346, allocations: 200.2 kB / 0.5308 GB, free: 14.64 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.85/5.196, allocations: 0 / 0.5308 GB, free: 14.64 MB / 394.7 MB