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.008873/0.008877, allocations: 162 kB / 15.12 MB, free: 6.027 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.611/1.611, 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.001726/0.001726, allocations: 106.8 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo): time 0.5209/0.5209, allocations: 50.22 MB / 315.9 MB, free: 34.33 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005417/0.0005419, allocations: 16 kB / 377 MB, free: 7.141 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1298, allocations: 50.51 MB / 427.5 MB, free: 4.566 MB / 330.7 MB Notification: Performance of NFInst.instantiate(iPSL.Examples.Machines.PSAT.Order4test2): time 0.003451/0.1333, allocations: 1.893 MB / 429.4 MB, free: 2.664 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004443/0.1378, allocations: 1.974 MB / 431.3 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004942/0.1384, allocations: 8 kB / 431.3 MB, free: 0.668 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003097/0.1387, allocations: 67.36 kB / 431.4 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000684/0.1394, allocations: 151.2 kB / 431.5 MB, free: 464 kB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.3138/0.4532, allocations: 0.6211 MB / 432.2 MB, free: 34.37 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001839/0.4551, allocations: 0.7153 MB / 432.9 MB, free: 34.37 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007114/0.4558, allocations: 201.3 kB / 433.1 MB, free: 34.34 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009306/0.4568, allocations: 343.6 kB / 433.4 MB, free: 34.34 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0013/0.4581, allocations: 490.5 kB / 433.9 MB, free: 34.33 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002138/0.4583, allocations: 43.62 kB / 433.9 MB, free: 34.33 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00057/0.4589, allocations: 128.1 kB / 434.1 MB, free: 34.33 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002691/0.4592, allocations: 171.5 kB / 434.2 MB, free: 34.29 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002238/0.4595, allocations: 142.1 kB / 434.4 MB, free: 34.23 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00173/0.4612, allocations: 0.7418 MB / 435.1 MB, free: 34.19 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.4612, allocations: 1.969 kB / 435.1 MB, free: 34.19 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.4613, allocations: 0 / 435.1 MB, free: 34.19 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.724e-05/0.4613, allocations: 0 / 435.1 MB, free: 34.19 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.01392/0.4752, allocations: 1.865 MB / 437 MB, free: 33.57 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.875e-05/0.4753, allocations: 9.594 kB / 437 MB, free: 33.57 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005136/0.4758, allocations: 121.3 kB / 437.1 MB, free: 33.53 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008161/0.484, allocations: 0.6592 MB / 437.8 MB, free: 33.47 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001317/0.4854, allocations: 0.5574 MB / 438.3 MB, free: 33.19 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003219/0.4857, allocations: 220.3 kB / 438.5 MB, free: 33.03 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002065/0.486, allocations: 74.66 kB / 438.6 MB, free: 33.02 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003399/0.4894, allocations: 0.9832 MB / 439.6 MB, free: 32.96 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.758e-05/0.4894, allocations: 1.344 kB / 439.6 MB, free: 32.96 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001383/0.4896, allocations: 28.69 kB / 439.6 MB, free: 32.96 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.301e-05/0.4896, allocations: 15.47 kB / 439.6 MB, free: 32.96 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003413/0.493, allocations: 0.9719 MB / 440.6 MB, free: 32.94 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008295/0.5014, allocations: 3.133 MB / 443.7 MB, free: 31.96 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003147/0.5046, allocations: 0.8539 MB / 444.6 MB, free: 31.91 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003205/0.5078, allocations: 0.7104 MB / 445.3 MB, free: 31.83 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002459/0.5081, allocations: 9.812 kB / 445.3 MB, free: 31.83 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.383e-05/0.5082, allocations: 46.34 kB / 445.4 MB, free: 31.78 MB / 330.7 MB Notification: Performance of pre-optimization done (n=77): time 5.08e-06/0.5082, allocations: 0 / 445.4 MB, free: 31.78 MB / 330.7 MB Notification: Performance of matching and sorting (n=77): time 0.06666/0.5749, allocations: 7.776 MB / 453.1 MB, free: 30.45 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.965e-05/0.575, allocations: 59.94 kB / 453.2 MB, free: 30.39 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001502/0.5765, allocations: 0.5647 MB / 453.8 MB, free: 30.12 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003086/0.5768, allocations: 42.7 kB / 453.8 MB, free: 30.08 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003285/0.5772, allocations: 349.3 kB / 454.1 MB, free: 29.8 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004917/0.5777, allocations: 260.9 kB / 454.4 MB, free: 29.6 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001511/0.5779, allocations: 15.19 kB / 454.4 MB, free: 29.59 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.578, allocations: 381.1 kB / 454.8 MB, free: 29.25 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003152/0.5812, allocations: 0.5902 MB / 455.4 MB, free: 29.05 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00326/0.5845, allocations: 0.6886 MB / 456.1 MB, free: 28.76 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002797/0.5873, allocations: 0.6289 MB / 456.7 MB, free: 28.5 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.478e-06/0.5874, allocations: 1.312 kB / 456.7 MB, free: 28.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.03324/0.6206, allocations: 4.598 MB / 461.3 MB, free: 27.57 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.045e-05/0.6207, allocations: 6.078 kB / 461.3 MB, free: 27.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.089e-05/0.6208, allocations: 7.203 kB / 461.3 MB, free: 27.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.07358/0.6944, allocations: 2.123 MB / 463.4 MB, free: 27.22 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001142/0.6956, allocations: 90.14 kB / 463.5 MB, free: 27.21 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07769/0.7733, allocations: 9.49 MB / 473 MB, free: 21.58 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001925/0.7752, allocations: 159.8 kB / 473.2 MB, free: 21.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001229/0.7754, allocations: 23.98 kB / 473.2 MB, free: 21.4 MB / 330.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.0005625/0.776, allocations: 203.7 kB / 473.4 MB, free: 21.2 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002441/0.7762, allocations: 71.06 kB / 473.5 MB, free: 21.12 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03043/0.8067, allocations: 4.634 MB / 478.1 MB, free: 16.48 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.108e-05/0.8067, allocations: 8 kB / 478.1 MB, free: 16.47 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.8068, allocations: 3.953 kB / 478.1 MB, free: 16.47 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.14e-05/0.8068, allocations: 3.984 kB / 478.1 MB, free: 16.46 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002666/0.8095, allocations: 1.03 MB / 479.1 MB, free: 15.4 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.669e-05/0.8096, allocations: 0.5625 kB / 479.1 MB, free: 15.4 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001345/0.8109, allocations: 79.91 kB / 479.2 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02327/0.8342, allocations: 2.025 MB / 481.2 MB, free: 13.3 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002826/0.8346, allocations: 20 kB / 481.3 MB, free: 13.28 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06845/0.903, allocations: 8.17 MB / 489.4 MB, free: 4.977 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.9031, allocations: 7.953 kB / 489.4 MB, free: 4.969 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02803/0.9311, allocations: 5.498 MB / 494.9 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003856/0.9316, allocations: 170.9 kB / 495.1 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003394/0.9319, allocations: 16.56 kB / 495.1 MB, free: 15.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001925/0.9339, allocations: 111.9 kB / 495.2 MB, free: 15.14 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009992/0.9349, allocations: 184.7 kB / 495.4 MB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001284/0.9351, allocations: 21.75 kB / 495.4 MB, free: 14.94 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009122/0.936, allocations: 410.8 kB / 495.8 MB, free: 14.54 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.936, allocations: 0 / 495.8 MB, free: 14.54 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00188/0.9379, allocations: 327.5 kB / 496.1 MB, free: 14.22 MB / 346.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.03125/0.9692, allocations: 6.066 MB / 0.4904 GB, free: 8.117 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01207/0.9813, allocations: 2.347 MB / 0.4927 GB, free: 5.758 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.9814, allocations: 0 / 0.4927 GB, free: 5.758 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008874/0.9903, allocations: 1.664 MB / 0.4944 GB, free: 4.09 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000955/0.9913, allocations: 64.3 kB / 0.4944 GB, free: 4.031 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0401/1.031, allocations: 8.911 MB / 0.5031 GB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007806/1.032, allocations: 0.9796 MB / 0.5041 GB, free: 10.05 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005208/1.033, allocations: 59.97 kB / 0.5041 GB, free: 9.992 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006334/1.033, allocations: 279.3 kB / 0.5044 GB, free: 9.719 MB / 362.7 MB Notification: Performance of SimCode: time 3.456e-06/1.033, allocations: 0 / 0.5044 GB, free: 9.719 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1278/1.161, allocations: 24.2 MB / 0.528 GB, free: 1.656 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003448/1.162, allocations: 197.5 kB / 0.5282 GB, free: 1.406 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.518/4.679, allocations: 4 kB / 0.5282 GB, free: 1.402 MB / 378.7 MB