Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo", uses=false) Using package iPSL with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(iPSL.Examples.Machines.PSAT.Order5_1test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2") translateModel(iPSL.Examples.Machines.PSAT.Order5_1test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001598/0.001598, allocations: 170 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.179/1.179, allocations: 170.6 MB / 183.8 MB, free: 11.42 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00151/0.00151, allocations: 114.8 kB / 223.2 MB, free: 4.043 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo): time 0.218/0.218, allocations: 49.9 MB / 312.3 MB, free: 9.324 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.84e-05/2.842e-05, allocations: 4 kB / 370.7 MB, free: 19.15 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07991/0.07996, allocations: 50.49 MB / 421.2 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3072/0.3872, allocations: 75.41 MB / 496.6 MB, free: 11.52 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001632/0.3874, allocations: 64.97 kB / 496.7 MB, free: 11.51 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03509/0.4225, allocations: 14.63 MB / 0.4993 GB, free: 6.109 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.4226, allocations: 0 / 0.4993 GB, free: 6.109 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.536e-05/0.4226, allocations: 16.09 kB / 0.4993 GB, free: 6.109 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003269/0.4259, allocations: 1.376 MB / 0.5007 GB, free: 5.043 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.4259, allocations: 16.03 kB / 0.5007 GB, free: 5.027 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002518/0.4285, allocations: 469.8 kB / 0.5011 GB, free: 4.613 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006644/0.4291, allocations: 0.553 MB / 0.5017 GB, free: 4.16 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001629/0.4293, allocations: 225.8 kB / 0.5019 GB, free: 3.938 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/0.4294, allocations: 67.19 kB / 0.502 GB, free: 3.895 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001208/0.4306, allocations: 0.7859 MB / 0.5027 GB, free: 3.395 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.4307, allocations: 11.89 kB / 0.5027 GB, free: 3.383 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.146e-05/0.4308, allocations: 24.94 kB / 0.5028 GB, free: 3.379 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.4308, allocations: 16 kB / 0.5028 GB, free: 3.363 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00112/0.4319, allocations: 0.7745 MB / 0.5035 GB, free: 2.879 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004333/0.4362, allocations: 3.203 MB / 0.5067 GB, free: 400 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/0.4373, allocations: 0.6626 MB / 0.5073 GB, free: 4 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007716/0.4381, allocations: 0.5234 MB / 0.5078 GB, free: 15.73 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000102/0.4382, allocations: 16.33 kB / 0.5078 GB, free: 15.72 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.725e-05/0.4383, allocations: 47.16 kB / 0.5079 GB, free: 15.67 MB / 346.7 MB Notification: Performance of pre-optimization done (n=78): time 2.765e-06/0.4383, allocations: 0 / 0.5079 GB, free: 15.67 MB / 346.7 MB Notification: Performance of matching and sorting (n=78): time 0.01241/0.4507, allocations: 3.935 MB / 0.5117 GB, free: 12.26 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.227e-05/0.4508, allocations: 67.56 kB / 0.5118 GB, free: 12.19 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009042/0.4517, allocations: 0.5047 MB / 0.5123 GB, free: 11.8 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001765/0.4519, allocations: 35.77 kB / 0.5123 GB, free: 11.77 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002161/0.4521, allocations: 349.8 kB / 0.5126 GB, free: 11.53 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003479/0.4525, allocations: 272.9 kB / 0.5129 GB, free: 11.3 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.037e-05/0.4526, allocations: 18.19 kB / 0.5129 GB, free: 11.3 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001872/0.4527, allocations: 382.3 kB / 0.5133 GB, free: 10.95 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007072/0.4535, allocations: 411 kB / 0.5137 GB, free: 10.73 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000763/0.4542, allocations: 0.4905 MB / 0.5142 GB, free: 10.41 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007449/0.455, allocations: 454.6 kB / 0.5146 GB, free: 10.16 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.455, allocations: 0 / 0.5146 GB, free: 10.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.01287/0.4679, allocations: 4.033 MB / 0.5185 GB, free: 6.664 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.332e-05/0.4679, allocations: 7.953 kB / 0.5185 GB, free: 6.656 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.468, allocations: 4 kB / 0.5185 GB, free: 6.652 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00601/0.474, allocations: 1.736 MB / 0.5202 GB, free: 5.137 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006195/0.4747, allocations: 91.52 kB / 0.5203 GB, free: 5.051 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01504/0.4897, allocations: 7.242 MB / 0.5274 GB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001207/0.491, allocations: 155.3 kB / 0.5275 GB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001399/0.4911, allocations: 28 kB / 0.5276 GB, free: 15.61 MB / 362.7 MB Warning: Assuming fixed start value for the following 3 variables: order5Type1_Inputs_Outputs.e2d:VARIABLE(start = order5Type1_Inputs_Outputs.e2d0 ) "d-axis sub-transient voltage" type: Real order5Type1_Inputs_Outputs.e1d:VARIABLE(start = order5Type1_Inputs_Outputs.e1d0 ) "d-axis transient voltage" type: Real order5Type1_Inputs_Outputs.e1q:VARIABLE(start = order5Type1_Inputs_Outputs.e1q0 ) "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 () * 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.0003274/0.4914, allocations: 133.9 kB / 0.5277 GB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002644/0.4917, allocations: 79.02 kB / 0.5278 GB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01268/0.5044, allocations: 4.071 MB / 0.5317 GB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.564e-05/0.5045, allocations: 11.95 kB / 0.5318 GB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.5045, allocations: 0 / 0.5318 GB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.291e-05/0.5045, allocations: 3.984 kB / 0.5318 GB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001611/0.5061, allocations: 1.035 MB / 0.5328 GB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/0.5061, allocations: 3.938 kB / 0.5328 GB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005243/0.5067, allocations: 83.83 kB / 0.5329 GB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005347/0.512, allocations: 1.655 MB / 0.5345 GB, free: 8.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001658/0.5122, allocations: 16 kB / 0.5345 GB, free: 8.465 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01372/0.526, allocations: 6.297 MB / 0.5406 GB, free: 2.023 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.526, allocations: 0 / 0.5406 GB, free: 2.023 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01408/0.5401, allocations: 4.737 MB / 0.5453 GB, free: 13.27 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002905/0.5404, allocations: 168 kB / 0.5454 GB, free: 13.08 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001793/0.5406, allocations: 19.98 kB / 0.5454 GB, free: 13.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001065/0.5417, allocations: 111.9 kB / 0.5455 GB, free: 12.95 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005723/0.5423, allocations: 184.4 kB / 0.5457 GB, free: 12.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.339e-05/0.5424, allocations: 20 kB / 0.5457 GB, free: 12.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005837/0.543, allocations: 409.6 kB / 0.5461 GB, free: 12.36 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.543, allocations: 0 / 0.5461 GB, free: 12.36 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001111/0.5441, allocations: 351.4 kB / 0.5465 GB, free: 12.02 MB / 378.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 () * 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.0002922/0.5444, allocations: 141 kB / 0.5466 GB, free: 11.87 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005361/0.5498, allocations: 1.941 MB / 0.5485 GB, free: 9.914 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.5498, allocations: 0.5 kB / 0.5485 GB, free: 9.914 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004315/0.5541, allocations: 1.449 MB / 0.5499 GB, free: 8.453 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004318/0.5546, allocations: 54.09 kB / 0.55 GB, free: 8.398 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002291/0.5569, allocations: 1.14 MB / 0.5511 GB, free: 7.234 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005559/0.5574, allocations: 0.9856 MB / 0.552 GB, free: 6.219 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003171/0.5578, allocations: 60.86 kB / 0.5521 GB, free: 6.156 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001883/0.558, allocations: 47.42 kB / 0.5521 GB, free: 6.109 MB / 378.7 MB Notification: Performance of SimCode: time 7.41e-07/0.558, allocations: 4 kB / 0.5521 GB, free: 6.105 MB / 378.7 MB Notification: Performance of Templates: time 0.02869/0.5867, allocations: 18.31 MB / 0.57 GB, free: 3.793 MB / 394.7 MB make -j1 -f iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2.makefile (rm -f iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2.pipe ; mkfifo iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2.pipe ; head -c 1048576 < iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2.pipe >> ../files/iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2.sim & ./iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2.pipe 2>&1)