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.111/0.111, allocations: 12.59 MB / 28.22 MB, free: 0.7383 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.001179/0.001179, allocations: 111.4 kB / 31.83 MB, free: 3.879 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.525/1.525, allocations: 205.1 MB / 240.4 MB, free: 12.37 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.001533/0.001533, allocations: 183.2 kB / 290.7 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.464/0.464, allocations: 78.51 MB / 419.3 MB, free: 11.23 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.002556/0.002556, allocations: 133.4 kB / 0.5558 GB, free: 28.46 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.1668, allocations: 68.14 MB / 0.6224 GB, free: 15.42 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.008235/0.1751, allocations: 7.033 MB / 0.6293 GB, free: 8.348 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00518/0.1803, allocations: 2.094 MB / 0.6313 GB, free: 6.246 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001294/0.1817, allocations: 15.94 kB / 0.6313 GB, free: 6.23 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009514/0.1827, allocations: 257.8 kB / 0.6316 GB, free: 5.977 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002478/0.1852, allocations: 0.8271 MB / 0.6324 GB, free: 5.145 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.001838/0.187, allocations: 0.7482 MB / 0.6331 GB, free: 4.406 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002414/0.1894, allocations: 1.737 MB / 0.6348 GB, free: 2.664 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006265/0.1901, allocations: 399.6 kB / 0.6352 GB, free: 2.246 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001115/0.1912, allocations: 0.708 MB / 0.6359 GB, free: 1.535 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001016/0.1922, allocations: 0.84 MB / 0.6367 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002586/0.1925, allocations: 128 kB / 0.6368 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006275/0.1931, allocations: 267.9 kB / 0.6371 GB, free: 312 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003607/0.1935, allocations: 350.5 kB / 0.6374 GB, free: 15.96 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007236/0.1942, allocations: 0.7185 MB / 0.6381 GB, free: 15.24 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002408/0.1967, allocations: 1.824 MB / 0.6399 GB, free: 13.41 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.1967, allocations: 8 kB / 0.6399 GB, free: 13.4 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1967, allocations: 4 kB / 0.6399 GB, free: 13.39 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.478e-05/0.1967, allocations: 0 / 0.6399 GB, free: 13.39 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.01/0.2067, allocations: 2.889 MB / 0.6427 GB, free: 10.44 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.2068, allocations: 15.92 kB / 0.6427 GB, free: 10.42 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005217/0.212, allocations: 0.8029 MB / 0.6435 GB, free: 9.617 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002244/0.2143, allocations: 0.9344 MB / 0.6444 GB, free: 8.629 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004057/0.2147, allocations: 327.6 kB / 0.6447 GB, free: 8.258 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002002/0.2149, allocations: 95.95 kB / 0.6448 GB, free: 8.164 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002934/0.2179, allocations: 1.295 MB / 0.6461 GB, free: 6.852 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.745e-05/0.2179, allocations: 3.984 kB / 0.6461 GB, free: 6.848 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000116/0.218, allocations: 35.94 kB / 0.6461 GB, free: 6.812 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.949e-05/0.2181, allocations: 20 kB / 0.6462 GB, free: 6.793 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002759/0.2208, allocations: 1.202 MB / 0.6473 GB, free: 5.59 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.008113/0.229, allocations: 4.172 MB / 0.6514 GB, free: 1.254 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003732/0.2327, allocations: 1.762 MB / 0.6531 GB, free: 15.36 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001919/0.2347, allocations: 0.864 MB / 0.654 GB, free: 14.49 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001193/0.2348, allocations: 16.98 kB / 0.654 GB, free: 14.48 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002198/0.237, allocations: 0.962 MB / 0.6549 GB, free: 13.5 MB / 478.1 MB Notification: Performance of pre-optimization done (n=108): time 6.573e-06/0.2371, allocations: 3.984 kB / 0.6549 GB, free: 13.49 MB / 478.1 MB Notification: Performance of matching and sorting (n=108): time 0.03402/0.2711, allocations: 7.898 MB / 0.6626 GB, free: 5.527 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.901e-05/0.2712, allocations: 115.8 kB / 0.6628 GB, free: 5.391 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00222/0.2735, allocations: 1.045 MB / 0.6638 GB, free: 4.332 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004454/0.2739, allocations: 45.7 kB / 0.6638 GB, free: 4.281 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006626/0.2746, allocations: 0.5331 MB / 0.6643 GB, free: 3.742 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008504/0.2755, allocations: 404.5 kB / 0.6647 GB, free: 3.344 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008927/0.2764, allocations: 247.5 kB / 0.665 GB, free: 3.098 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000199/0.2766, allocations: 361.9 kB / 0.6653 GB, free: 2.738 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002016/0.2786, allocations: 0.7847 MB / 0.6661 GB, free: 1.953 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002126/0.2808, allocations: 0.9406 MB / 0.667 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02292/0.3037, allocations: 5.496 MB / 0.6724 GB, free: 11.39 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.35e-05/0.3038, allocations: 3.938 kB / 0.6724 GB, free: 11.38 MB / 494.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.0158/0.3196, allocations: 4.46 MB / 0.6767 GB, free: 6.895 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.188e-05/0.3197, allocations: 63.41 kB / 0.6768 GB, free: 6.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.671e-05/0.3197, allocations: 4.312 kB / 0.6768 GB, free: 6.816 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006304/0.326, allocations: 1.741 MB / 0.6785 GB, free: 5.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001625/0.3277, allocations: 283.6 kB / 0.6788 GB, free: 4.793 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02271/0.3504, allocations: 9.023 MB / 0.6876 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002449/0.3529, allocations: 215 kB / 0.6878 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003822/0.3534, allocations: 47.98 kB / 0.6878 GB, free: 11.36 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.001112/0.3545, allocations: 307.7 kB / 0.6881 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004799/0.355, allocations: 139.1 kB / 0.6882 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01551/0.3705, allocations: 4.393 MB / 0.6925 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.512e-05/0.3706, allocations: 16 kB / 0.6925 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.3706, allocations: 0 / 0.6925 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.222e-05/0.3706, allocations: 7.969 kB / 0.6926 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01905/0.3897, allocations: 6.275 MB / 0.6987 GB, free: 60 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-05/0.3897, allocations: 0 / 0.6987 GB, free: 60 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008677/0.3906, allocations: 128 kB / 0.6988 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006812/0.3974, allocations: 1.899 MB / 0.7007 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002549/0.3977, allocations: 23.98 kB / 0.7007 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02634/0.4241, allocations: 10.72 MB / 0.7111 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.4241, allocations: 0 / 0.7111 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3774/0.8015, allocations: 5.426 MB / 0.7164 GB, free: 82.89 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005575/0.8022, allocations: 230 kB / 0.7167 GB, free: 82.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002225/0.8024, allocations: 21.02 kB / 0.7167 GB, free: 82.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001412/0.8038, allocations: 143.3 kB / 0.7168 GB, free: 82.8 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008708/0.8047, allocations: 241.9 kB / 0.7171 GB, free: 82.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001021/0.8048, allocations: 31.94 kB / 0.7171 GB, free: 82.8 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001272/0.8061, allocations: 0.7026 MB / 0.7178 GB, free: 82.69 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8061, allocations: 1.125 kB / 0.7178 GB, free: 82.69 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001697/0.8078, allocations: 487.5 kB / 0.7182 GB, free: 82.69 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.000294/0.8081, allocations: 138.9 kB / 0.7184 GB, free: 82.6 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0076/0.8157, allocations: 2.75 MB / 0.7211 GB, free: 82.26 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.8157, allocations: 0 / 0.7211 GB, free: 82.26 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005726/0.8215, allocations: 1.886 MB / 0.7229 GB, free: 81.65 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001142/0.8226, allocations: 129.1 kB / 0.723 GB, free: 81.58 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005291/0.8279, allocations: 2.509 MB / 0.7255 GB, free: 80.4 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009359/0.8289, allocations: 1.154 MB / 0.7266 GB, free: 79.68 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005381/0.8294, allocations: 117.1 kB / 0.7267 GB, free: 79.67 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003157/0.8298, allocations: 82.62 kB / 0.7268 GB, free: 79.66 MB / 0.5137 GB Notification: Performance of SimCode: time 8.92e-07/0.8298, allocations: 3.625 kB / 0.7268 GB, free: 79.66 MB / 0.5137 GB Notification: Performance of Templates: time 0.04399/0.8738, allocations: 27.63 MB / 0.7538 GB, free: 65.22 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 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1)