Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.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.Controls.PSAT.OEL.AVRTypeII_OEL_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test") translateModel(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005199/0.005199, allocations: 101.8 kB / 15.73 MB, free: 6.066 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.334/1.334, allocations: 222.9 MB / 239.4 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.001332/0.001332, allocations: 191.7 kB / 289.7 MB, free: 2.273 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4964/0.4964, allocations: 91.9 MB / 431.7 MB, free: 9.16 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 88.06 kB / 0.5727 GB, free: 33.61 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1379, allocations: 71.28 MB / 0.6423 GB, free: 3.598 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.008187/0.1462, allocations: 7.004 MB / 0.6492 GB, free: 12.55 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004706/0.1509, allocations: 2.121 MB / 0.6513 GB, free: 10.43 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001029/0.152, allocations: 15.94 kB / 0.6513 GB, free: 10.41 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008309/0.1528, allocations: 253.8 kB / 0.6515 GB, free: 10.16 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002264/0.1551, allocations: 0.835 MB / 0.6523 GB, free: 9.324 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001691/0.1568, allocations: 0.7505 MB / 0.6531 GB, free: 8.582 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002039/0.1589, allocations: 1.74 MB / 0.6548 GB, free: 6.836 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005647/0.1595, allocations: 395.6 kB / 0.6551 GB, free: 6.426 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008733/0.1603, allocations: 0.708 MB / 0.6558 GB, free: 5.715 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008684/0.1612, allocations: 0.84 MB / 0.6566 GB, free: 4.871 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001692/0.1614, allocations: 132 kB / 0.6568 GB, free: 4.742 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004881/0.1619, allocations: 267.8 kB / 0.657 GB, free: 4.48 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003009/0.1622, allocations: 342.6 kB / 0.6574 GB, free: 4.145 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006166/0.1628, allocations: 0.7224 MB / 0.6581 GB, free: 3.418 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001776/0.1646, allocations: 1.814 MB / 0.6598 GB, free: 1.598 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.1646, allocations: 4 kB / 0.6598 GB, free: 1.594 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1646, allocations: 0 / 0.6598 GB, free: 1.594 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.411e-05/0.1647, allocations: 0 / 0.6598 GB, free: 1.594 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.009418/0.1741, allocations: 2.84 MB / 0.6626 GB, free: 14.68 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.471e-05/0.1742, allocations: 8.031 kB / 0.6626 GB, free: 14.68 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005212/0.1794, allocations: 0.7942 MB / 0.6634 GB, free: 13.88 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001738/0.1811, allocations: 0.9256 MB / 0.6643 GB, free: 12.9 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003745/0.1815, allocations: 331.5 kB / 0.6646 GB, free: 12.53 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001844/0.1817, allocations: 92 kB / 0.6647 GB, free: 12.44 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002774/0.1845, allocations: 1.295 MB / 0.666 GB, free: 11.12 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.1845, allocations: 0 / 0.666 GB, free: 11.12 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001208/0.1847, allocations: 36 kB / 0.666 GB, free: 11.09 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.742e-05/0.1847, allocations: 20 kB / 0.666 GB, free: 11.07 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002765/0.1875, allocations: 1.198 MB / 0.6672 GB, free: 9.867 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.007514/0.195, allocations: 4.211 MB / 0.6713 GB, free: 5.488 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003475/0.1985, allocations: 1.753 MB / 0.673 GB, free: 3.609 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001835/0.2003, allocations: 0.8601 MB / 0.6739 GB, free: 2.742 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001026/0.2005, allocations: 20.98 kB / 0.6739 GB, free: 2.723 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002104/0.2026, allocations: 0.9544 MB / 0.6748 GB, free: 1.75 MB / 478.1 MB Notification: Performance of pre-optimization done (n=108): time 3.145e-06/0.2026, allocations: 4 kB / 0.6748 GB, free: 1.746 MB / 478.1 MB Notification: Performance of matching and sorting (n=108): time 0.03394/0.2365, allocations: 7.76 MB / 0.6824 GB, free: 9.918 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.193e-05/0.2367, allocations: 111.8 kB / 0.6825 GB, free: 9.785 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001953/0.2387, allocations: 1.041 MB / 0.6835 GB, free: 8.73 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003828/0.239, allocations: 41.7 kB / 0.6836 GB, free: 8.684 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004484/0.2395, allocations: 0.5323 MB / 0.6841 GB, free: 8.145 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005331/0.24, allocations: 390.4 kB / 0.6844 GB, free: 7.758 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004967/0.2406, allocations: 243.5 kB / 0.6847 GB, free: 7.516 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.2407, allocations: 353.9 kB / 0.685 GB, free: 7.164 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001853/0.2426, allocations: 0.7964 MB / 0.6858 GB, free: 6.367 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001896/0.2445, allocations: 0.9406 MB / 0.6867 GB, free: 5.391 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02273/0.2672, allocations: 5.477 MB / 0.6921 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/0.2673, allocations: 3.938 kB / 0.6921 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01493/0.2822, allocations: 4.455 MB / 0.6964 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.528e-05/0.2824, allocations: 60.5 kB / 0.6965 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.2824, allocations: 0 / 0.6965 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006372/0.2887, allocations: 1.745 MB / 0.6982 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001656/0.2904, allocations: 279.6 kB / 0.6984 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02238/0.3128, allocations: 9.033 MB / 0.7073 GB, free: 52 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001968/0.3148, allocations: 206.8 kB / 0.7075 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002449/0.3151, allocations: 51.97 kB / 0.7075 GB, free: 15.8 MB / 0.5137 GB Warning: Assuming fixed start value for the following 3 variables: generator.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real generator.delta:VARIABLE(flow=false start = generator.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real generator.e1q:VARIABLE(start = generator.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,oXL.limIntegrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 138 * 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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0007994/0.3159, allocations: 299.7 kB / 0.7078 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003353/0.3163, allocations: 134.3 kB / 0.7079 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01572/0.332, allocations: 4.401 MB / 0.7122 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.951e-05/0.332, allocations: 8 kB / 0.7122 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3321, allocations: 4 kB / 0.7122 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.752e-05/0.3321, allocations: 11.97 kB / 0.7122 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0191/0.3512, allocations: 6.267 MB / 0.7184 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.808e-05/0.3513, allocations: 0 / 0.7184 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009412/0.3522, allocations: 131.8 kB / 0.7185 GB, free: 4.375 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007117/0.3594, allocations: 1.903 MB / 0.7203 GB, free: 2.465 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002642/0.3597, allocations: 23.92 kB / 0.7204 GB, free: 2.441 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02549/0.3852, allocations: 10.71 MB / 0.7308 GB, free: 7.438 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.3852, allocations: 0 / 0.7308 GB, free: 7.438 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01825/0.4035, allocations: 5.437 MB / 0.7361 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004588/0.404, allocations: 219.2 kB / 0.7363 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003827/0.4044, allocations: 23.98 kB / 0.7364 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00155/0.4059, allocations: 135.8 kB / 0.7365 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008139/0.4068, allocations: 240.6 kB / 0.7367 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001351/0.4069, allocations: 32.06 kB / 0.7368 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00118/0.4081, allocations: 0.7045 MB / 0.7374 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.6e-07/0.4081, allocations: 0 / 0.7374 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001583/0.4097, allocations: 491.4 kB / 0.7379 GB, free: 120 kB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (generator.delta,generator.w,generator.e1q,generator.e1d,exciter_Type_II.ExcitationSystem.x_scaled[1],exciter_Type_II.derivativeBlock.x,exciter_Type_II.firstOrder2.y,exciter_Type_II.simpleLagLim.state,oXL.limIntegrator.y) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(26,13), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003405/0.4101, allocations: 144.6 kB / 0.7381 GB, free: 15.97 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007734/0.4178, allocations: 2.726 MB / 0.7407 GB, free: 13.21 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.4178, allocations: 0 / 0.7407 GB, free: 13.21 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005729/0.4236, allocations: 1.888 MB / 0.7426 GB, free: 11.28 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00126/0.4249, allocations: 126.9 kB / 0.7427 GB, free: 11.16 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005211/0.4301, allocations: 2.466 MB / 0.7451 GB, free: 8.664 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007833/0.4309, allocations: 1.159 MB / 0.7462 GB, free: 7.477 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005291/0.4315, allocations: 120.2 kB / 0.7463 GB, free: 7.355 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003163/0.4318, allocations: 79.41 kB / 0.7464 GB, free: 7.277 MB / 0.545 GB Notification: Performance of SimCode: time 5.01e-07/0.4318, allocations: 4 kB / 0.7464 GB, free: 7.273 MB / 0.545 GB Notification: Performance of Templates: time 0.3401/0.7719, allocations: 27.59 MB / 0.7734 GB, free: 116.8 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1)