Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08015/0.08015, allocations: 9.52 MB / 28.87 MB, free: 328 kB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/WorkInProgress.mo:11:9-20:24:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/WorkInProgress.mo:130:9-144:24:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001865/0.001865, allocations: 83.53 kB / 34.95 MB, free: 0.8281 MB / 24.77 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/WorkInProgress.mo:11:9-20:24:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/WorkInProgress.mo:130:9-144:24:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.481/1.481, allocations: 158.6 MB / 199.6 MB, free: 7.133 MB / 186.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/WorkInProgress.mo:11:9-20:24:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/WorkInProgress.mo:130:9-144:24:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002471/0.002471, allocations: 156.5 kB / 254.8 MB, free: 15.8 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/WorkInProgress.mo:11:9-20:24:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/WorkInProgress.mo:130:9-144:24:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3361/0.3361, allocations: 59.72 MB / 369.7 MB, free: 12.55 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/WorkInProgress.mo:11:9-20:24:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/WorkInProgress.mo:130:9-144:24:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous") translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.634e-06/1.634e-06, allocations: 0 / 459.2 MB, free: 38 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.552e-05/2.715e-05, allocations: 5.125 kB / 459.2 MB, free: 38 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous): time 0.006284/0.006312, allocations: 6.438 MB / 465.6 MB, free: 33.77 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004288/0.0106, allocations: 1.942 MB / 467.6 MB, free: 32.45 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008374/0.01144, allocations: 14.25 kB / 467.6 MB, free: 32.44 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007873/0.01222, allocations: 248.6 kB / 467.8 MB, free: 32.3 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002101/0.01433, allocations: 0.8546 MB / 468.7 MB, free: 31.75 MB / 362.7 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 order4.xq <> order4.x1q, <> on Real operands is deprecated in non-function contexts. Notification: Performance of NFTyping.typeClassSections: time 0.001448/0.01577, allocations: 0.6731 MB / 469.3 MB, free: 31.43 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001791/0.01756, allocations: 1.606 MB / 470.9 MB, free: 30.61 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004017/0.01797, allocations: 226.7 kB / 471.2 MB, free: 30.5 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001116/0.01908, allocations: 0.9194 MB / 472.1 MB, free: 30.07 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008822/0.01996, allocations: 0.6751 MB / 472.8 MB, free: 29.85 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002488/0.02021, allocations: 124.8 kB / 472.9 MB, free: 29.85 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006305/0.02084, allocations: 256.1 kB / 473.1 MB, free: 29.81 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003483/0.02119, allocations: 340.5 kB / 473.5 MB, free: 29.59 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000568/0.02176, allocations: 466 kB / 473.9 MB, free: 29.36 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00293/0.02469, allocations: 1.747 MB / 475.7 MB, free: 28.61 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.0247, allocations: 1.219 kB / 475.7 MB, free: 28.61 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.0247, allocations: 0 / 475.7 MB, free: 28.61 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.417e-05/0.02472, allocations: 0 / 475.7 MB, free: 28.61 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.009916/0.03464, allocations: 3.061 MB / 478.7 MB, free: 27.15 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.03469, allocations: 9.766 kB / 478.7 MB, free: 27.15 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005242/0.03993, allocations: 0.9219 MB / 479.7 MB, free: 26.94 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002164/0.04209, allocations: 0.8632 MB / 480.5 MB, free: 26.39 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000304/0.0424, allocations: 337.8 kB / 480.9 MB, free: 26.07 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001894/0.04259, allocations: 93.92 kB / 480.9 MB, free: 26.04 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002905/0.04549, allocations: 1.427 MB / 482.4 MB, free: 25.46 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.485e-05/0.04552, allocations: 3.938 kB / 482.4 MB, free: 25.45 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.539e-05/0.04561, allocations: 35.28 kB / 482.4 MB, free: 25.43 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.404e-05/0.04564, allocations: 18.53 kB / 482.4 MB, free: 25.43 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002068/0.0477, allocations: 0.9607 MB / 483.4 MB, free: 25.11 MB / 362.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.00619/0.05389, allocations: 3.061 MB / 486.5 MB, free: 22.65 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005649/0.05954, allocations: 1.732 MB / 488.2 MB, free: 20.86 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001162/0.06071, allocations: 0.7175 MB / 488.9 MB, free: 20.12 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001112/0.06082, allocations: 24.66 kB / 488.9 MB, free: 20.1 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001182/0.062, allocations: 0.7827 MB / 489.7 MB, free: 19.29 MB / 362.7 MB Notification: Performance of pre-optimization done (n=115): time 3.005e-06/0.062, allocations: 0 / 489.7 MB, free: 19.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=115): time 0.0244/0.08641, allocations: 6.26 MB / 496 MB, free: 12.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/0.08653, allocations: 201.1 kB / 496.2 MB, free: 12.75 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001505/0.08803, allocations: 1.254 MB / 497.4 MB, free: 11.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001801/0.08821, allocations: 53.7 kB / 497.5 MB, free: 11.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002945/0.08851, allocations: 0.5748 MB / 498 MB, free: 10.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003154/0.08882, allocations: 357.2 kB / 498.4 MB, free: 10.49 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004459/0.08927, allocations: 317.1 kB / 498.7 MB, free: 10.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.08938, allocations: 0.5551 MB / 499.3 MB, free: 9.613 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001203/0.09058, allocations: 0.7178 MB / 500 MB, free: 8.883 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001311/0.0919, allocations: 0.9873 MB / 0.4892 GB, free: 7.812 MB / 362.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendEquation.mo:2515:7-2515:76:writable] Error: Internal error function solveEquation failed Error: Initialization problem is structural singular. Please, check the initial conditions. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendEquation.mo:2515:7-2515:76:writable] Error: Internal error function solveEquation failed Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.05823/0.1501, allocations: 6.72 MB / 0.4958 GB, free: 0.9336 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.416e-05/0.1501, allocations: 7.375 kB / 0.4958 GB, free: 0.9297 MB / 362.7 MB Notification: Performance of matching and sorting (n=179) (initialization): time 0.01272/0.1629, allocations: 3.847 MB / 0.4995 GB, free: 13.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.393e-05/0.163, allocations: 59.41 kB / 0.4996 GB, free: 12.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/0.163, allocations: 4 kB / 0.4996 GB, free: 12.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0103/0.1733, allocations: 1.92 MB / 0.5015 GB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00153/0.1748, allocations: 247.6 kB / 0.5017 GB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02101/0.1958, allocations: 8.054 MB / 0.5096 GB, free: 2.617 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002275/0.1981, allocations: 151.2 kB / 0.5097 GB, free: 2.469 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001579/0.1982, allocations: 51.97 kB / 0.5098 GB, free: 2.418 MB / 378.7 MB Warning: Assuming fixed start value for the following 3 variables: order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order4.delta:VARIABLE(flow=false start = order4.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: aVRTypeII.ExcitationSystem.y = aVRTypeII.ExcitationSystem.y_start aVRTypeII.simpleLagLim.state = aVRTypeII.simpleLagLim.y_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 4 (aVRTypeII.firstOrder2.y,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.simpleLagLim.state,aVRTypeII.derivativeBlock.x) * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 146 * 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): 1 system {(18,13,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009534/0.1992, allocations: 353.8 kB / 0.5101 GB, free: 2.062 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00211/0.2013, allocations: 0.64 MB / 0.5107 GB, free: 1.406 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01384/0.2151, allocations: 3.647 MB / 0.5143 GB, free: 13.73 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.749e-05/0.2152, allocations: 12 kB / 0.5143 GB, free: 13.72 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.656e-05/0.2152, allocations: 8 kB / 0.5143 GB, free: 13.71 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.011e-05/0.2152, allocations: 11.97 kB / 0.5143 GB, free: 13.7 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01642/0.2316, allocations: 4.856 MB / 0.5191 GB, free: 8.781 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.248e-05/0.2317, allocations: 7.984 kB / 0.5191 GB, free: 8.773 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007264/0.2324, allocations: 111.9 kB / 0.5192 GB, free: 8.664 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0119/0.2443, allocations: 2.235 MB / 0.5214 GB, free: 6.418 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004204/0.2447, allocations: 27.94 kB / 0.5214 GB, free: 6.391 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02844/0.2732, allocations: 12.78 MB / 0.5339 GB, free: 9.238 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.2732, allocations: 3.938 kB / 0.5339 GB, free: 9.234 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01653/0.2897, allocations: 4.724 MB / 0.5385 GB, free: 4.449 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007845/0.2905, allocations: 159.7 kB / 0.5386 GB, free: 4.293 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002833/0.2908, allocations: 28 kB / 0.5387 GB, free: 4.266 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001249/0.292, allocations: 79.92 kB / 0.5387 GB, free: 4.188 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006776/0.2927, allocations: 180.7 kB / 0.5389 GB, free: 4.012 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001055/0.2928, allocations: 35.98 kB / 0.539 GB, free: 3.977 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00169/0.2945, allocations: 0.7855 MB / 0.5397 GB, free: 3.184 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2945, allocations: 0 / 0.5397 GB, free: 3.184 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001892/0.2964, allocations: 475.5 kB / 0.5402 GB, free: 2.719 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 4 (aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003889/0.2968, allocations: 147.2 kB / 0.5403 GB, free: 2.566 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006632/0.3034, allocations: 2.428 MB / 0.5427 GB, free: 72 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.3034, allocations: 0 / 0.5427 GB, free: 72 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004154/0.3075, allocations: 1.365 MB / 0.544 GB, free: 14.66 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002488/0.31, allocations: 0.7125 MB / 0.5447 GB, free: 13.92 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005682/0.3157, allocations: 2.34 MB / 0.547 GB, free: 11.53 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007472/0.3165, allocations: 0.5683 MB / 0.5476 GB, free: 10.92 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005218/0.317, allocations: 104.3 kB / 0.5477 GB, free: 10.82 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002952/0.3173, allocations: 80.48 kB / 0.5477 GB, free: 10.74 MB / 426.7 MB Notification: Performance of SimCode: time 1.713e-06/0.3173, allocations: 4 kB / 0.5477 GB, free: 10.73 MB / 426.7 MB Notification: Performance of Templates: time 0.05128/0.3686, allocations: 26.38 MB / 0.5735 GB, free: 472 kB / 442.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.makefile [Timeout 660] make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.o OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_functions.o OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_functions.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_records.o OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_records.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_01exo.o OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_01exo.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.o OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:262:46: error: use of undeclared identifier 'baseClockIndex' 262 | res[0] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[data->simulationInfo->realVarsIndex[16]] /* der(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */))) + ((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[12]] /* previous(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[27]] /* aVRTypeII.ExcitationSystem.x_scaled[1] CLOCKED_STATE */)); | ^~~~~~~~~~~~~~ OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:262:72: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? 262 | res[0] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[data->simulationInfo->realVarsIndex[16]] /* der(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */))) + ((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[12]] /* previous(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[27]] /* aVRTypeII.ExcitationSystem.x_scaled[1] CLOCKED_STATE */)); | ^~~~~~~~~~~~~ | clockIndex OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:208:21: note: 'clockIndex' declared here 208 | int i,j;const int clockIndex = 1; | ^ OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:262:149: error: use of undeclared identifier 'baseClockIndex' 262 | res[0] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[data->simulationInfo->realVarsIndex[16]] /* der(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */))) + ((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[12]] /* previous(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[27]] /* aVRTypeII.ExcitationSystem.x_scaled[1] CLOCKED_STATE */)); | ^~~~~~~~~~~~~~ OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:262:175: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? 262 | res[0] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[data->simulationInfo->realVarsIndex[16]] /* der(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */))) + ((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[12]] /* previous(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[27]] /* aVRTypeII.ExcitationSystem.x_scaled[1] CLOCKED_STATE */)); | ^~~~~~~~~~~~~ | clockIndex OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:208:21: note: 'clockIndex' declared here 208 | int i,j;const int clockIndex = 1; | ^ OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:266:46: error: use of undeclared identifier 'baseClockIndex' 266 | res[2] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[data->simulationInfo->realVarsIndex[17]] /* der(aVRTypeII.derivativeBlock.x) variable */))) + ((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[13]] /* previous(aVRTypeII.derivativeBlock.x) variable */) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[35]] /* aVRTypeII.derivativeBlock.x CLOCKED_STATE */)); | ^~~~~~~~~~~~~~ OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:266:72: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? 266 | res[2] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[data->simulationInfo->realVarsIndex[17]] /* der(aVRTypeII.derivativeBlock.x) variable */))) + ((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[13]] /* previous(aVRTypeII.derivativeBlock.x) variable */) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[35]] /* aVRTypeII.derivativeBlock.x CLOCKED_STATE */)); | ^~~~~~~~~~~~~ | clockIndex OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:208:21: note: 'clockIndex' declared here 208 | int i,j;const int clockIndex = 1; | ^ OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:266:149: error: use of undeclared identifier 'baseClockIndex' 266 | res[2] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[data->simulationInfo->realVarsIndex[17]] /* der(aVRTypeII.derivativeBlock.x) variable */))) + ((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[13]] /* previous(aVRTypeII.derivativeBlock.x) variable */) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[35]] /* aVRTypeII.derivativeBlock.x CLOCKED_STATE */)); | ^~~~~~~~~~~~~~ OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:266:175: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? 266 | res[2] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[data->simulationInfo->realVarsIndex[17]] /* der(aVRTypeII.derivativeBlock.x) variable */))) + ((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[13]] /* previous(aVRTypeII.derivativeBlock.x) variable */) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[35]] /* aVRTypeII.derivativeBlock.x CLOCKED_STATE */)); | ^~~~~~~~~~~~~ | clockIndex OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:208:21: note: 'clockIndex' declared here 208 | int i,j;const int clockIndex = 1; | ^ OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:268:46: error: use of undeclared identifier 'baseClockIndex' 268 | res[3] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[data->simulationInfo->realVarsIndex[19]] /* der(aVRTypeII.simpleLagLim.state) variable */))) + ((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[15]] /* previous(aVRTypeII.simpleLagLim.state) variable */) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[46]] /* aVRTypeII.simpleLagLim.state CLOCKED_STATE */)); | ^~~~~~~~~~~~~~ OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:268:72: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? 268 | res[3] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[data->simulationInfo->realVarsIndex[19]] /* der(aVRTypeII.simpleLagLim.state) variable */))) + ((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[15]] /* previous(aVRTypeII.simpleLagLim.state) variable */) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[46]] /* aVRTypeII.simpleLagLim.state CLOCKED_STATE */)); | ^~~~~~~~~~~~~ | clockIndex OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:208:21: note: 'clockIndex' declared here 208 | int i,j;const int clockIndex = 1; | ^ OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:268:149: error: use of undeclared identifier 'baseClockIndex' 268 | res[3] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[data->simulationInfo->realVarsIndex[19]] /* der(aVRTypeII.simpleLagLim.state) variable */))) + ((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[15]] /* previous(aVRTypeII.simpleLagLim.state) variable */) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[46]] /* aVRTypeII.simpleLagLim.state CLOCKED_STATE */)); | ^~~~~~~~~~~~~~ OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:268:175: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? 268 | res[3] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[data->simulationInfo->realVarsIndex[19]] /* der(aVRTypeII.simpleLagLim.state) variable */))) + ((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[15]] /* previous(aVRTypeII.simpleLagLim.state) variable */) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[46]] /* aVRTypeII.simpleLagLim.state CLOCKED_STATE */)); | ^~~~~~~~~~~~~ | clockIndex OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:208:21: note: 'clockIndex' declared here 208 | int i,j;const int clockIndex = 1; | ^ 12 errors generated. make: *** [: OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.o] Error 1 [Calling os._exit(0), Time elapsed: 4.243070341064595]