Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.conf.json 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/Modelica 4.0.0+maint.om/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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009438/0.0009438, allocations: 174.4 kB / 16.08 MB, free: 5.578 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.241/1.241, allocations: 222.9 MB / 239.7 MB, free: 10.15 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007164/0.0007164, allocations: 96.36 kB / 290.5 MB, free: 11.01 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4468/0.4468, allocations: 78.42 MB / 419.6 MB, free: 9.785 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003314/0.0003314, allocations: 12.2 kB / 499.1 MB, free: 10.65 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2541, allocations: 68.75 MB / 0.5545 GB, free: 20.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG): time 0.005265/0.2594, allocations: 6.657 MB / 0.561 GB, free: 13.52 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003217/0.2627, allocations: 1.985 MB / 0.563 GB, free: 11.53 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008698/0.2636, allocations: 15.94 kB / 0.563 GB, free: 11.52 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007963/0.2644, allocations: 182.8 kB / 0.5631 GB, free: 11.34 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001653/0.2661, allocations: 0.6589 MB / 0.5638 GB, free: 10.68 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001195/0.2673, allocations: 0.6031 MB / 0.5644 GB, free: 10.08 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001226/0.2685, allocations: 1.378 MB / 0.5657 GB, free: 8.695 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003691/0.2689, allocations: 287.4 kB / 0.566 GB, free: 8.406 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007858/0.2697, allocations: 0.5246 MB / 0.5665 GB, free: 7.879 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000763/0.2705, allocations: 0.6569 MB / 0.5671 GB, free: 7.219 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002146/0.2707, allocations: 56 kB / 0.5672 GB, free: 7.164 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004752/0.2712, allocations: 183.9 kB / 0.5674 GB, free: 6.984 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001642/0.2713, allocations: 226.8 kB / 0.5676 GB, free: 6.762 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003447/0.2717, allocations: 0.5472 MB / 0.5681 GB, free: 6.211 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009172/0.2726, allocations: 1.447 MB / 0.5695 GB, free: 4.758 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2726, allocations: 0 / 0.5695 GB, free: 4.758 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2726, allocations: 0 / 0.5695 GB, free: 4.758 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.2727, allocations: 0 / 0.5695 GB, free: 4.758 MB / 378.7 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.006577/0.2792, allocations: 2.299 MB / 0.5718 GB, free: 2.406 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.2793, allocations: 8.031 kB / 0.5718 GB, free: 2.398 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004613/0.2839, allocations: 0.7788 MB / 0.5726 GB, free: 1.617 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001157/0.2851, allocations: 0.8072 MB / 0.5733 GB, free: 0.7539 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002121/0.2853, allocations: 260.2 kB / 0.5736 GB, free: 472 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001355/0.2855, allocations: 79.84 kB / 0.5737 GB, free: 392 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002116/0.2876, allocations: 1.122 MB / 0.5748 GB, free: 15.25 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.2876, allocations: 3.938 kB / 0.5748 GB, free: 15.24 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.891e-05/0.2877, allocations: 32 kB / 0.5748 GB, free: 15.21 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.623e-05/0.2877, allocations: 16 kB / 0.5748 GB, free: 15.2 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002293/0.29, allocations: 1.066 MB / 0.5758 GB, free: 14.13 MB / 394.7 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.005859/0.2959, allocations: 3.466 MB / 0.5792 GB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002139/0.2981, allocations: 1.43 MB / 0.5806 GB, free: 8.969 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001424/0.2995, allocations: 0.75 MB / 0.5814 GB, free: 8.211 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001094/0.2996, allocations: 12.98 kB / 0.5814 GB, free: 8.199 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.2997, allocations: 43.56 kB / 0.5814 GB, free: 8.145 MB / 394.7 MB Notification: Performance of pre-optimization done (n=89): time 2.885e-06/0.2997, allocations: 0 / 0.5814 GB, free: 8.145 MB / 394.7 MB Notification: Performance of matching and sorting (n=89): time 0.02619/0.3259, allocations: 6.863 MB / 0.5881 GB, free: 1.25 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.005e-05/0.3259, allocations: 86.11 kB / 0.5882 GB, free: 1.148 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001402/0.3273, allocations: 0.9458 MB / 0.5891 GB, free: 188 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001985/0.3276, allocations: 41.7 kB / 0.5892 GB, free: 140 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004306/0.328, allocations: 480.5 kB / 0.5896 GB, free: 15.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003444/0.3284, allocations: 323.4 kB / 0.5899 GB, free: 15.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001472/0.3285, allocations: 101.7 kB / 0.59 GB, free: 15.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.3287, allocations: 349.9 kB / 0.5904 GB, free: 14.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001537/0.3302, allocations: 0.6936 MB / 0.591 GB, free: 14.19 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001565/0.3318, allocations: 0.8267 MB / 0.5918 GB, free: 13.33 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01788/0.3497, allocations: 4.687 MB / 0.5964 GB, free: 8.613 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.3497, allocations: 0 / 0.5964 GB, free: 8.613 MB / 410.7 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.0138/0.3635, allocations: 4.241 MB / 0.6006 GB, free: 4.355 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001065/0.3637, allocations: 169 kB / 0.6007 GB, free: 4.164 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.098e-06/0.3637, allocations: 3.938 kB / 0.6007 GB, free: 4.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006168/0.3699, allocations: 1.776 MB / 0.6025 GB, free: 2.379 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009316/0.3708, allocations: 187.8 kB / 0.6026 GB, free: 2.195 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01998/0.3908, allocations: 8.602 MB / 0.611 GB, free: 9.461 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00148/0.3923, allocations: 175 kB / 0.6112 GB, free: 9.289 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-05/0.3924, allocations: 35.98 kB / 0.6112 GB, free: 9.254 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.3924, allocations: 4 kB / 0.6113 GB, free: 9.25 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.013/0.4054, allocations: 4.101 MB / 0.6153 GB, free: 5.141 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/0.4055, allocations: 7.984 kB / 0.6153 GB, free: 5.133 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006054/0.4116, allocations: 1.777 MB / 0.617 GB, free: 3.352 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009415/0.4125, allocations: 187.7 kB / 0.6172 GB, free: 3.168 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01908/0.4316, allocations: 8.567 MB / 0.6255 GB, free: 10.45 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/0.4331, allocations: 159.1 kB / 0.6257 GB, free: 10.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.731e-05/0.4332, allocations: 39.98 kB / 0.6257 GB, free: 10.26 MB / 442.7 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: 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.0005265/0.4337, allocations: 330.8 kB / 0.626 GB, free: 9.926 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001891/0.4339, allocations: 118.5 kB / 0.6262 GB, free: 9.809 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01256/0.4465, allocations: 3.951 MB / 0.63 GB, free: 5.84 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.27e-05/0.4465, allocations: 7.969 kB / 0.63 GB, free: 5.832 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.4465, allocations: 0 / 0.63 GB, free: 5.832 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003562/0.4469, allocations: 203.5 kB / 0.6302 GB, free: 5.613 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001756/0.4471, allocations: 16 kB / 0.6302 GB, free: 5.598 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/0.4481, allocations: 107.9 kB / 0.6303 GB, free: 5.492 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001116/0.4493, allocations: 480 kB / 0.6308 GB, free: 5.023 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005316/0.4546, allocations: 1.997 MB / 0.6327 GB, free: 3.012 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004219/0.4588, allocations: 2.189 MB / 0.6349 GB, free: 0.8086 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001264/0.4601, allocations: 0.5856 MB / 0.6355 GB, free: 228 kB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009425/0.4611, allocations: 0.6472 MB / 0.6361 GB, free: 15.56 MB / 458.7 MB Notification: Performance of Backend: time 1.453e-06/0.4611, allocations: 0 / 0.6361 GB, free: 15.56 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01044/0.4715, allocations: 3.617 MB / 0.6396 GB, free: 11.91 MB / 458.7 MB Notification: Performance of SimCode: time 0.003362/0.4749, allocations: 2.961 MB / 0.6425 GB, free: 8.895 MB / 458.7 MB Notification: Performance of Templates: time 0.04374/0.5187, allocations: 29.8 MB / 0.6716 GB, free: 11.12 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe 2>&1)