Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08233/0.08233, allocations: 12.6 MB / 28.91 MB, free: 0.6172 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 111.5 kB / 32.51 MB, free: 3.559 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.327/1.327, allocations: 205.1 MB / 241.1 MB, free: 12.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001519/0.001519, allocations: 184.5 kB / 291.4 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4481/0.4481, allocations: 78.51 MB / 420 MB, free: 11.26 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002619/0.002619, allocations: 142.4 kB / 0.5565 GB, free: 28.66 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1282, allocations: 68.13 MB / 0.6231 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG): time 0.007386/0.1356, allocations: 6.379 MB / 0.6293 GB, free: 9.027 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003953/0.1396, allocations: 1.896 MB / 0.6311 GB, free: 7.125 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009393/0.1406, allocations: 12 kB / 0.6312 GB, free: 7.113 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009475/0.1415, allocations: 242 kB / 0.6314 GB, free: 6.875 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0024/0.1439, allocations: 0.7804 MB / 0.6321 GB, free: 6.09 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001757/0.1457, allocations: 0.6422 MB / 0.6328 GB, free: 5.457 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002024/0.1477, allocations: 1.471 MB / 0.6342 GB, free: 3.98 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005721/0.1483, allocations: 320.3 kB / 0.6345 GB, free: 3.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009789/0.1493, allocations: 0.5952 MB / 0.6351 GB, free: 3.062 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001028/0.1504, allocations: 0.7272 MB / 0.6358 GB, free: 2.332 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003216/0.1507, allocations: 104 kB / 0.6359 GB, free: 2.23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005569/0.1513, allocations: 247.8 kB / 0.6361 GB, free: 1.988 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000258/0.1515, allocations: 290.8 kB / 0.6364 GB, free: 1.703 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000563/0.1521, allocations: 0.6097 MB / 0.637 GB, free: 1.09 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001553/0.1537, allocations: 1.541 MB / 0.6385 GB, free: 15.54 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1537, allocations: 0 / 0.6385 GB, free: 15.54 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1537, allocations: 0 / 0.6385 GB, free: 15.54 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.481e-05/0.1537, allocations: 0 / 0.6385 GB, free: 15.54 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.008226/0.1619, allocations: 2.54 MB / 0.641 GB, free: 12.95 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.162, allocations: 11.98 kB / 0.641 GB, free: 12.93 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005076/0.1671, allocations: 0.7788 MB / 0.6418 GB, free: 12.15 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001534/0.1686, allocations: 0.8344 MB / 0.6426 GB, free: 11.26 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002965/0.1689, allocations: 252.2 kB / 0.6428 GB, free: 10.98 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001705/0.1691, allocations: 76 kB / 0.6429 GB, free: 10.91 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002329/0.1715, allocations: 1.118 MB / 0.644 GB, free: 9.773 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.1715, allocations: 11.94 kB / 0.644 GB, free: 9.762 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.903e-05/0.1716, allocations: 28 kB / 0.644 GB, free: 9.734 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.677e-05/0.1716, allocations: 20 kB / 0.644 GB, free: 9.715 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002358/0.174, allocations: 1.07 MB / 0.6451 GB, free: 8.648 MB / 462.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.005866/0.1799, allocations: 3.428 MB / 0.6484 GB, free: 5.062 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002332/0.1822, allocations: 1.435 MB / 0.6498 GB, free: 3.504 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00155/0.1838, allocations: 0.7344 MB / 0.6506 GB, free: 2.77 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.418e-05/0.1839, allocations: 20.97 kB / 0.6506 GB, free: 2.75 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.805e-05/0.1839, allocations: 43.56 kB / 0.6506 GB, free: 2.699 MB / 462.1 MB Notification: Performance of pre-optimization done (n=89): time 3.346e-06/0.1839, allocations: 4 kB / 0.6506 GB, free: 2.695 MB / 462.1 MB Notification: Performance of matching and sorting (n=89): time 0.02842/0.2124, allocations: 6.855 MB / 0.6573 GB, free: 11.8 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.634e-05/0.2125, allocations: 86.11 kB / 0.6574 GB, free: 11.7 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001601/0.2141, allocations: 0.9498 MB / 0.6583 GB, free: 10.73 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002192/0.2143, allocations: 41.7 kB / 0.6584 GB, free: 10.69 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003965/0.2147, allocations: 484.5 kB / 0.6588 GB, free: 10.21 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004886/0.2152, allocations: 323.4 kB / 0.6591 GB, free: 9.887 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004818/0.2157, allocations: 198.8 kB / 0.6593 GB, free: 9.684 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.2159, allocations: 345.9 kB / 0.6597 GB, free: 9.34 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001629/0.2175, allocations: 0.7048 MB / 0.6603 GB, free: 8.633 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001719/0.2192, allocations: 0.8267 MB / 0.6612 GB, free: 7.773 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0185/0.2377, allocations: 4.681 MB / 0.6657 GB, free: 3.062 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.2378, allocations: 4 kB / 0.6657 GB, free: 3.059 MB / 478.1 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.01434/0.2521, allocations: 4.245 MB / 0.6699 GB, free: 14.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.028e-05/0.2522, allocations: 4 kB / 0.6699 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.2522, allocations: 4 kB / 0.6699 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006535/0.2588, allocations: 1.788 MB / 0.6716 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009983/0.2598, allocations: 191.7 kB / 0.6718 GB, free: 12.81 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02294/0.2827, allocations: 9.318 MB / 0.6809 GB, free: 3.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00156/0.2843, allocations: 171 kB / 0.6811 GB, free: 3.172 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001827/0.2845, allocations: 39.98 kB / 0.6811 GB, free: 3.133 MB / 494.1 MB 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.002048/0.2866, allocations: 0.8737 MB / 0.682 GB, free: 2.266 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001699/0.2883, allocations: 0.8072 MB / 0.6828 GB, free: 1.426 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01809/0.3064, allocations: 4.666 MB / 0.6873 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.062e-06/0.3064, allocations: 3.938 kB / 0.6873 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.01382/0.3203, allocations: 4.222 MB / 0.6914 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.3203, allocations: 8 kB / 0.6914 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.3203, allocations: 3.984 kB / 0.6914 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006278/0.3266, allocations: 1.788 MB / 0.6932 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008948/0.3275, allocations: 183.7 kB / 0.6934 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02253/0.3501, allocations: 9.314 MB / 0.7025 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001559/0.3517, allocations: 167.1 kB / 0.7026 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001844/0.3519, allocations: 40 kB / 0.7027 GB, free: 12.83 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.0004314/0.3523, allocations: 248.5 kB / 0.7029 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003315/0.3527, allocations: 118.5 kB / 0.703 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01351/0.3662, allocations: 3.947 MB / 0.7069 GB, free: 8.5 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-05/0.3662, allocations: 3.984 kB / 0.7069 GB, free: 8.496 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.3662, allocations: 7.922 kB / 0.7069 GB, free: 8.488 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004103/0.3667, allocations: 203.5 kB / 0.7071 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003225/0.367, allocations: 16 kB / 0.7071 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001276/0.3683, allocations: 107.9 kB / 0.7072 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001241/0.3695, allocations: 488.2 kB / 0.7077 GB, free: 7.672 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006181/0.3757, allocations: 2.001 MB / 0.7096 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004831/0.3806, allocations: 2.209 MB / 0.7118 GB, free: 3.434 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001411/0.382, allocations: 0.5817 MB / 0.7123 GB, free: 2.852 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001184/0.3832, allocations: 0.6471 MB / 0.713 GB, free: 2.195 MB / 0.5137 GB Notification: Performance of Backend: time 9.01e-07/0.3832, allocations: 0 / 0.713 GB, free: 2.195 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.2698/0.653, allocations: 3.701 MB / 0.7166 GB, free: 86.79 MB / 0.5137 GB Notification: Performance of SimCode: time 0.003279/0.6563, allocations: 2.575 MB / 0.7191 GB, free: 85.44 MB / 0.5137 GB Notification: Performance of Templates: time 0.04896/0.7053, allocations: 33.47 MB / 0.7518 GB, free: 68.8 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe 2>&1)