Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2.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.Order5_1test2,fileNamePrefix="iPSL_iPSL_Examples_Machines_PSAT_Order5_1test2",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.01553/0.01553, allocations: 165.6 kB / 15.11 MB, free: 5.934 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.713/1.713, allocations: 170.8 MB / 186.6 MB, free: 1.121 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.002116/0.002116, allocations: 111.3 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo): time 0.5291/0.5291, allocations: 50.22 MB / 315.8 MB, free: 34.26 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000556/0.0005559, allocations: 12 kB / 376.9 MB, free: 7.168 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1121, allocations: 50.5 MB / 427.4 MB, free: 4.602 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.424/0.5362, allocations: 75.51 MB / 0.4912 GB, free: 9.91 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/0.5365, allocations: 67.97 kB / 0.4912 GB, free: 9.844 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06905/0.6056, allocations: 14.73 MB / 0.5056 GB, free: 11.13 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.295e-06/0.6056, allocations: 0 / 0.5056 GB, free: 11.13 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.488e-05/0.6057, allocations: 12 kB / 0.5056 GB, free: 11.12 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.007472/0.6132, allocations: 1.524 MB / 0.5071 GB, free: 9.543 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.914e-05/0.6133, allocations: 16.02 kB / 0.5071 GB, free: 9.527 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004343/0.6137, allocations: 110.5 kB / 0.5072 GB, free: 9.41 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004692/0.6184, allocations: 478.4 kB / 0.5077 GB, free: 8.941 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001744/0.6202, allocations: 0.5687 MB / 0.5082 GB, free: 8.332 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004551/0.6207, allocations: 222.5 kB / 0.5084 GB, free: 8.086 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004014/0.6211, allocations: 70.33 kB / 0.5085 GB, free: 8.023 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004168/0.6253, allocations: 0.995 MB / 0.5095 GB, free: 7.023 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.274e-05/0.6254, allocations: 0 / 0.5095 GB, free: 7.023 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001575/0.6256, allocations: 28 kB / 0.5095 GB, free: 6.996 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.739e-05/0.6256, allocations: 16 kB / 0.5095 GB, free: 6.98 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004267/0.6299, allocations: 0.9761 MB / 0.5105 GB, free: 6 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01083/0.6408, allocations: 3.21 MB / 0.5136 GB, free: 2.621 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00368/0.6445, allocations: 0.8612 MB / 0.5145 GB, free: 1.754 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002564/0.6449, allocations: 12.66 kB / 0.5145 GB, free: 1.742 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.853e-05/0.6449, allocations: 47.16 kB / 0.5145 GB, free: 1.688 MB / 362.7 MB Notification: Performance of pre-optimization done (n=78): time 3.787e-06/0.6449, allocations: 0 / 0.5145 GB, free: 1.688 MB / 362.7 MB Notification: Performance of matching and sorting (n=78): time 0.05426/0.6992, allocations: 7.831 MB / 0.5222 GB, free: 9.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.213e-05/0.6993, allocations: 64 kB / 0.5222 GB, free: 9.746 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001551/0.7009, allocations: 0.514 MB / 0.5227 GB, free: 9.227 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002861/0.7012, allocations: 37.7 kB / 0.5228 GB, free: 9.184 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004326/0.7017, allocations: 348.2 kB / 0.5231 GB, free: 8.836 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005448/0.7022, allocations: 272 kB / 0.5234 GB, free: 8.566 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001702/0.7024, allocations: 16 kB / 0.5234 GB, free: 8.551 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002734/0.7027, allocations: 382.8 kB / 0.5237 GB, free: 8.168 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003373/0.7061, allocations: 0.5954 MB / 0.5243 GB, free: 7.574 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003743/0.7099, allocations: 0.6859 MB / 0.525 GB, free: 6.859 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003671/0.7136, allocations: 0.6423 MB / 0.5256 GB, free: 6.219 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.256e-06/0.7136, allocations: 4 kB / 0.5256 GB, free: 6.215 MB / 378.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.03578/0.7494, allocations: 4.614 MB / 0.5301 GB, free: 1.586 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.014e-05/0.7495, allocations: 7.953 kB / 0.5301 GB, free: 1.578 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.928e-05/0.7495, allocations: 4 kB / 0.5301 GB, free: 1.574 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01709/0.7666, allocations: 2.113 MB / 0.5322 GB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00127/0.768, allocations: 95.89 kB / 0.5323 GB, free: 15.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08184/0.8498, allocations: 9.954 MB / 0.542 GB, free: 5.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002522/0.8524, allocations: 151.3 kB / 0.5422 GB, free: 5.121 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001995/0.8526, allocations: 24 kB / 0.5422 GB, free: 5.098 MB / 394.7 MB Warning: Assuming fixed start value for the following 3 variables: order5Type1_Inputs_Outputs.e2d:VARIABLE(start = order5Type1_Inputs_Outputs.e2d0 fixed = true ) "d-axis sub-transient voltage" type: Real order5Type1_Inputs_Outputs.e1d:VARIABLE(start = order5Type1_Inputs_Outputs.e1d0 fixed = true ) "d-axis transient voltage" type: Real order5Type1_Inputs_Outputs.e1q:VARIABLE(start = order5Type1_Inputs_Outputs.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 (59): * Single equations (assignments): 58 * 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.000859/0.8535, allocations: 212 kB / 0.5424 GB, free: 4.883 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003876/0.8539, allocations: 79.02 kB / 0.5425 GB, free: 4.805 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03237/0.8863, allocations: 4.643 MB / 0.547 GB, free: 152 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.259e-05/0.8864, allocations: 11.95 kB / 0.547 GB, free: 140 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.497e-06/0.8864, allocations: 4 kB / 0.547 GB, free: 136 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.789e-05/0.8864, allocations: 7.922 kB / 0.547 GB, free: 128 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002268/0.8887, allocations: 1.037 MB / 0.548 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.315e-06/0.8888, allocations: 0 / 0.548 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009771/0.8898, allocations: 83.89 kB / 0.5481 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01226/0.9021, allocations: 2.025 MB / 0.5501 GB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002582/0.9024, allocations: 15.94 kB / 0.5501 GB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03864/0.941, allocations: 8.626 MB / 0.5585 GB, free: 4.145 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.9411, allocations: 0 / 0.5585 GB, free: 4.145 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03031/0.9714, allocations: 5.505 MB / 0.5639 GB, free: 14.62 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003653/0.9718, allocations: 176 kB / 0.5641 GB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002672/0.9721, allocations: 16 kB / 0.5641 GB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00209/0.9742, allocations: 111.9 kB / 0.5642 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001232/0.9755, allocations: 188.7 kB / 0.5644 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001585/0.9757, allocations: 16 kB / 0.5644 GB, free: 14.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001271/0.977, allocations: 414.8 kB / 0.5648 GB, free: 13.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.977, allocations: 0 / 0.5648 GB, free: 13.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002489/0.9795, allocations: 347.5 kB / 0.5651 GB, free: 13.36 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (order5Type1_Inputs_Outputs.delta,order5Type1_Inputs_Outputs.w,order5Type1_Inputs_Outputs.e1q,order5Type1_Inputs_Outputs.e1d,order5Type1_Inputs_Outputs.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 (49): * Single equations (assignments): 48 * 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.04106/1.021, allocations: 6.109 MB / 0.5711 GB, free: 7.211 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01599/1.037, allocations: 2.365 MB / 0.5734 GB, free: 4.844 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/1.037, allocations: 0 / 0.5734 GB, free: 4.844 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01198/1.049, allocations: 1.66 MB / 0.575 GB, free: 3.176 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008582/1.05, allocations: 51.62 kB / 0.5751 GB, free: 3.129 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0434/1.093, allocations: 10.28 MB / 0.5851 GB, free: 8.734 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007894/1.094, allocations: 0.9817 MB / 0.5861 GB, free: 7.727 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005548/1.094, allocations: 64.81 kB / 0.5861 GB, free: 7.664 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006867/1.095, allocations: 283.3 kB / 0.5864 GB, free: 7.387 MB / 442.7 MB Notification: Performance of SimCode: time 1.563e-06/1.095, allocations: 0 / 0.5864 GB, free: 7.387 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3828/1.478, allocations: 24.58 MB / 0.6104 GB, free: 125.3 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002367/1.478, allocations: 185.2 kB / 0.6106 GB, free: 125 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.464/4.942, allocations: 3.5 kB / 0.6106 GB, free: 125 MB / 442.7 MB