Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_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.OEL.AVRTypeII_OEL_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_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_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07897/0.07897, allocations: 12.6 MB / 28.91 MB, free: 0.6289 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.001099/0.001099, allocations: 107.5 kB / 32.51 MB, free: 3.57 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.324/1.324, allocations: 205.1 MB / 241.1 MB, free: 12.38 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.001409/0.001409, allocations: 184.5 kB / 291.4 MB, free: 10.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4406/0.4406, allocations: 78.51 MB / 420 MB, free: 10.74 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.002728/0.002728, allocations: 134.7 kB / 0.5565 GB, free: 17.27 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1044, allocations: 68.12 MB / 0.6231 GB, free: 13.11 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.007523/0.112, allocations: 7.034 MB / 0.6299 GB, free: 6.039 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004288/0.1163, allocations: 2.079 MB / 0.632 GB, free: 3.953 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009597/0.1173, allocations: 15.94 kB / 0.632 GB, free: 3.938 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009253/0.1182, allocations: 257.8 kB / 0.6322 GB, free: 3.684 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002348/0.1206, allocations: 0.8389 MB / 0.633 GB, free: 2.84 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation generator.xq <> generator.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001708/0.1223, allocations: 0.7483 MB / 0.6338 GB, free: 2.102 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002291/0.1246, allocations: 1.733 MB / 0.6355 GB, free: 372 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000633/0.1253, allocations: 399.6 kB / 0.6359 GB, free: 15.95 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008781/0.1262, allocations: 0.7157 MB / 0.6366 GB, free: 15.23 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000799/0.127, allocations: 0.8362 MB / 0.6374 GB, free: 14.39 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001687/0.1272, allocations: 132 kB / 0.6375 GB, free: 14.26 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004402/0.1276, allocations: 271.8 kB / 0.6378 GB, free: 13.99 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002712/0.1279, allocations: 342.6 kB / 0.6381 GB, free: 13.66 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005647/0.1285, allocations: 0.7184 MB / 0.6388 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001648/0.1301, allocations: 1.818 MB / 0.6406 GB, free: 11.11 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1301, allocations: 0 / 0.6406 GB, free: 11.11 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1301, allocations: 3.938 kB / 0.6406 GB, free: 11.11 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.654e-05/0.1302, allocations: 0 / 0.6406 GB, free: 11.11 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.008847/0.139, allocations: 2.84 MB / 0.6433 GB, free: 8.199 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.1391, allocations: 11.98 kB / 0.6433 GB, free: 8.188 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00514/0.1442, allocations: 0.8021 MB / 0.6441 GB, free: 7.383 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00148/0.1457, allocations: 0.9256 MB / 0.645 GB, free: 6.402 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000346/0.1461, allocations: 323.6 kB / 0.6453 GB, free: 6.035 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001797/0.1463, allocations: 95.84 kB / 0.6454 GB, free: 5.941 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002642/0.1489, allocations: 1.299 MB / 0.6467 GB, free: 4.625 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.1489, allocations: 0 / 0.6467 GB, free: 4.625 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001241/0.1491, allocations: 36 kB / 0.6467 GB, free: 4.59 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.619e-05/0.1491, allocations: 20 kB / 0.6468 GB, free: 4.57 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002709/0.1518, allocations: 1.202 MB / 0.6479 GB, free: 3.367 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.00666/0.1585, allocations: 4.16 MB / 0.652 GB, free: 15.04 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003454/0.1619, allocations: 1.777 MB / 0.6537 GB, free: 13.14 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001821/0.1638, allocations: 0.8562 MB / 0.6546 GB, free: 12.27 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.48e-05/0.1639, allocations: 16.98 kB / 0.6546 GB, free: 12.26 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002065/0.166, allocations: 0.9698 MB / 0.6555 GB, free: 11.27 MB / 478.1 MB Notification: Performance of pre-optimization done (n=108): time 4.068e-06/0.166, allocations: 0 / 0.6555 GB, free: 11.27 MB / 478.1 MB Notification: Performance of matching and sorting (n=108): time 0.03503/0.201, allocations: 7.885 MB / 0.6632 GB, free: 3.316 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.351e-05/0.2011, allocations: 115.8 kB / 0.6633 GB, free: 3.18 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001655/0.2028, allocations: 1.041 MB / 0.6644 GB, free: 2.125 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001811/0.203, allocations: 49.7 kB / 0.6644 GB, free: 2.07 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003765/0.2034, allocations: 0.5246 MB / 0.6649 GB, free: 1.539 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004182/0.2038, allocations: 386.5 kB / 0.6653 GB, free: 1.156 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005033/0.2043, allocations: 247.3 kB / 0.6655 GB, free: 0.9062 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.2044, allocations: 357.9 kB / 0.6659 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001866/0.2063, allocations: 0.7886 MB / 0.6666 GB, free: 15.76 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001969/0.2083, allocations: 0.9483 MB / 0.6676 GB, free: 14.78 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02319/0.2315, allocations: 5.489 MB / 0.6729 GB, free: 9.195 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.2315, allocations: 0 / 0.6729 GB, free: 9.195 MB / 494.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01514/0.2467, allocations: 4.459 MB / 0.6773 GB, free: 4.707 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.426e-05/0.2468, allocations: 59.39 kB / 0.6773 GB, free: 4.637 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.2468, allocations: 4 kB / 0.6773 GB, free: 4.633 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006632/0.2534, allocations: 1.742 MB / 0.679 GB, free: 2.887 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001578/0.255, allocations: 283.6 kB / 0.6793 GB, free: 2.609 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2697/0.5247, allocations: 9.012 MB / 0.6881 GB, free: 50.61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001926/0.5267, allocations: 210.7 kB / 0.6883 GB, free: 50.59 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002044/0.5269, allocations: 48.86 kB / 0.6883 GB, free: 50.58 MB / 494.1 MB 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.0006213/0.5275, allocations: 302.7 kB / 0.6886 GB, free: 50.35 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000283/0.5278, allocations: 140 kB / 0.6888 GB, free: 50.35 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01695/0.5448, allocations: 4.395 MB / 0.6931 GB, free: 49.38 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.481e-05/0.5448, allocations: 10.36 kB / 0.6931 GB, free: 49.38 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.5448, allocations: 1.172 kB / 0.6931 GB, free: 49.38 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003618/0.5452, allocations: 220.2 kB / 0.6933 GB, free: 49.23 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002701/0.5455, allocations: 22.27 kB / 0.6933 GB, free: 49.21 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001414/0.5469, allocations: 141.9 kB / 0.6934 GB, free: 49.2 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001428/0.5483, allocations: 0.5121 MB / 0.6939 GB, free: 49.08 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008155/0.5565, allocations: 2.63 MB / 0.6965 GB, free: 48.15 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005416/0.5619, allocations: 2.643 MB / 0.6991 GB, free: 47.01 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001641/0.5636, allocations: 0.6883 MB / 0.6998 GB, free: 46.79 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00105/0.5647, allocations: 0.702 MB / 0.7004 GB, free: 46.5 MB / 494.1 MB Notification: Performance of Backend: time 5.71e-07/0.5647, allocations: 0 / 0.7004 GB, free: 46.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006834/0.5715, allocations: 2.184 MB / 0.7026 GB, free: 45.6 MB / 494.1 MB Notification: Performance of SimCode: time 0.003564/0.5751, allocations: 3.049 MB / 0.7056 GB, free: 43.71 MB / 494.1 MB Notification: Performance of Templates: time 0.03201/0.6071, allocations: 25.28 MB / 0.7302 GB, free: 25.45 MB / 494.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1)