Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.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.Controls.PSAT.AVR.AVRTypeII_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test") translateModel(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08966/0.08966, allocations: 12.6 MB / 28.91 MB, free: 0.5859 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.001422/0.001422, allocations: 107.5 kB / 32.51 MB, free: 3.527 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.527/1.527, allocations: 205.1 MB / 241.1 MB, free: 12.36 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.001666/0.001666, allocations: 191.4 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.4605/0.4605, allocations: 78.52 MB / 420 MB, free: 11.25 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.002615/0.002615, allocations: 139 kB / 0.5565 GB, free: 28.66 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1306, allocations: 68.13 MB / 0.623 GB, free: 15.46 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.007267/0.1379, allocations: 6.679 MB / 0.6296 GB, free: 8.75 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004192/0.1421, allocations: 1.99 MB / 0.6315 GB, free: 6.75 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005227/0.1427, allocations: 8 kB / 0.6315 GB, free: 6.742 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007617/0.1435, allocations: 249.9 kB / 0.6318 GB, free: 6.496 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001889/0.1454, allocations: 0.8286 MB / 0.6326 GB, free: 5.664 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001413/0.1468, allocations: 0.6624 MB / 0.6332 GB, free: 5.008 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001752/0.1486, allocations: 1.643 MB / 0.6348 GB, free: 3.359 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004803/0.149, allocations: 348.7 kB / 0.6352 GB, free: 3.008 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000798/0.1498, allocations: 0.6769 MB / 0.6358 GB, free: 2.328 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008898/0.1507, allocations: 0.805 MB / 0.6366 GB, free: 1.52 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001781/0.1509, allocations: 124 kB / 0.6367 GB, free: 1.398 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005173/0.1515, allocations: 263.9 kB / 0.637 GB, free: 1.141 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002969/0.1518, allocations: 322.6 kB / 0.6373 GB, free: 0.8242 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005784/0.1524, allocations: 0.6758 MB / 0.6379 GB, free: 148 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001766/0.1541, allocations: 1.7 MB / 0.6396 GB, free: 14.43 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1541, allocations: 4 kB / 0.6396 GB, free: 14.43 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.975e-06/0.1542, allocations: 0 / 0.6396 GB, free: 14.43 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.926e-05/0.1542, allocations: 3.938 kB / 0.6396 GB, free: 14.43 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.008754/0.1629, allocations: 2.808 MB / 0.6423 GB, free: 11.55 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.163, allocations: 19.92 kB / 0.6424 GB, free: 11.53 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005082/0.1681, allocations: 0.7835 MB / 0.6431 GB, free: 10.74 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001941/0.17, allocations: 0.9025 MB / 0.644 GB, free: 9.785 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003485/0.1704, allocations: 256.2 kB / 0.6443 GB, free: 9.5 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002092/0.1706, allocations: 87.95 kB / 0.6443 GB, free: 9.414 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002564/0.1732, allocations: 1.172 MB / 0.6455 GB, free: 8.227 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.727e-05/0.1733, allocations: 3.938 kB / 0.6455 GB, free: 8.223 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/0.1734, allocations: 36 kB / 0.6455 GB, free: 8.188 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.156e-05/0.1734, allocations: 16 kB / 0.6455 GB, free: 8.172 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002356/0.1757, allocations: 1.078 MB / 0.6466 GB, free: 7.098 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.006388/0.1821, allocations: 3.673 MB / 0.6502 GB, free: 3.297 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00253/0.1847, allocations: 1.545 MB / 0.6517 GB, free: 1.625 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001581/0.1863, allocations: 0.7853 MB / 0.6525 GB, free: 0.8359 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001258/0.1864, allocations: 17 kB / 0.6525 GB, free: 0.8203 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002058/0.1885, allocations: 0.8957 MB / 0.6533 GB, free: 15.91 MB / 478.1 MB Notification: Performance of pre-optimization done (n=102): time 4.137e-06/0.1885, allocations: 0 / 0.6533 GB, free: 15.91 MB / 478.1 MB Notification: Performance of matching and sorting (n=102): time 0.02649/0.215, allocations: 6.957 MB / 0.6601 GB, free: 8.883 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.767e-05/0.2151, allocations: 119.8 kB / 0.6603 GB, free: 8.742 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002139/0.2173, allocations: 1.031 MB / 0.6613 GB, free: 7.695 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000294/0.2176, allocations: 45.7 kB / 0.6613 GB, free: 7.645 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005029/0.2181, allocations: 0.5131 MB / 0.6618 GB, free: 7.125 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006398/0.2188, allocations: 388.7 kB / 0.6622 GB, free: 6.742 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007722/0.2196, allocations: 243.5 kB / 0.6624 GB, free: 6.5 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.2197, allocations: 353.9 kB / 0.6627 GB, free: 6.148 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001731/0.2215, allocations: 0.7691 MB / 0.6635 GB, free: 5.379 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001889/0.2234, allocations: 0.9154 MB / 0.6644 GB, free: 4.43 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02179/0.2452, allocations: 5.421 MB / 0.6697 GB, free: 14.93 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.033e-05/0.2452, allocations: 0 / 0.6697 GB, free: 14.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01499/0.2602, allocations: 4.515 MB / 0.6741 GB, free: 10.39 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.444e-05/0.2604, allocations: 59.41 kB / 0.6741 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/0.2604, allocations: 8 kB / 0.6742 GB, free: 10.31 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006933/0.2673, allocations: 1.854 MB / 0.676 GB, free: 8.449 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001485/0.2689, allocations: 247.6 kB / 0.6762 GB, free: 8.207 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02476/0.2936, allocations: 9.475 MB / 0.6855 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001965/0.2957, allocations: 195 kB / 0.6856 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002683/0.2959, allocations: 51.98 kB / 0.6857 GB, free: 14.34 MB / 0.4981 GB Warning: Assuming fixed start value for the following 2 variables: order6Type2_Inputs_Outputs.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order6Type2_Inputs_Outputs.delta:VARIABLE(flow=false start = order6Type2_Inputs_Outputs.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (139): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 2 * 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 {(24,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0009569/0.2969, allocations: 291.6 kB / 0.686 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004615/0.2974, allocations: 131.2 kB / 0.6861 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01397/0.3114, allocations: 4.193 MB / 0.6902 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-05/0.3115, allocations: 7.969 kB / 0.6902 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.3115, allocations: 0 / 0.6902 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000538/0.312, allocations: 228 kB / 0.6904 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004265/0.3125, allocations: 19.94 kB / 0.6904 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001406/0.3139, allocations: 119.9 kB / 0.6905 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001379/0.3153, allocations: 492.2 kB / 0.691 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007532/0.3228, allocations: 2.424 MB / 0.6934 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005086/0.3279, allocations: 2.457 MB / 0.6958 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001373/0.3293, allocations: 0.6168 MB / 0.6964 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001218/0.3306, allocations: 0.7032 MB / 0.6971 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of Backend: time 6.21e-07/0.3306, allocations: 0 / 0.6971 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006754/0.3373, allocations: 2.197 MB / 0.6992 GB, free: 332 kB / 0.4981 GB Notification: Performance of SimCode: time 0.004014/0.3414, allocations: 3.052 MB / 0.7022 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of Templates: time 0.3326/0.674, allocations: 24.97 MB / 0.7266 GB, free: 84.13 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1)