Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr iPSL_iPSL.Examples.Machines.PSAT.Order4test2_perturbation.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_perturbation,fileNamePrefix="iPSL_iPSL_Examples_Machines_PSAT_Order4test2_perturbation",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.009708/0.009708, allocations: 165.1 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.619/1.619, 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.001956/0.001956, allocations: 103.3 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.6213/0.6213, allocations: 50.22 MB / 315.8 MB, free: 34.26 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005451/0.000545, allocations: 16 kB / 376.9 MB, free: 7.152 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1227, allocations: 50.5 MB / 427.4 MB, free: 4.59 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3947/0.5174, allocations: 76.59 MB / 0.4922 GB, free: 8.922 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002481/0.5177, allocations: 65.47 kB / 0.4923 GB, free: 8.859 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08381/0.6016, allocations: 18 MB / 0.5099 GB, free: 6.875 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.6016, allocations: 4 kB / 0.5099 GB, free: 6.871 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.96e-05/0.6017, allocations: 20 kB / 0.5099 GB, free: 6.852 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: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.008594/0.6103, allocations: 1.71 MB / 0.5115 GB, free: 5.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.717e-05/0.6104, allocations: 8.031 kB / 0.5116 GB, free: 5.082 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005652/0.611, allocations: 138.8 kB / 0.5117 GB, free: 4.938 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00482/0.6158, allocations: 494.2 kB / 0.5122 GB, free: 4.453 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001891/0.6178, allocations: 0.6231 MB / 0.5128 GB, free: 3.793 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004285/0.6182, allocations: 230.5 kB / 0.513 GB, free: 3.535 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003421/0.6186, allocations: 76 kB / 0.5131 GB, free: 3.461 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004527/0.6231, allocations: 1.117 MB / 0.5142 GB, free: 2.34 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.386e-05/0.6232, allocations: 0 / 0.5142 GB, free: 2.34 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001688/0.6234, allocations: 39.94 kB / 0.5142 GB, free: 2.301 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.612e-05/0.6235, allocations: 20 kB / 0.5142 GB, free: 2.281 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00509/0.6286, allocations: 1.148 MB / 0.5153 GB, free: 1.133 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01104/0.6396, allocations: 3.488 MB / 0.5187 GB, free: 13.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003632/0.6433, allocations: 0.979 MB / 0.5197 GB, free: 12.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002213/0.6436, allocations: 12.98 kB / 0.5197 GB, free: 12.48 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.794e-05/0.6436, allocations: 50.69 kB / 0.5198 GB, free: 12.43 MB / 378.7 MB Notification: Performance of pre-optimization done (n=91): time 4.108e-06/0.6437, allocations: 3.938 kB / 0.5198 GB, free: 12.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=91): time 0.05415/0.6978, allocations: 8.146 MB / 0.5277 GB, free: 4.246 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.062e-05/0.6979, allocations: 64.36 kB / 0.5278 GB, free: 4.168 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001372/0.6993, allocations: 0.6014 MB / 0.5284 GB, free: 3.566 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002884/0.6996, allocations: 41.7 kB / 0.5284 GB, free: 3.52 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004326/0.7001, allocations: 432.2 kB / 0.5288 GB, free: 3.09 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000522/0.7006, allocations: 303.4 kB / 0.5291 GB, free: 2.789 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001548/0.7008, allocations: 16 kB / 0.5291 GB, free: 2.773 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001884/0.701, allocations: 342 kB / 0.5294 GB, free: 2.434 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002997/0.704, allocations: 0.6734 MB / 0.5301 GB, free: 1.762 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003238/0.7073, allocations: 0.7757 MB / 0.5309 GB, free: 0.9609 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003147/0.7105, allocations: 0.7155 MB / 0.5316 GB, free: 252 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/0.7105, allocations: 0 / 0.5316 GB, free: 252 kB / 378.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.02848/0.739, allocations: 4.791 MB / 0.5362 GB, free: 11.43 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.732e-05/0.7391, allocations: 8 kB / 0.5362 GB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.736e-05/0.7391, allocations: 1.25 kB / 0.5362 GB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01316/0.7523, allocations: 2.132 MB / 0.5383 GB, free: 9.289 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001413/0.7538, allocations: 143.8 kB / 0.5385 GB, free: 9.148 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04498/0.7988, allocations: 9.952 MB / 0.5482 GB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002338/0.8012, allocations: 191.1 kB / 0.5484 GB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002399/0.8015, allocations: 24 kB / 0.5484 GB, free: 14.84 MB / 410.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 (71): * Single equations (assignments): 70 * 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.0007887/0.8023, allocations: 222.5 kB / 0.5486 GB, free: 14.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003627/0.8026, allocations: 90.88 kB / 0.5487 GB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02799/0.8306, allocations: 4.843 MB / 0.5534 GB, free: 9.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-05/0.8307, allocations: 8 kB / 0.5534 GB, free: 9.652 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.8307, allocations: 0 / 0.5534 GB, free: 9.652 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.38e-05/0.8308, allocations: 3.984 kB / 0.5534 GB, free: 9.648 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002543/0.8333, allocations: 1.138 MB / 0.5545 GB, free: 8.461 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/0.8334, allocations: 7.984 kB / 0.5545 GB, free: 8.453 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001295/0.8347, allocations: 119.9 kB / 0.5547 GB, free: 8.336 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01201/0.8467, allocations: 2.033 MB / 0.5566 GB, free: 6.301 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000269/0.847, allocations: 23.98 kB / 0.5567 GB, free: 6.277 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03781/0.8848, allocations: 8.608 MB / 0.5651 GB, free: 13.53 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.8849, allocations: 0 / 0.5651 GB, free: 13.53 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03163/0.9165, allocations: 5.798 MB / 0.5707 GB, free: 7.703 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009115/0.9175, allocations: 307.5 kB / 0.571 GB, free: 7.383 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002318/0.9177, allocations: 16 kB / 0.571 GB, free: 7.367 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001994/0.9198, allocations: 139.8 kB / 0.5712 GB, free: 7.23 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001027/0.9208, allocations: 208.6 kB / 0.5714 GB, free: 7.027 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001247/0.9209, allocations: 24 kB / 0.5714 GB, free: 7.004 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001017/0.922, allocations: 483 kB / 0.5719 GB, free: 6.539 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.922, allocations: 0 / 0.5719 GB, free: 6.539 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00174/0.9237, allocations: 383.4 kB / 0.5722 GB, free: 6.164 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 (62): * Single equations (assignments): 61 * 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.3309/1.255, allocations: 6.373 MB / 0.5785 GB, free: 110.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01252/1.267, allocations: 2.539 MB / 0.5809 GB, free: 110.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/1.267, allocations: 1.094 kB / 0.5809 GB, free: 110.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009416/1.277, allocations: 1.752 MB / 0.5826 GB, free: 110 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000729/1.277, allocations: 68.94 kB / 0.5827 GB, free: 110 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03938/1.317, allocations: 11.22 MB / 0.5937 GB, free: 107 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006476/1.318, allocations: 1.043 MB / 0.5947 GB, free: 106.3 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006494/1.318, allocations: 69.81 kB / 0.5947 GB, free: 106.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007011/1.319, allocations: 343.8 kB / 0.5951 GB, free: 106.3 MB / 426.7 MB Notification: Performance of SimCode: time 1.513e-06/1.319, allocations: 3.391 kB / 0.5951 GB, free: 106.3 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07774/1.397, allocations: 26.42 MB / 0.6209 GB, free: 103.8 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000213/1.397, allocations: 192.8 kB / 0.6211 GB, free: 103.6 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.626/5.023, allocations: 3.812 kB / 0.6211 GB, free: 103.6 MB / 426.7 MB