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.04691/0.04691, allocations: 9.511 MB / 30.09 MB, free: 5.891 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/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.0008675/0.0008675, allocations: 79.61 kB / 36.25 MB, free: 480 kB / 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 0.8597/0.8597, allocations: 158.6 MB / 200.9 MB, free: 6.703 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 179] 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.001223/0.001223, allocations: 156.6 kB / 256.3 MB, free: 15.45 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.1916/0.1916, allocations: 59.7 MB / 371.2 MB, free: 12.29 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 180] 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 2.124e-06/2.124e-06, allocations: 0 / 461.2 MB, free: 37.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.058e-05/2.27e-05, allocations: 4.172 kB / 461.2 MB, free: 37.32 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous): time 0.004927/0.004949, allocations: 6.357 MB / 467.6 MB, free: 33.09 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003393/0.008342, allocations: 1.95 MB / 469.6 MB, free: 31.75 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006268/0.008969, allocations: 11.41 kB / 469.6 MB, free: 31.75 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006172/0.009586, allocations: 246.4 kB / 469.8 MB, free: 31.62 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001536/0.01112, allocations: 0.8546 MB / 470.7 MB, free: 31.07 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.001047/0.01217, allocations: 0.6805 MB / 471.3 MB, free: 30.73 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001499/0.01367, allocations: 1.606 MB / 472.9 MB, free: 29.91 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004037/0.01407, allocations: 228.5 kB / 473.2 MB, free: 29.79 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001232/0.0153, allocations: 0.9236 MB / 474.1 MB, free: 29.37 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009004/0.0162, allocations: 0.68 MB / 474.8 MB, free: 29.14 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002466/0.01645, allocations: 124.8 kB / 474.9 MB, free: 29.14 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005069/0.01696, allocations: 249.5 kB / 475.1 MB, free: 29.11 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002287/0.01719, allocations: 345.9 kB / 475.5 MB, free: 28.89 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005318/0.01772, allocations: 466.3 kB / 475.9 MB, free: 28.65 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001514/0.01923, allocations: 1.234 MB / 477.2 MB, free: 28.01 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.01924, allocations: 1.438 kB / 477.2 MB, free: 28.01 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.01924, allocations: 0 / 477.2 MB, free: 28.01 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.325e-05/0.01929, allocations: 0.9062 kB / 477.2 MB, free: 28.01 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.005724/0.02501, allocations: 2.935 MB / 480.1 MB, free: 26.6 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.02505, allocations: 8.062 kB / 480.1 MB, free: 26.6 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002935/0.02799, allocations: 0.9167 MB / 481 MB, free: 26.39 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/0.02911, allocations: 0.7972 MB / 481.8 MB, free: 25.87 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001703/0.02928, allocations: 333.5 kB / 482.2 MB, free: 25.56 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000127/0.0294, allocations: 84.62 kB / 482.2 MB, free: 25.53 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/0.03064, allocations: 0.9061 MB / 483.1 MB, free: 25.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.03066, allocations: 2.938 kB / 483.1 MB, free: 25.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.613e-05/0.03073, allocations: 36.25 kB / 483.2 MB, free: 25.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.675e-05/0.03074, allocations: 18.91 kB / 483.2 MB, free: 25.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006483/0.03139, allocations: 405.5 kB / 483.6 MB, free: 25.12 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.003483/0.03488, allocations: 2.543 MB / 486.1 MB, free: 23.51 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002354/0.03723, allocations: 1.277 MB / 487.4 MB, free: 22.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000309/0.03754, allocations: 356.1 kB / 487.8 MB, free: 22.51 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.783e-05/0.03761, allocations: 24.66 kB / 487.8 MB, free: 22.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003751/0.03798, allocations: 468.8 kB / 488.2 MB, free: 21.99 MB / 362.7 MB Notification: Performance of pre-optimization done (n=115): time 3.276e-06/0.03799, allocations: 0 / 488.2 MB, free: 21.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=115): time 0.01131/0.0493, allocations: 4.886 MB / 493.1 MB, free: 17.07 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.51e-05/0.04937, allocations: 199.6 kB / 493.3 MB, free: 16.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007377/0.05011, allocations: 0.9446 MB / 494.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000129/0.05024, allocations: 49.7 kB / 494.3 MB, free: 15.82 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001961/0.05044, allocations: 0.5511 MB / 494.9 MB, free: 15.26 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002038/0.05064, allocations: 337.2 kB / 495.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002528/0.05089, allocations: 285 kB / 495.5 MB, free: 14.64 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.229e-05/0.05096, allocations: 0.5393 MB / 496 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004012/0.05136, allocations: 383.2 kB / 496.4 MB, free: 13.71 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004521/0.05181, allocations: 0.624 MB / 497 MB, free: 13 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.01504/0.06685, allocations: 2.883 MB / 499.9 MB, free: 9.973 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.697e-06/0.06685, allocations: 0 / 499.9 MB, free: 9.973 MB / 362.7 MB Notification: Performance of matching and sorting (n=179) (initialization): time 0.004769/0.07162, allocations: 2.878 MB / 0.491 GB, free: 7.055 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.796e-05/0.07166, allocations: 59.41 kB / 0.491 GB, free: 6.984 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.07167, allocations: 8 kB / 0.4911 GB, free: 6.977 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003788/0.07546, allocations: 1.514 MB / 0.4925 GB, free: 5.457 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006948/0.07615, allocations: 243.7 kB / 0.4928 GB, free: 5.219 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005047/0.0812, allocations: 4.196 MB / 0.4969 GB, free: 0.9062 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/0.08225, allocations: 147.2 kB / 0.497 GB, free: 0.7617 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.564e-05/0.08232, allocations: 43.97 kB / 0.497 GB, free: 0.7188 MB / 362.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.0004716/0.08279, allocations: 278 kB / 0.4973 GB, free: 444 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008611/0.08365, allocations: 0.5204 MB / 0.4978 GB, free: 15.89 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005084/0.08873, allocations: 2.626 MB / 0.5004 GB, free: 13.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.08874, allocations: 12 kB / 0.5004 GB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/0.08876, allocations: 8 kB / 0.5004 GB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.481e-05/0.08877, allocations: 15.97 kB / 0.5004 GB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006535/0.09531, allocations: 3.516 MB / 0.5039 GB, free: 9.637 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.09531, allocations: 8.031 kB / 0.5039 GB, free: 9.629 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000329/0.09564, allocations: 107.8 kB / 0.504 GB, free: 9.523 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004997/0.1006, allocations: 1.785 MB / 0.5057 GB, free: 7.727 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001237/0.1008, allocations: 27.98 kB / 0.5057 GB, free: 7.699 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008611/0.1094, allocations: 8.805 MB / 0.5143 GB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1094, allocations: 4 kB / 0.5143 GB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005317/0.1147, allocations: 2.681 MB / 0.517 GB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004386/0.1151, allocations: 166.8 kB / 0.5171 GB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001657/0.1153, allocations: 20 kB / 0.5171 GB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005707/0.1159, allocations: 83.92 kB / 0.5172 GB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004115/0.1163, allocations: 172.7 kB / 0.5174 GB, free: 11.37 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.113e-05/0.1163, allocations: 23.98 kB / 0.5174 GB, free: 11.34 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004874/0.1168, allocations: 0.5705 MB / 0.518 GB, free: 10.77 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1168, allocations: 0 / 0.518 GB, free: 10.77 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001218/0.118, allocations: 471.7 kB / 0.5184 GB, free: 10.3 MB / 394.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.0002652/0.1183, allocations: 148.3 kB / 0.5185 GB, free: 10.15 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002559/0.1209, allocations: 1.705 MB / 0.5202 GB, free: 8.391 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.1209, allocations: 0.875 kB / 0.5202 GB, free: 8.391 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001543/0.1224, allocations: 1.033 MB / 0.5212 GB, free: 7.309 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/0.1236, allocations: 0.6573 MB / 0.5219 GB, free: 6.621 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003038/0.1266, allocations: 2.155 MB / 0.524 GB, free: 4.41 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002056/0.1268, allocations: 262.3 kB / 0.5242 GB, free: 4.129 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000273/0.1271, allocations: 112.3 kB / 0.5243 GB, free: 4.016 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000279/0.1274, allocations: 202.2 kB / 0.5245 GB, free: 3.816 MB / 394.7 MB Notification: Performance of SimCode: time 1.913e-06/0.1274, allocations: 0 / 0.5245 GB, free: 3.816 MB / 394.7 MB Notification: Performance of Templates: time 0.0312/0.1586, allocations: 28.19 MB / 0.552 GB, free: 7.723 MB / 426.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 -DOM_HAVE_PTHREADS -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 -DOM_HAVE_PTHREADS -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 OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_functions.c:40:11: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 40 | if((_y0 == 0.0)) | ~~~~^~~~~~ OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_functions.c:40:11: note: remove extraneous parentheses around the comparison to silence this warning 40 | if((_y0 == 0.0)) | ~ ^ ~ OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_functions.c:40:11: note: use '=' to turn this equality comparison into an assignment 40 | if((_y0 == 0.0)) | ^~ | = 1 warning generated. clang -Os -DOM_HAVE_PTHREADS -fPIC -DOM_HAVE_PTHREADS -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 -DOM_HAVE_PTHREADS -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 -DOM_HAVE_PTHREADS -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:312:46: error: use of undeclared identifier 'baseClockIndex' 312 | 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:312:72: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? 312 | 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:225:21: note: 'clockIndex' declared here 225 | int i,j;const int clockIndex = 1; | ^ OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:312:149: error: use of undeclared identifier 'baseClockIndex' 312 | 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:312:175: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? 312 | 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:225:21: note: 'clockIndex' declared here 225 | int i,j;const int clockIndex = 1; | ^ OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:316:46: error: use of undeclared identifier 'baseClockIndex' 316 | 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:316:72: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? 316 | 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:225:21: note: 'clockIndex' declared here 225 | int i,j;const int clockIndex = 1; | ^ OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:316:149: error: use of undeclared identifier 'baseClockIndex' 316 | 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:316:175: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? 316 | 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:225:21: note: 'clockIndex' declared here 225 | int i,j;const int clockIndex = 1; | ^ OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:318:46: error: use of undeclared identifier 'baseClockIndex' 318 | 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:318:72: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? 318 | 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:225:21: note: 'clockIndex' declared here 225 | int i,j;const int clockIndex = 1; | ^ OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:318:149: error: use of undeclared identifier 'baseClockIndex' 318 | 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:318:175: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? 318 | 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:225:21: note: 'clockIndex' declared here 225 | 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: 2.499105998314917]