Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr iPSL_iPSL.Examples.Machines.PSAT.Order4test2.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,fileNamePrefix="iPSL_iPSL_Examples_Machines_PSAT_Order4test2",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.009449/0.009449, allocations: 166.5 kB / 15.11 MB, free: 5.93 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.696/1.696, allocations: 170.8 MB / 186.6 MB, free: 1.125 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.002816/0.002816, allocations: 99.03 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo): time 0.5577/0.5577, allocations: 50.21 MB / 315.8 MB, free: 34.25 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005546/0.0005546, allocations: 19.98 kB / 376.9 MB, free: 7.148 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.111, allocations: 50.5 MB / 427.4 MB, free: 4.586 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4055/0.5165, allocations: 75.42 MB / 0.4911 GB, free: 10.09 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002517/0.5168, allocations: 65.78 kB / 0.4911 GB, free: 10.03 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07035/0.5872, allocations: 15.57 MB / 0.5064 GB, free: 10.47 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.876e-06/0.5873, allocations: 4 kB / 0.5064 GB, free: 10.46 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.475e-05/0.5873, allocations: 12 kB / 0.5064 GB, free: 10.45 MB / 362.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.00737/0.5947, allocations: 1.492 MB / 0.5078 GB, free: 8.914 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.014e-05/0.5948, allocations: 12.03 kB / 0.5078 GB, free: 8.902 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003848/0.5952, allocations: 119.1 kB / 0.5079 GB, free: 8.777 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004604/0.5998, allocations: 478.3 kB / 0.5084 GB, free: 8.309 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001493/0.6013, allocations: 0.5649 MB / 0.509 GB, free: 7.703 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003587/0.6017, allocations: 218.5 kB / 0.5092 GB, free: 7.461 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002305/0.602, allocations: 71.27 kB / 0.5092 GB, free: 7.395 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003684/0.6057, allocations: 0.9795 MB / 0.5102 GB, free: 6.41 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.052e-05/0.6058, allocations: 0 / 0.5102 GB, free: 6.41 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001518/0.6059, allocations: 28.75 kB / 0.5102 GB, free: 6.383 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.612e-05/0.606, allocations: 19.98 kB / 0.5102 GB, free: 6.363 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003648/0.6096, allocations: 0.9721 MB / 0.5112 GB, free: 5.387 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009684/0.6193, allocations: 3.163 MB / 0.5143 GB, free: 2.059 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003399/0.6228, allocations: 0.8411 MB / 0.5151 GB, free: 1.207 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002126/0.6231, allocations: 20.64 kB / 0.5151 GB, free: 1.188 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.873e-05/0.6231, allocations: 39.17 kB / 0.5152 GB, free: 1.141 MB / 362.7 MB Notification: Performance of pre-optimization done (n=77): time 3.947e-06/0.6232, allocations: 0 / 0.5152 GB, free: 1.141 MB / 362.7 MB Notification: Performance of matching and sorting (n=77): time 0.05812/0.6813, allocations: 8.415 MB / 0.5234 GB, free: 8.691 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.817e-05/0.6814, allocations: 60.06 kB / 0.5234 GB, free: 8.621 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/0.6826, allocations: 0.5137 MB / 0.5239 GB, free: 8.102 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002447/0.6828, allocations: 37.7 kB / 0.524 GB, free: 8.059 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003488/0.6832, allocations: 344.3 kB / 0.5243 GB, free: 7.715 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004394/0.6836, allocations: 264 kB / 0.5245 GB, free: 7.453 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001353/0.6838, allocations: 16 kB / 0.5246 GB, free: 7.438 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002042/0.684, allocations: 378.8 kB / 0.5249 GB, free: 7.059 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002499/0.6865, allocations: 0.5876 MB / 0.5255 GB, free: 6.473 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00268/0.6892, allocations: 0.682 MB / 0.5262 GB, free: 5.758 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00267/0.6919, allocations: 0.6335 MB / 0.5268 GB, free: 5.129 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.316e-06/0.692, allocations: 0 / 0.5268 GB, free: 5.129 MB / 378.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.02754/0.7195, allocations: 4.592 MB / 0.5313 GB, free: 0.5234 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.419e-05/0.7196, allocations: 4 kB / 0.5313 GB, free: 0.5195 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/0.7197, allocations: 7.938 kB / 0.5313 GB, free: 0.5117 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01329/0.733, allocations: 2.14 MB / 0.5334 GB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009438/0.734, allocations: 87.91 kB / 0.5334 GB, free: 14.28 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04479/0.7788, allocations: 9.951 MB / 0.5432 GB, free: 4.184 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002032/0.7808, allocations: 155.3 kB / 0.5433 GB, free: 4.031 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001949/0.7811, allocations: 28 kB / 0.5433 GB, free: 4.004 MB / 394.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.0006557/0.7817, allocations: 202.3 kB / 0.5435 GB, free: 3.797 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003163/0.7821, allocations: 75.16 kB / 0.5436 GB, free: 3.723 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02707/0.8091, allocations: 4.619 MB / 0.5481 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.177e-05/0.8092, allocations: 8 kB / 0.5481 GB, free: 15.08 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.8092, allocations: 0 / 0.5481 GB, free: 15.08 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.033e-05/0.8093, allocations: 3.984 kB / 0.5481 GB, free: 15.08 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002119/0.8114, allocations: 1.021 MB / 0.5491 GB, free: 14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.156e-06/0.8115, allocations: 0 / 0.5491 GB, free: 14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008651/0.8123, allocations: 83.84 kB / 0.5492 GB, free: 13.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01222/0.8246, allocations: 2.029 MB / 0.5512 GB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002569/0.8249, allocations: 16 kB / 0.5512 GB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03891/0.8638, allocations: 8.619 MB / 0.5596 GB, free: 3.117 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.995e-06/0.8639, allocations: 4.844 kB / 0.5596 GB, free: 3.113 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03043/0.8943, allocations: 5.478 MB / 0.565 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003655/0.8947, allocations: 172.1 kB / 0.5651 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002455/0.895, allocations: 12 kB / 0.5651 GB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001802/0.8968, allocations: 107.9 kB / 0.5653 GB, free: 13.31 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009176/0.8977, allocations: 188.7 kB / 0.5654 GB, free: 13.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001065/0.8979, allocations: 16 kB / 0.5654 GB, free: 13.11 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008409/0.8987, allocations: 414.8 kB / 0.5658 GB, free: 12.71 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.8987, allocations: 0 / 0.5658 GB, free: 12.71 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001638/0.9004, allocations: 339.5 kB / 0.5662 GB, free: 12.38 MB / 426.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.03072/0.9311, allocations: 6.066 MB / 0.5721 GB, free: 6.27 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01235/0.9435, allocations: 2.351 MB / 0.5744 GB, free: 3.918 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.9436, allocations: 3.938 kB / 0.5744 GB, free: 3.914 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009283/0.9529, allocations: 1.647 MB / 0.576 GB, free: 2.258 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006638/0.9536, allocations: 54.3 kB / 0.576 GB, free: 2.203 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3473/1.301, allocations: 10.14 MB / 0.586 GB, free: 112.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006663/1.302, allocations: 0.9844 MB / 0.5869 GB, free: 112.2 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006848/1.302, allocations: 54.45 kB / 0.587 GB, free: 112.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009795/1.303, allocations: 278.8 kB / 0.5872 GB, free: 112.2 MB / 426.7 MB Notification: Performance of SimCode: time 1.563e-06/1.303, allocations: 3.188 kB / 0.5872 GB, free: 112.2 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.127/1.43, allocations: 24.21 MB / 0.6109 GB, free: 110.4 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002849/1.431, allocations: 190.5 kB / 0.6111 GB, free: 110.1 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.445/4.876, allocations: 0 / 0.6111 GB, free: 110.1 MB / 426.7 MB