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.0492/0.0492, allocations: 9.513 MB / 29.3 MB, free: 196 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.0008737/0.0008737, allocations: 91.36 kB / 35.47 MB, free: 0.6172 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 0.8766/0.8766, allocations: 158.6 MB / 200.2 MB, free: 7.012 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.001143/0.001143, allocations: 172.5 kB / 255.5 MB, free: 15.58 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.194/0.194, allocations: 59.71 MB / 370.4 MB, free: 12.31 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 1.242e-06/1.242e-06, allocations: 0 / 460.5 MB, free: 37.6 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.227e-05/1.352e-05, allocations: 4.312 kB / 460.5 MB, free: 37.6 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous): time 0.004086/0.004099, allocations: 6.356 MB / 466.8 MB, free: 33.36 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002586/0.006685, allocations: 1.941 MB / 468.8 MB, free: 32.04 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003568/0.007042, allocations: 15.03 kB / 468.8 MB, free: 32.04 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004626/0.007504, allocations: 249 kB / 469 MB, free: 31.9 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001113/0.008617, allocations: 0.8618 MB / 469.9 MB, free: 31.34 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.0007687/0.009386, allocations: 0.6708 MB / 470.5 MB, free: 31.01 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000929/0.01032, allocations: 1.612 MB / 472.2 MB, free: 30.19 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002573/0.01057, allocations: 220.8 kB / 472.4 MB, free: 30.08 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006879/0.01126, allocations: 0.9212 MB / 473.3 MB, free: 29.66 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005886/0.01185, allocations: 0.6782 MB / 474 MB, free: 29.43 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001409/0.01199, allocations: 125 kB / 474.1 MB, free: 29.43 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003971/0.01239, allocations: 260.4 kB / 474.4 MB, free: 29.39 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002061/0.01259, allocations: 338.3 kB / 474.7 MB, free: 29.17 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003192/0.01291, allocations: 474.8 kB / 475.1 MB, free: 28.93 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009244/0.01384, allocations: 1.223 MB / 476.4 MB, free: 28.3 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.01384, allocations: 0.6094 kB / 476.4 MB, free: 28.3 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.01384, allocations: 0 / 476.4 MB, free: 28.3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.01385, allocations: 0.6875 kB / 476.4 MB, free: 28.3 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.004265/0.01811, allocations: 2.941 MB / 479.3 MB, free: 26.88 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.01815, allocations: 10.25 kB / 479.3 MB, free: 26.88 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002545/0.02069, allocations: 0.9166 MB / 480.2 MB, free: 26.67 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007739/0.02147, allocations: 0.8048 MB / 481 MB, free: 26.14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001484/0.02161, allocations: 335.3 kB / 481.4 MB, free: 25.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001203/0.02173, allocations: 89.38 kB / 481.5 MB, free: 25.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001066/0.0228, allocations: 0.906 MB / 482.4 MB, free: 25.47 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.02282, allocations: 0 / 482.4 MB, free: 25.47 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.276e-05/0.02288, allocations: 35.59 kB / 482.4 MB, free: 25.44 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.575e-05/0.0229, allocations: 19.12 kB / 482.4 MB, free: 25.44 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005429/0.02344, allocations: 405.7 kB / 482.8 MB, free: 25.39 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.002647/0.02608, allocations: 2.542 MB / 485.4 MB, free: 23.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002255/0.02834, allocations: 1.276 MB / 486.6 MB, free: 22.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002973/0.02864, allocations: 362.4 kB / 487 MB, free: 22.5 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.855e-05/0.02871, allocations: 28.58 kB / 487 MB, free: 22.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003665/0.02907, allocations: 460.9 kB / 487.5 MB, free: 21.99 MB / 362.7 MB Notification: Performance of pre-optimization done (n=115): time 2.685e-06/0.02907, allocations: 0 / 487.5 MB, free: 21.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=115): time 0.0101/0.03917, allocations: 4.878 MB / 492.3 MB, free: 17.07 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.987e-05/0.03923, allocations: 203.6 kB / 492.5 MB, free: 16.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004869/0.03972, allocations: 0.9446 MB / 493.5 MB, free: 15.88 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.138e-05/0.03978, allocations: 53.7 kB / 493.5 MB, free: 15.82 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001878/0.03997, allocations: 0.5395 MB / 494.1 MB, free: 15.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001402/0.04011, allocations: 349.1 kB / 494.4 MB, free: 14.93 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002483/0.04036, allocations: 285 kB / 494.7 MB, free: 14.64 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.924e-05/0.04042, allocations: 0.5392 MB / 495.2 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003828/0.0408, allocations: 383.2 kB / 495.6 MB, free: 13.71 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00046/0.04126, allocations: 0.6201 MB / 496.2 MB, free: 13.01 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.0142/0.05546, allocations: 2.891 MB / 499.1 MB, free: 9.969 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.05547, allocations: 0 / 499.1 MB, free: 9.969 MB / 362.7 MB Notification: Performance of matching and sorting (n=179) (initialization): time 0.004279/0.05975, allocations: 2.87 MB / 0.4902 GB, free: 7.059 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/0.05977, allocations: 63.41 kB / 0.4903 GB, free: 6.984 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.05978, allocations: 4 kB / 0.4903 GB, free: 6.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00345/0.06323, allocations: 1.51 MB / 0.4918 GB, free: 5.465 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004945/0.06373, allocations: 255.6 kB / 0.492 GB, free: 5.215 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00455/0.06828, allocations: 4.197 MB / 0.4961 GB, free: 0.9023 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006277/0.0689, allocations: 159.1 kB / 0.4963 GB, free: 0.7461 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-05/0.06896, allocations: 43.97 kB / 0.4963 GB, free: 0.7031 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.00031/0.06927, allocations: 266.5 kB / 0.4966 GB, free: 436 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007658/0.07004, allocations: 0.5346 MB / 0.4971 GB, free: 15.87 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004523/0.07456, allocations: 2.626 MB / 0.4996 GB, free: 13.22 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.07457, allocations: 16 kB / 0.4997 GB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.07458, allocations: 7.438 kB / 0.4997 GB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.07459, allocations: 11.97 kB / 0.4997 GB, free: 13.19 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005552/0.08014, allocations: 3.519 MB / 0.5031 GB, free: 9.613 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.778e-06/0.08015, allocations: 0 / 0.5031 GB, free: 9.613 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002654/0.08041, allocations: 111.9 kB / 0.5032 GB, free: 9.504 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00429/0.0847, allocations: 1.796 MB / 0.505 GB, free: 7.695 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.972e-05/0.08476, allocations: 24 kB / 0.505 GB, free: 7.672 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007765/0.09253, allocations: 8.811 MB / 0.5136 GB, free: 14.51 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.09253, allocations: 0 / 0.5136 GB, free: 14.51 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004655/0.09718, allocations: 2.689 MB / 0.5162 GB, free: 11.76 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001845/0.09737, allocations: 162.8 kB / 0.5164 GB, free: 11.6 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/0.09748, allocations: 20.69 kB / 0.5164 GB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004533/0.09793, allocations: 83.92 kB / 0.5165 GB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002558/0.09819, allocations: 172.7 kB / 0.5166 GB, free: 11.33 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.625e-05/0.09823, allocations: 23.98 kB / 0.5167 GB, free: 11.31 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003786/0.09861, allocations: 0.5666 MB / 0.5172 GB, free: 10.73 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.09861, allocations: 0 / 0.5172 GB, free: 10.73 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009334/0.09955, allocations: 467.7 kB / 0.5177 GB, free: 10.28 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.0004358/0.09998, allocations: 152.2 kB / 0.5178 GB, free: 10.12 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002091/0.1021, allocations: 1.701 MB / 0.5195 GB, free: 8.363 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1021, allocations: 0 / 0.5195 GB, free: 8.363 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001321/0.1034, allocations: 1.033 MB / 0.5205 GB, free: 7.281 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008901/0.1043, allocations: 0.6691 MB / 0.5211 GB, free: 6.582 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002566/0.1069, allocations: 2.149 MB / 0.5232 GB, free: 4.379 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001685/0.107, allocations: 270.3 kB / 0.5235 GB, free: 4.09 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002047/0.1072, allocations: 108.3 kB / 0.5236 GB, free: 3.98 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002703/0.1075, allocations: 202.2 kB / 0.5238 GB, free: 3.781 MB / 394.7 MB Notification: Performance of SimCode: time 7.51e-07/0.1075, allocations: 0 / 0.5238 GB, free: 3.781 MB / 394.7 MB Notification: Performance of Templates: time 0.02634/0.1338, allocations: 27.31 MB / 0.5505 GB, free: 8.668 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 -O2 -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 -DOMC_RUST_SIMULATION_RUNTIME -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 -O2 -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 -DOMC_RUST_SIMULATION_RUNTIME -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 -O2 -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 -DOMC_RUST_SIMULATION_RUNTIME -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 -O2 -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 -DOMC_RUST_SIMULATION_RUNTIME -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 -O2 -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 -DOMC_RUST_SIMULATION_RUNTIME -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[16] /* der(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */))) + ((data->localData[0]->realVars[12] /* previous(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */) - (data->localData[0]->realVars[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[16] /* der(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */))) + ((data->localData[0]->realVars[12] /* previous(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */) - (data->localData[0]->realVars[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[16] /* der(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */))) + ((data->localData[0]->realVars[12] /* previous(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */) - (data->localData[0]->realVars[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[16] /* der(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */))) + ((data->localData[0]->realVars[12] /* previous(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */) - (data->localData[0]->realVars[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[17] /* der(aVRTypeII.derivativeBlock.x) variable */))) + ((data->localData[0]->realVars[13] /* previous(aVRTypeII.derivativeBlock.x) variable */) - (data->localData[0]->realVars[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[17] /* der(aVRTypeII.derivativeBlock.x) variable */))) + ((data->localData[0]->realVars[13] /* previous(aVRTypeII.derivativeBlock.x) variable */) - (data->localData[0]->realVars[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[17] /* der(aVRTypeII.derivativeBlock.x) variable */))) + ((data->localData[0]->realVars[13] /* previous(aVRTypeII.derivativeBlock.x) variable */) - (data->localData[0]->realVars[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[17] /* der(aVRTypeII.derivativeBlock.x) variable */))) + ((data->localData[0]->realVars[13] /* previous(aVRTypeII.derivativeBlock.x) variable */) - (data->localData[0]->realVars[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[19] /* der(aVRTypeII.simpleLagLim.state) variable */))) + ((data->localData[0]->realVars[15] /* previous(aVRTypeII.simpleLagLim.state) variable */) - (data->localData[0]->realVars[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[19] /* der(aVRTypeII.simpleLagLim.state) variable */))) + ((data->localData[0]->realVars[15] /* previous(aVRTypeII.simpleLagLim.state) variable */) - (data->localData[0]->realVars[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[19] /* der(aVRTypeII.simpleLagLim.state) variable */))) + ((data->localData[0]->realVars[15] /* previous(aVRTypeII.simpleLagLim.state) variable */) - (data->localData[0]->realVars[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[19] /* der(aVRTypeII.simpleLagLim.state) variable */))) + ((data->localData[0]->realVars[15] /* previous(aVRTypeII.simpleLagLim.state) variable */) - (data->localData[0]->realVars[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.3448060359805822]