Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.conf.json 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/Modelica 4.0.0+maint.om/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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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_release_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_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008827/0.0008831, allocations: 177.3 kB / 16.07 MB, free: 5.605 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 222.9 MB / 239.7 MB, free: 10.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007432/0.0007433, allocations: 90.95 kB / 290.4 MB, free: 11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5091/0.5091, allocations: 78.43 MB / 419.6 MB, free: 9.727 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005851/0.0005852, allocations: 12.22 kB / 499.1 MB, free: 10.65 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3169, allocations: 68.75 MB / 0.5545 GB, free: 20.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.005873/0.3228, allocations: 7.331 MB / 0.5617 GB, free: 12.84 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004016/0.3269, allocations: 2.164 MB / 0.5638 GB, free: 10.68 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001174/0.3281, allocations: 15.94 kB / 0.5638 GB, free: 10.66 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007326/0.3289, allocations: 202.7 kB / 0.564 GB, free: 10.46 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001884/0.3308, allocations: 0.6917 MB / 0.5647 GB, free: 9.766 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.001358/0.3322, allocations: 0.704 MB / 0.5654 GB, free: 9.07 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001241/0.3334, allocations: 1.627 MB / 0.5669 GB, free: 7.438 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004137/0.3338, allocations: 361.1 kB / 0.5673 GB, free: 7.062 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006315/0.3345, allocations: 0.6025 MB / 0.5679 GB, free: 6.457 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005796/0.3351, allocations: 0.7424 MB / 0.5686 GB, free: 5.711 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000133/0.3352, allocations: 64 kB / 0.5687 GB, free: 5.648 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004002/0.3356, allocations: 191.9 kB / 0.5688 GB, free: 5.461 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001718/0.3358, allocations: 274.5 kB / 0.5691 GB, free: 5.191 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003699/0.3362, allocations: 0.6287 MB / 0.5697 GB, free: 4.559 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008568/0.337, allocations: 1.34 MB / 0.571 GB, free: 3.215 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.279e-06/0.337, allocations: 0 / 0.571 GB, free: 3.215 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3371, allocations: 0 / 0.571 GB, free: 3.215 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.72e-05/0.3371, allocations: 0 / 0.571 GB, free: 3.215 MB / 378.7 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.007546/0.3446, allocations: 2.572 MB / 0.5735 GB, free: 0.5781 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.3447, allocations: 8.031 kB / 0.5736 GB, free: 0.5703 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004951/0.3496, allocations: 0.802 MB / 0.5743 GB, free: 15.77 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00173/0.3514, allocations: 0.9254 MB / 0.5752 GB, free: 14.79 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003512/0.3518, allocations: 323.6 kB / 0.5755 GB, free: 14.42 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001816/0.3519, allocations: 92 kB / 0.5756 GB, free: 14.33 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002564/0.3545, allocations: 1.295 MB / 0.5769 GB, free: 13.02 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/0.3546, allocations: 4 kB / 0.5769 GB, free: 13.01 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/0.3547, allocations: 36 kB / 0.5769 GB, free: 12.98 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.798e-05/0.3547, allocations: 20 kB / 0.577 GB, free: 12.96 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002633/0.3573, allocations: 1.202 MB / 0.5781 GB, free: 11.75 MB / 394.7 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.007398/0.3647, allocations: 4.191 MB / 0.5822 GB, free: 7.402 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003212/0.368, allocations: 1.767 MB / 0.5839 GB, free: 5.512 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001699/0.3697, allocations: 0.8562 MB / 0.5848 GB, free: 4.645 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001215/0.3698, allocations: 20.97 kB / 0.5848 GB, free: 4.625 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0019/0.3717, allocations: 0.9544 MB / 0.5857 GB, free: 3.652 MB / 394.7 MB Notification: Performance of pre-optimization done (n=108): time 3.537e-06/0.3718, allocations: 3.938 kB / 0.5857 GB, free: 3.648 MB / 394.7 MB Notification: Performance of matching and sorting (n=108): time 0.03169/0.4034, allocations: 7.897 MB / 0.5935 GB, free: 11.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.988e-05/0.4036, allocations: 119.8 kB / 0.5936 GB, free: 11.54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001618/0.4052, allocations: 1.037 MB / 0.5946 GB, free: 10.49 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002934/0.4055, allocations: 49.7 kB / 0.5946 GB, free: 10.43 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003989/0.4059, allocations: 0.5168 MB / 0.5951 GB, free: 9.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004221/0.4063, allocations: 398.3 kB / 0.5955 GB, free: 9.516 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002119/0.4066, allocations: 121.6 kB / 0.5956 GB, free: 9.391 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.4067, allocations: 357.9 kB / 0.596 GB, free: 9.035 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001644/0.4084, allocations: 0.7886 MB / 0.5967 GB, free: 8.246 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001734/0.4101, allocations: 0.9483 MB / 0.5977 GB, free: 7.262 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02141/0.4315, allocations: 5.481 MB / 0.603 GB, free: 1.699 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.728e-06/0.4316, allocations: 11.94 kB / 0.603 GB, free: 1.688 MB / 410.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01362/0.4452, allocations: 4.455 MB / 0.6074 GB, free: 13.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.581e-05/0.4453, allocations: 63.7 kB / 0.6074 GB, free: 13.13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.4454, allocations: 8 kB / 0.6074 GB, free: 13.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005776/0.4511, allocations: 1.729 MB / 0.6091 GB, free: 11.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001496/0.4527, allocations: 283.6 kB / 0.6094 GB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01888/0.4716, allocations: 8.324 MB / 0.6175 GB, free: 2.645 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001845/0.4734, allocations: 210.8 kB / 0.6177 GB, free: 2.438 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001276/0.4736, allocations: 47.98 kB / 0.6178 GB, free: 2.391 MB / 426.7 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.0006353/0.4742, allocations: 295.8 kB / 0.6181 GB, free: 2.086 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002366/0.4745, allocations: 134.3 kB / 0.6182 GB, free: 1.953 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01441/0.4889, allocations: 4.408 MB / 0.6225 GB, free: 13.52 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.02e-05/0.489, allocations: 12 kB / 0.6225 GB, free: 13.51 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.489, allocations: 0 / 0.6225 GB, free: 13.51 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.639e-05/0.489, allocations: 3.984 kB / 0.6225 GB, free: 13.5 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01657/0.5056, allocations: 6.267 MB / 0.6286 GB, free: 7.102 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.611e-05/0.5056, allocations: 4 kB / 0.6286 GB, free: 7.098 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008143/0.5064, allocations: 127.8 kB / 0.6288 GB, free: 6.973 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006235/0.5127, allocations: 1.907 MB / 0.6306 GB, free: 5.059 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002529/0.513, allocations: 20 kB / 0.6306 GB, free: 5.039 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02145/0.5344, allocations: 9.754 MB / 0.6402 GB, free: 10.99 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.5345, allocations: 0 / 0.6402 GB, free: 10.99 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01659/0.5511, allocations: 5.427 MB / 0.6455 GB, free: 5.531 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004883/0.5516, allocations: 219.2 kB / 0.6457 GB, free: 5.297 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002082/0.5518, allocations: 23.94 kB / 0.6457 GB, free: 5.273 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001276/0.5531, allocations: 140.1 kB / 0.6458 GB, free: 5.137 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007158/0.5538, allocations: 236.6 kB / 0.6461 GB, free: 4.906 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.392e-05/0.5539, allocations: 31.94 kB / 0.6461 GB, free: 4.875 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001036/0.555, allocations: 0.7006 MB / 0.6468 GB, free: 4.168 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.555, allocations: 0 / 0.6468 GB, free: 4.168 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001405/0.5564, allocations: 487.4 kB / 0.6472 GB, free: 3.691 MB / 458.7 MB 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.0002807/0.5567, allocations: 144.1 kB / 0.6474 GB, free: 3.543 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006873/0.5636, allocations: 2.692 MB / 0.65 GB, free: 0.8203 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.5636, allocations: 0 / 0.65 GB, free: 0.8203 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005004/0.5686, allocations: 1.821 MB / 0.6518 GB, free: 14.95 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/0.5698, allocations: 118.6 kB / 0.6519 GB, free: 14.84 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004759/0.5746, allocations: 3.007 MB / 0.6548 GB, free: 11.79 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006451/0.5752, allocations: 1.152 MB / 0.656 GB, free: 10.61 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003798/0.5756, allocations: 83.41 kB / 0.656 GB, free: 10.52 MB / 474.7 MB Notification: Performance of SimCode: time 4.71e-07/0.5756, allocations: 0 / 0.656 GB, free: 10.52 MB / 474.7 MB Notification: Performance of Templates: time 0.03032/0.606, allocations: 25.15 MB / 0.6806 GB, free: 1.359 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.sim & ./OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1)