Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_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_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.001387/0.001387, allocations: 106.6 kB / 16.41 MB, free: 6.453 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.394/1.394, allocations: 222.9 MB / 240.1 MB, free: 4.383 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.001606/0.001606, allocations: 184.5 kB / 290.4 MB, free: 2.109 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5229/0.5229, allocations: 78.52 MB / 419.1 MB, free: 3.156 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 80.09 kB / 0.5543 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3569/0.3585, allocations: 68.17 MB / 0.6209 GB, free: 9.719 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.005718/0.3643, allocations: 6.993 MB / 0.6277 GB, free: 3.207 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003789/0.3681, allocations: 2.109 MB / 0.6298 GB, free: 1.094 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007553/0.3689, allocations: 19.94 kB / 0.6298 GB, free: 1.074 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006985/0.3696, allocations: 261.8 kB / 0.63 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001631/0.3712, allocations: 0.7722 MB / 0.6308 GB, free: 44 kB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.001583/0.3728, allocations: 0.746 MB / 0.6315 GB, free: 15.3 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001787/0.3746, allocations: 1.733 MB / 0.6332 GB, free: 13.57 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000547/0.3752, allocations: 415.3 kB / 0.6336 GB, free: 13.14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008729/0.3761, allocations: 0.708 MB / 0.6343 GB, free: 12.43 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000897/0.377, allocations: 0.8361 MB / 0.6351 GB, free: 11.59 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002037/0.3772, allocations: 132 kB / 0.6352 GB, free: 11.46 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005244/0.3777, allocations: 267.9 kB / 0.6355 GB, free: 11.2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002898/0.378, allocations: 346.6 kB / 0.6358 GB, free: 10.86 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005804/0.3786, allocations: 0.7185 MB / 0.6365 GB, free: 10.13 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001872/0.3805, allocations: 1.816 MB / 0.6383 GB, free: 8.309 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3805, allocations: 0 / 0.6383 GB, free: 8.309 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3805, allocations: 0 / 0.6383 GB, free: 8.309 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.084e-05/0.3805, allocations: 4 kB / 0.6383 GB, free: 8.305 MB / 446.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.009094/0.3896, allocations: 2.84 MB / 0.6411 GB, free: 5.398 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.3897, allocations: 16.03 kB / 0.6411 GB, free: 5.383 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00509/0.3948, allocations: 0.7981 MB / 0.6419 GB, free: 4.582 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001596/0.3964, allocations: 0.9294 MB / 0.6428 GB, free: 3.598 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003831/0.3968, allocations: 327.6 kB / 0.6431 GB, free: 3.227 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001848/0.397, allocations: 95.98 kB / 0.6432 GB, free: 3.133 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002688/0.3997, allocations: 1.291 MB / 0.6444 GB, free: 1.824 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.3997, allocations: 11.92 kB / 0.6444 GB, free: 1.812 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000112/0.3999, allocations: 32 kB / 0.6445 GB, free: 1.781 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.767e-05/0.3999, allocations: 20 kB / 0.6445 GB, free: 1.762 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002688/0.4026, allocations: 1.202 MB / 0.6457 GB, free: 0.5586 MB / 446.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.007187/0.4098, allocations: 4.144 MB / 0.6497 GB, free: 12.25 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003387/0.4132, allocations: 1.763 MB / 0.6514 GB, free: 10.37 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001765/0.415, allocations: 0.8678 MB / 0.6523 GB, free: 9.492 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.99e-05/0.4151, allocations: 20.97 kB / 0.6523 GB, free: 9.473 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002069/0.4172, allocations: 0.9622 MB / 0.6532 GB, free: 8.488 MB / 462.1 MB Notification: Performance of pre-optimization done (n=108): time 3.626e-06/0.4172, allocations: 0 / 0.6532 GB, free: 8.488 MB / 462.1 MB Notification: Performance of matching and sorting (n=108): time 0.03402/0.4512, allocations: 7.897 MB / 0.661 GB, free: 0.5234 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.768e-05/0.4513, allocations: 115.8 kB / 0.6611 GB, free: 396 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001837/0.4532, allocations: 1.045 MB / 0.6621 GB, free: 15.33 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002892/0.4535, allocations: 45.7 kB / 0.6621 GB, free: 15.28 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004357/0.4539, allocations: 0.5246 MB / 0.6626 GB, free: 14.75 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005686/0.4545, allocations: 386.4 kB / 0.663 GB, free: 14.36 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006028/0.4551, allocations: 243.5 kB / 0.6632 GB, free: 14.12 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.4553, allocations: 357.9 kB / 0.6636 GB, free: 13.77 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001797/0.4571, allocations: 0.7925 MB / 0.6644 GB, free: 12.97 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001909/0.459, allocations: 0.9406 MB / 0.6653 GB, free: 12 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02268/0.4817, allocations: 5.481 MB / 0.6706 GB, free: 6.426 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.038e-05/0.4817, allocations: 3.938 kB / 0.6706 GB, free: 6.422 MB / 478.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01506/0.4968, allocations: 4.459 MB / 0.675 GB, free: 1.934 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.915e-05/0.4969, allocations: 63.41 kB / 0.675 GB, free: 1.859 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.497, allocations: 0 / 0.675 GB, free: 1.859 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006296/0.5033, allocations: 1.741 MB / 0.6767 GB, free: 116 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001575/0.5049, allocations: 275.7 kB / 0.677 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02221/0.5271, allocations: 9.051 MB / 0.6858 GB, free: 6.645 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001969/0.5291, allocations: 206.8 kB / 0.686 GB, free: 6.441 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002958/0.5294, allocations: 47.98 kB / 0.6861 GB, free: 6.395 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.0008683/0.5303, allocations: 295.8 kB / 0.6864 GB, free: 6.09 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003984/0.5307, allocations: 130.4 kB / 0.6865 GB, free: 5.961 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01593/0.5467, allocations: 4.408 MB / 0.6908 GB, free: 1.52 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.409e-05/0.5467, allocations: 11.94 kB / 0.6908 GB, free: 1.508 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.177e-05/0.5468, allocations: 8 kB / 0.6908 GB, free: 1.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.213e-05/0.5468, allocations: 7.922 kB / 0.6908 GB, free: 1.492 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01915/0.566, allocations: 6.255 MB / 0.6969 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.88e-05/0.566, allocations: 0 / 0.6969 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008775/0.5669, allocations: 131.8 kB / 0.6971 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00693/0.5739, allocations: 1.903 MB / 0.6989 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002794/0.5742, allocations: 23.98 kB / 0.6989 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02544/0.5996, allocations: 10.7 MB / 0.7094 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.5997, allocations: 4 kB / 0.7094 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01835/0.618, allocations: 5.429 MB / 0.7147 GB, free: 8.578 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000588/0.6187, allocations: 223.3 kB / 0.7149 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005639/0.6192, allocations: 19.94 kB / 0.7149 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001717/0.621, allocations: 139.8 kB / 0.7151 GB, free: 8.184 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009353/0.6219, allocations: 236.6 kB / 0.7153 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001776/0.6221, allocations: 31.98 kB / 0.7153 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001345/0.6235, allocations: 0.7084 MB / 0.716 GB, free: 7.207 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.31e-07/0.6235, allocations: 0 / 0.716 GB, free: 7.207 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00202/0.6255, allocations: 483.4 kB / 0.7165 GB, free: 6.734 MB / 0.5137 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.0003975/0.6259, allocations: 140.5 kB / 0.7166 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007708/0.6336, allocations: 2.741 MB / 0.7193 GB, free: 3.805 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.6337, allocations: 0 / 0.7193 GB, free: 3.805 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005542/0.6392, allocations: 1.872 MB / 0.7211 GB, free: 1.895 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001449/0.6407, allocations: 126.5 kB / 0.7212 GB, free: 1.773 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005893/0.6466, allocations: 2.521 MB / 0.7237 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000936/0.6476, allocations: 1.159 MB / 0.7248 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004888/0.6481, allocations: 79.42 kB / 0.7249 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of SimCode: time 7.02e-07/0.6481, allocations: 3.938 kB / 0.7249 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of Templates: time 0.03944/0.6875, allocations: 25.43 MB / 0.7497 GB, free: 4.496 MB / 0.545 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1)