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.07879/0.07879, allocations: 12.6 MB / 28.9 MB, free: 0.6406 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.001267/0.001267, allocations: 115.4 kB / 32.5 MB, free: 3.582 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.38/1.38, 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.001525/0.001525, allocations: 192.5 kB / 291.4 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4378/0.4378, allocations: 78.52 MB / 420 MB, free: 11.27 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.004035/0.004035, allocations: 147.4 kB / 0.5565 GB, free: 28.74 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1066, allocations: 68.13 MB / 0.6231 GB, free: 15.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.008632/0.1152, allocations: 7.056 MB / 0.63 GB, free: 8.441 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004247/0.1195, allocations: 2.086 MB / 0.632 GB, free: 6.348 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000504/0.12, allocations: 15.94 kB / 0.632 GB, free: 6.332 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007032/0.1207, allocations: 253.8 kB / 0.6323 GB, free: 6.082 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001881/0.1226, allocations: 0.8433 MB / 0.6331 GB, free: 5.238 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.001612/0.1242, allocations: 0.7444 MB / 0.6338 GB, free: 4.5 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001962/0.1261, allocations: 1.733 MB / 0.6355 GB, free: 2.762 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004803/0.1266, allocations: 283.6 kB / 0.6358 GB, free: 2.457 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008837/0.1275, allocations: 0.708 MB / 0.6365 GB, free: 1.746 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009927/0.1285, allocations: 0.8361 MB / 0.6373 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001972/0.1287, allocations: 132 kB / 0.6374 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004835/0.1292, allocations: 267.9 kB / 0.6377 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003611/0.1295, allocations: 350.5 kB / 0.638 GB, free: 176 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006964/0.1302, allocations: 0.7186 MB / 0.6387 GB, free: 15.45 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002093/0.1323, allocations: 1.832 MB / 0.6405 GB, free: 13.61 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1323, allocations: 0 / 0.6405 GB, free: 13.61 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1323, allocations: 3.938 kB / 0.6405 GB, free: 13.61 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.806e-05/0.1324, allocations: 0 / 0.6405 GB, free: 13.61 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.009637/0.142, allocations: 2.893 MB / 0.6433 GB, free: 10.64 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.142, allocations: 11.98 kB / 0.6433 GB, free: 10.63 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005474/0.1475, allocations: 0.8068 MB / 0.6441 GB, free: 9.824 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001685/0.1492, allocations: 0.9266 MB / 0.645 GB, free: 8.844 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004383/0.1496, allocations: 335.5 kB / 0.6453 GB, free: 8.465 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002134/0.1498, allocations: 99.94 kB / 0.6454 GB, free: 8.367 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002935/0.1528, allocations: 1.291 MB / 0.6467 GB, free: 7.059 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.1528, allocations: 4 kB / 0.6467 GB, free: 7.055 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001191/0.1529, allocations: 32 kB / 0.6467 GB, free: 7.023 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.196e-05/0.1529, allocations: 20 kB / 0.6467 GB, free: 7.004 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003029/0.156, allocations: 1.206 MB / 0.6479 GB, free: 5.797 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.007635/0.1636, allocations: 4.165 MB / 0.652 GB, free: 1.469 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003818/0.1674, allocations: 1.679 MB / 0.6536 GB, free: 15.66 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001962/0.1694, allocations: 0.7781 MB / 0.6544 GB, free: 14.88 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001088/0.1695, allocations: 20.97 kB / 0.6544 GB, free: 14.86 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002243/0.1717, allocations: 0.9698 MB / 0.6554 GB, free: 13.87 MB / 478.1 MB Notification: Performance of pre-optimization done (n=108): time 2.735e-06/0.1717, allocations: 0 / 0.6554 GB, free: 13.87 MB / 478.1 MB Notification: Performance of matching and sorting (n=108): time 0.03604/0.2078, allocations: 7.851 MB / 0.663 GB, free: 5.953 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.384e-05/0.2079, allocations: 123.8 kB / 0.6631 GB, free: 5.809 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001678/0.2095, allocations: 1.037 MB / 0.6642 GB, free: 4.758 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001571/0.2097, allocations: 45.7 kB / 0.6642 GB, free: 4.707 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004829/0.2102, allocations: 0.5331 MB / 0.6647 GB, free: 4.168 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004518/0.2106, allocations: 408.6 kB / 0.6651 GB, free: 3.766 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005162/0.2111, allocations: 247.5 kB / 0.6653 GB, free: 3.52 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000187/0.2113, allocations: 357.9 kB / 0.6657 GB, free: 3.164 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002023/0.2134, allocations: 0.7847 MB / 0.6664 GB, free: 2.379 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002141/0.2155, allocations: 0.9444 MB / 0.6674 GB, free: 1.398 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02397/0.2395, allocations: 5.489 MB / 0.6727 GB, free: 11.82 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/0.2395, allocations: 7.922 kB / 0.6727 GB, free: 11.81 MB / 494.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01559/0.2551, allocations: 4.429 MB / 0.6771 GB, free: 7.352 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.217e-05/0.2551, allocations: 63.41 kB / 0.6771 GB, free: 7.277 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.2552, allocations: 4 kB / 0.6771 GB, free: 7.273 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006734/0.2619, allocations: 1.742 MB / 0.6788 GB, free: 5.527 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001548/0.2634, allocations: 275.6 kB / 0.6791 GB, free: 5.258 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0235/0.2869, allocations: 9.042 MB / 0.6879 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001801/0.2887, allocations: 215 kB / 0.6881 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000124/0.2889, allocations: 47.98 kB / 0.6882 GB, free: 11.82 MB / 0.4981 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.0006328/0.2895, allocations: 295.7 kB / 0.6885 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002517/0.2897, allocations: 139.1 kB / 0.6886 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01638/0.3061, allocations: 4.366 MB / 0.6929 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-05/0.3062, allocations: 15.98 kB / 0.6929 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.3062, allocations: 0 / 0.6929 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.536e-05/0.3062, allocations: 3.984 kB / 0.6929 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01866/0.3248, allocations: 6.236 MB / 0.699 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/0.3248, allocations: 0 / 0.699 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007818/0.3256, allocations: 123.9 kB / 0.6991 GB, free: 484 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007137/0.3328, allocations: 1.911 MB / 0.7009 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001491/0.3329, allocations: 27.97 kB / 0.701 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02731/0.3602, allocations: 10.72 MB / 0.7114 GB, free: 3.512 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3602, allocations: 0 / 0.7114 GB, free: 3.512 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2373/0.5976, allocations: 5.383 MB / 0.7167 GB, free: 82.54 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000378/0.5979, allocations: 235.5 kB / 0.7169 GB, free: 82.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001899/0.5981, allocations: 21.17 kB / 0.7169 GB, free: 82.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001369/0.5995, allocations: 138.2 kB / 0.7171 GB, free: 82.45 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000768/0.6003, allocations: 231.6 kB / 0.7173 GB, free: 82.45 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.52e-05/0.6004, allocations: 30.67 kB / 0.7173 GB, free: 82.45 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00112/0.6015, allocations: 0.7068 MB / 0.718 GB, free: 82.34 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6015, allocations: 0 / 0.718 GB, free: 82.34 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001364/0.6028, allocations: 488.5 kB / 0.7185 GB, free: 82.34 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.000246/0.6031, allocations: 140.7 kB / 0.7186 GB, free: 82.25 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007155/0.6102, allocations: 2.619 MB / 0.7212 GB, free: 81.91 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.6102, allocations: 0 / 0.7212 GB, free: 81.91 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005339/0.6156, allocations: 1.802 MB / 0.7229 GB, free: 81.38 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009274/0.6165, allocations: 125.3 kB / 0.723 GB, free: 81.3 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004532/0.621, allocations: 2.518 MB / 0.7255 GB, free: 80.12 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006096/0.6217, allocations: 1.153 MB / 0.7266 GB, free: 79.4 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000436/0.6221, allocations: 113.2 kB / 0.7267 GB, free: 79.39 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002832/0.6224, allocations: 82.27 kB / 0.7268 GB, free: 79.38 MB / 0.5137 GB Notification: Performance of SimCode: time 8.92e-07/0.6224, allocations: 1.594 kB / 0.7268 GB, free: 79.38 MB / 0.5137 GB Notification: Performance of Templates: time 0.03523/0.6576, allocations: 27.81 MB / 0.754 GB, free: 65.81 MB / 0.5137 GB 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 -s gbode -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1)