Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 112.6 kB / 16.42 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 222.9 MB / 240.1 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 195.4 kB / 290.4 MB, free: 2.281 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.502/0.502, allocations: 91.9 MB / 432.4 MB, free: 9.176 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 77.19 kB / 0.5734 GB, free: 33.48 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1208, allocations: 71.28 MB / 0.643 GB, free: 3.578 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG): time 0.006562/0.1274, allocations: 6.345 MB / 0.6492 GB, free: 13.2 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004263/0.1316, allocations: 1.946 MB / 0.6511 GB, free: 11.25 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006489/0.1323, allocations: 19.94 kB / 0.6511 GB, free: 11.23 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008119/0.1332, allocations: 230 kB / 0.6513 GB, free: 11.01 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002522/0.1357, allocations: 0.769 MB / 0.6521 GB, free: 10.23 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002276/0.138, allocations: 0.6565 MB / 0.6527 GB, free: 9.586 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002563/0.1406, allocations: 1.46 MB / 0.6542 GB, free: 8.121 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000737/0.1413, allocations: 316.3 kB / 0.6545 GB, free: 7.805 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001146/0.1425, allocations: 0.5952 MB / 0.655 GB, free: 7.207 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001176/0.1437, allocations: 0.7311 MB / 0.6558 GB, free: 6.473 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002556/0.144, allocations: 108 kB / 0.6559 GB, free: 6.367 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000778/0.1448, allocations: 239.9 kB / 0.6561 GB, free: 6.133 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000386/0.1452, allocations: 290.8 kB / 0.6564 GB, free: 5.848 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008485/0.146, allocations: 0.6136 MB / 0.657 GB, free: 5.23 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002369/0.1484, allocations: 1.534 MB / 0.6585 GB, free: 3.691 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1484, allocations: 0 / 0.6585 GB, free: 3.691 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1484, allocations: 0 / 0.6585 GB, free: 3.691 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.733e-05/0.1485, allocations: 0 / 0.6585 GB, free: 3.691 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.01478/0.1633, allocations: 2.544 MB / 0.661 GB, free: 1.094 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.11e-05/0.1633, allocations: 8.031 kB / 0.661 GB, free: 1.086 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01057/0.1739, allocations: 0.7672 MB / 0.6617 GB, free: 324 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002793/0.1768, allocations: 0.8266 MB / 0.6625 GB, free: 15.43 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005195/0.1773, allocations: 256.1 kB / 0.6628 GB, free: 15.14 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002956/0.1776, allocations: 76 kB / 0.6628 GB, free: 15.07 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004531/0.1822, allocations: 1.122 MB / 0.6639 GB, free: 13.94 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.216e-05/0.1822, allocations: 7.938 kB / 0.6639 GB, free: 13.93 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001769/0.1824, allocations: 28 kB / 0.664 GB, free: 13.9 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.534e-05/0.1825, allocations: 20 kB / 0.664 GB, free: 13.88 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004656/0.1872, allocations: 1.077 MB / 0.665 GB, free: 12.8 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0114/0.1986, allocations: 3.435 MB / 0.6684 GB, free: 9.211 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004451/0.2031, allocations: 1.417 MB / 0.6698 GB, free: 7.668 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003177/0.2063, allocations: 0.7461 MB / 0.6705 GB, free: 6.918 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001307/0.2064, allocations: 13 kB / 0.6705 GB, free: 6.906 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.625e-05/0.2065, allocations: 43.56 kB / 0.6706 GB, free: 6.855 MB / 478.1 MB Notification: Performance of pre-optimization done (n=89): time 4.889e-06/0.2065, allocations: 0 / 0.6706 GB, free: 6.855 MB / 478.1 MB Notification: Performance of matching and sorting (n=89): time 0.05051/0.257, allocations: 6.855 MB / 0.6773 GB, free: 15.96 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.814e-05/0.2571, allocations: 90.11 kB / 0.6773 GB, free: 15.86 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001572/0.2587, allocations: 0.9496 MB / 0.6783 GB, free: 14.89 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002145/0.2589, allocations: 41.7 kB / 0.6783 GB, free: 14.84 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003752/0.2593, allocations: 484.5 kB / 0.6788 GB, free: 14.36 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004185/0.2597, allocations: 323.3 kB / 0.6791 GB, free: 14.04 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004418/0.2602, allocations: 194.8 kB / 0.6793 GB, free: 13.84 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.2603, allocations: 349.9 kB / 0.6796 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001601/0.2619, allocations: 0.7009 MB / 0.6803 GB, free: 12.79 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001704/0.2637, allocations: 0.8267 MB / 0.6811 GB, free: 11.93 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01926/0.2829, allocations: 4.681 MB / 0.6857 GB, free: 7.219 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.545e-06/0.283, allocations: 0 / 0.6857 GB, free: 7.219 MB / 494.1 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.01469/0.2977, allocations: 4.245 MB / 0.6898 GB, free: 2.957 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.588e-05/0.2977, allocations: 8 kB / 0.6898 GB, free: 2.949 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.2977, allocations: 0 / 0.6898 GB, free: 2.949 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006682/0.3044, allocations: 1.811 MB / 0.6916 GB, free: 1.133 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/0.3054, allocations: 175.8 kB / 0.6917 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02367/0.3291, allocations: 9.314 MB / 0.7008 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001591/0.3308, allocations: 175 kB / 0.701 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001752/0.3309, allocations: 39.98 kB / 0.701 GB, free: 7.277 MB / 0.4981 GB Warning: Assuming fixed start value for the following 3 variables: order3_Inputs_Outputs1.delta:VARIABLE(flow=false start = order3_Inputs_Outputs1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real TGTypeII1.transferFunction1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002059/0.333, allocations: 0.8697 MB / 0.7019 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00173/0.3348, allocations: 0.815 MB / 0.7027 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01902/0.3538, allocations: 4.654 MB / 0.7072 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.061e-06/0.3538, allocations: 3.938 kB / 0.7072 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.0146/0.3684, allocations: 4.23 MB / 0.7114 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.3685, allocations: 4 kB / 0.7114 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.3685, allocations: 4 kB / 0.7114 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006607/0.3751, allocations: 1.796 MB / 0.7131 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009929/0.3761, allocations: 183.7 kB / 0.7133 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02309/0.3992, allocations: 9.309 MB / 0.7224 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001545/0.4008, allocations: 163 kB / 0.7226 GB, free: 1.02 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00017/0.401, allocations: 43.98 kB / 0.7226 GB, free: 0.9766 MB / 0.5137 GB Warning: Assuming fixed start value for the following 3 variables: order3_Inputs_Outputs1.delta:VARIABLE(flow=false start = order3_Inputs_Outputs1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real TGTypeII1.transferFunction1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] 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 (105): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(25,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0003792/0.4014, allocations: 234.5 kB / 0.7228 GB, free: 0.7422 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000284/0.4017, allocations: 114.6 kB / 0.7229 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01407/0.4157, allocations: 3.955 MB / 0.7268 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.149e-05/0.4158, allocations: 3.984 kB / 0.7268 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.4158, allocations: 0 / 0.7268 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003636/0.4162, allocations: 203.4 kB / 0.727 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002572/0.4164, allocations: 16 kB / 0.727 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001172/0.4176, allocations: 115.8 kB / 0.7271 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001175/0.4188, allocations: 488.2 kB / 0.7276 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005977/0.4248, allocations: 2.016 MB / 0.7296 GB, free: 9.801 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004665/0.4295, allocations: 2.19 MB / 0.7317 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001371/0.4309, allocations: 0.5894 MB / 0.7323 GB, free: 7.004 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001007/0.4319, allocations: 0.6509 MB / 0.7329 GB, free: 6.344 MB / 0.5294 GB Notification: Performance of Backend: time 7.11e-07/0.4319, allocations: 0 / 0.7329 GB, free: 6.344 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01134/0.4432, allocations: 3.699 MB / 0.7365 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of SimCode: time 0.003161/0.4464, allocations: 2.574 MB / 0.739 GB, free: 15.98 MB / 0.545 GB Notification: Performance of Templates: time 0.2876/0.7341, allocations: 33.46 MB / 0.7717 GB, free: 118.7 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe 2>&1)