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.08595/0.08595, 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.001456/0.001456, allocations: 111.5 kB / 32.51 MB, free: 3.555 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.353/1.353, 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.001395/0.001395, allocations: 196.4 kB / 291.4 MB, free: 10.94 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4224/0.4224, allocations: 78.51 MB / 420 MB, free: 10.78 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.002594/0.002594, allocations: 139.8 kB / 0.5565 GB, free: 17.32 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1183, allocations: 68.12 MB / 0.623 GB, free: 13.18 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.007655/0.126, allocations: 6.676 MB / 0.6296 GB, free: 6.465 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00446/0.1305, allocations: 1.99 MB / 0.6315 GB, free: 4.465 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001139/0.1317, allocations: 12 kB / 0.6315 GB, free: 4.453 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001043/0.1328, allocations: 249.9 kB / 0.6318 GB, free: 4.207 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002744/0.1355, allocations: 0.8282 MB / 0.6326 GB, free: 3.379 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001662/0.1372, allocations: 0.6625 MB / 0.6332 GB, free: 2.723 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002117/0.1393, allocations: 1.643 MB / 0.6348 GB, free: 1.074 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006137/0.14, allocations: 344.7 kB / 0.6351 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001115/0.1411, allocations: 0.6808 MB / 0.6358 GB, free: 44 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00124/0.1423, allocations: 0.813 MB / 0.6366 GB, free: 15.22 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003529/0.1427, allocations: 124 kB / 0.6367 GB, free: 15.1 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006405/0.1434, allocations: 259.7 kB / 0.637 GB, free: 14.85 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003547/0.1437, allocations: 326.6 kB / 0.6373 GB, free: 14.53 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006423/0.1444, allocations: 0.668 MB / 0.6379 GB, free: 13.86 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001748/0.1461, allocations: 1.697 MB / 0.6396 GB, free: 12.16 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1461, allocations: 0 / 0.6396 GB, free: 12.16 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1462, allocations: 0 / 0.6396 GB, free: 12.16 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.497e-05/0.1462, allocations: 8 kB / 0.6396 GB, free: 12.15 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.009516/0.1557, allocations: 2.766 MB / 0.6423 GB, free: 9.312 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.1558, allocations: 11.98 kB / 0.6423 GB, free: 9.301 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005361/0.1611, allocations: 0.7788 MB / 0.6431 GB, free: 8.52 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001874/0.163, allocations: 0.8937 MB / 0.6439 GB, free: 7.57 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000296/0.1633, allocations: 252.2 kB / 0.6442 GB, free: 7.289 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002739/0.1636, allocations: 91.91 kB / 0.6443 GB, free: 7.199 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002655/0.1663, allocations: 1.176 MB / 0.6454 GB, free: 6.008 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.1663, allocations: 0 / 0.6454 GB, free: 6.008 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001183/0.1664, allocations: 36 kB / 0.6455 GB, free: 5.973 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.639e-05/0.1665, allocations: 20 kB / 0.6455 GB, free: 5.953 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002456/0.1689, allocations: 1.07 MB / 0.6465 GB, free: 4.887 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.006779/0.1757, allocations: 3.66 MB / 0.6501 GB, free: 1.094 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002638/0.1784, allocations: 1.553 MB / 0.6516 GB, free: 15.41 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001649/0.18, allocations: 0.7891 MB / 0.6524 GB, free: 14.62 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.557e-05/0.1802, allocations: 9 kB / 0.6524 GB, free: 14.61 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001914/0.1821, allocations: 0.8996 MB / 0.6533 GB, free: 13.69 MB / 478.1 MB Notification: Performance of pre-optimization done (n=102): time 3.497e-06/0.1821, allocations: 0 / 0.6533 GB, free: 13.69 MB / 478.1 MB Notification: Performance of matching and sorting (n=102): time 0.02896/0.2111, allocations: 6.96 MB / 0.6601 GB, free: 6.668 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.369e-05/0.2112, allocations: 111.8 kB / 0.6602 GB, free: 6.535 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00194/0.2131, allocations: 1.031 MB / 0.6612 GB, free: 5.488 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002541/0.2134, allocations: 45.7 kB / 0.6612 GB, free: 5.438 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004414/0.2139, allocations: 0.5047 MB / 0.6617 GB, free: 4.926 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005127/0.2144, allocations: 366.7 kB / 0.6621 GB, free: 4.562 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005629/0.2149, allocations: 251.4 kB / 0.6623 GB, free: 4.312 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.2151, allocations: 357.9 kB / 0.6626 GB, free: 3.957 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00183/0.217, allocations: 0.7574 MB / 0.6634 GB, free: 3.199 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001891/0.2189, allocations: 0.9154 MB / 0.6643 GB, free: 2.25 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02263/0.2415, allocations: 5.417 MB / 0.6696 GB, free: 12.75 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/0.2416, allocations: 8 kB / 0.6696 GB, free: 12.74 MB / 494.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01565/0.2572, allocations: 4.506 MB / 0.674 GB, free: 8.207 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.878e-05/0.2573, allocations: 63.41 kB / 0.674 GB, free: 8.133 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/0.2573, allocations: 4 kB / 0.674 GB, free: 8.129 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007497/0.2649, allocations: 1.854 MB / 0.6758 GB, free: 6.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001369/0.2663, allocations: 243.6 kB / 0.6761 GB, free: 6.031 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2841/0.5503, allocations: 9.457 MB / 0.6853 GB, free: 42.51 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001919/0.5523, allocations: 190.6 kB / 0.6855 GB, free: 42.51 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001372/0.5525, allocations: 50.48 kB / 0.6855 GB, free: 42.51 MB / 494.1 MB 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.0005456/0.553, allocations: 295.5 kB / 0.6858 GB, free: 42.36 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002272/0.5532, allocations: 127.5 kB / 0.686 GB, free: 42.36 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01548/0.5687, allocations: 4.192 MB / 0.69 GB, free: 42.23 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.464e-05/0.5688, allocations: 5.156 kB / 0.69 GB, free: 42.23 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.5688, allocations: 0.8438 kB / 0.69 GB, free: 42.23 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004546/0.5693, allocations: 224.4 kB / 0.6903 GB, free: 42.12 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002945/0.5696, allocations: 21.8 kB / 0.6903 GB, free: 42.12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00127/0.5709, allocations: 119 kB / 0.6904 GB, free: 42.11 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001342/0.5722, allocations: 498.8 kB / 0.6909 GB, free: 42.11 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007791/0.58, allocations: 2.419 MB / 0.6932 GB, free: 41.77 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005091/0.5851, allocations: 2.442 MB / 0.6956 GB, free: 41.01 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001525/0.5867, allocations: 0.6255 MB / 0.6962 GB, free: 40.79 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001186/0.5879, allocations: 0.7016 MB / 0.6969 GB, free: 40.5 MB / 494.1 MB Notification: Performance of Backend: time 1.042e-06/0.5879, allocations: 2.281 kB / 0.6969 GB, free: 40.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007032/0.595, allocations: 2.189 MB / 0.6991 GB, free: 39.61 MB / 494.1 MB Notification: Performance of SimCode: time 0.003753/0.5987, allocations: 3.013 MB / 0.702 GB, free: 37.78 MB / 494.1 MB Notification: Performance of Templates: time 0.03257/0.6313, allocations: 24.96 MB / 0.7264 GB, free: 23.63 MB / 494.1 MB 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)