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.05637/0.05637, allocations: 9.519 MB / 29.08 MB, free: 6.023 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.0009634/0.0009634, allocations: 91.28 kB / 35.21 MB, free: 0.5977 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.092/1.092, allocations: 158.6 MB / 199.9 MB, free: 7.137 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.001582/0.001582, allocations: 168.5 kB / 255.2 MB, free: 15.73 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.2178/0.2178, allocations: 59.71 MB / 370.1 MB, free: 12.48 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.463e-06/1.463e-06, allocations: 0 / 460 MB, free: 37.77 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.623e-05/1.769e-05, allocations: 2.312 kB / 460 MB, free: 37.77 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous): time 0.004916/0.004934, allocations: 6.506 MB / 466.5 MB, free: 33.53 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003356/0.008289, allocations: 1.955 MB / 468.4 MB, free: 32.2 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005912/0.008881, allocations: 10.44 kB / 468.4 MB, free: 32.2 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005948/0.009475, allocations: 249.4 kB / 468.7 MB, free: 32.07 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001392/0.01087, allocations: 0.8559 MB / 469.5 MB, free: 31.51 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.000962/0.01183, allocations: 0.6786 MB / 470.2 MB, free: 31.18 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0014/0.01323, allocations: 1.609 MB / 471.8 MB, free: 30.36 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003442/0.01357, allocations: 222.5 kB / 472 MB, free: 30.25 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009869/0.01456, allocations: 0.923 MB / 473 MB, free: 29.82 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006301/0.01519, allocations: 0.6855 MB / 473.7 MB, free: 29.6 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001685/0.01536, allocations: 127 kB / 473.8 MB, free: 29.59 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000386/0.01575, allocations: 249.2 kB / 474 MB, free: 29.56 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002201/0.01597, allocations: 340 kB / 474.4 MB, free: 29.34 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00038/0.01635, allocations: 469.3 kB / 474.8 MB, free: 29.1 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001189/0.01753, allocations: 1.232 MB / 476 MB, free: 28.46 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.01754, allocations: 0.5625 kB / 476 MB, free: 28.46 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.01754, allocations: 4.594 kB / 476 MB, free: 28.46 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.789e-05/0.01756, allocations: 0 / 476 MB, free: 28.46 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.005017/0.02257, allocations: 2.912 MB / 479 MB, free: 27.08 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.02262, allocations: 14.64 kB / 479 MB, free: 27.08 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002773/0.02539, allocations: 0.9161 MB / 479.9 MB, free: 26.87 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001188/0.02658, allocations: 0.8295 MB / 480.7 MB, free: 26.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002178/0.0268, allocations: 331.1 kB / 481 MB, free: 26.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001373/0.02693, allocations: 88 kB / 481.1 MB, free: 26 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001476/0.02841, allocations: 0.9956 MB / 482.1 MB, free: 25.63 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.02843, allocations: 2.656 kB / 482.1 MB, free: 25.63 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.257e-05/0.0285, allocations: 35.22 kB / 482.2 MB, free: 25.61 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.961e-05/0.02852, allocations: 18.88 kB / 482.2 MB, free: 25.61 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009531/0.02947, allocations: 0.4998 MB / 482.7 MB, free: 25.5 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.003446/0.03292, allocations: 2.677 MB / 485.4 MB, free: 23.82 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002565/0.03548, allocations: 1.358 MB / 486.7 MB, free: 22.86 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004362/0.03592, allocations: 416.2 kB / 487.1 MB, free: 22.44 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.134e-05/0.03599, allocations: 20.66 kB / 487.1 MB, free: 22.42 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004821/0.03647, allocations: 0.5009 MB / 487.6 MB, free: 21.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=115): time 2.685e-06/0.03647, allocations: 0 / 487.6 MB, free: 21.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=115): time 0.0108/0.04727, allocations: 5.085 MB / 492.7 MB, free: 16.76 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.218e-05/0.04737, allocations: 199.6 kB / 492.9 MB, free: 16.53 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006774/0.04804, allocations: 0.9842 MB / 493.9 MB, free: 15.53 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.037e-05/0.04811, allocations: 57.75 kB / 494 MB, free: 15.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002025/0.04832, allocations: 0.5318 MB / 494.5 MB, free: 14.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000164/0.04848, allocations: 337.2 kB / 494.8 MB, free: 14.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002688/0.04875, allocations: 277.1 kB / 495.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.487e-05/0.04882, allocations: 0.5277 MB / 495.6 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004582/0.04928, allocations: 419.2 kB / 496 MB, free: 13.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005367/0.04982, allocations: 0.6436 MB / 496.7 MB, free: 12.63 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.01953/0.06935, allocations: 3.383 MB / 0.4883 GB, free: 9.105 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.06935, allocations: 3.938 kB / 0.4883 GB, free: 9.102 MB / 362.7 MB Notification: Performance of matching and sorting (n=179) (initialization): time 0.004816/0.07417, allocations: 2.964 MB / 0.4912 GB, free: 6.098 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.947e-05/0.07422, allocations: 59.41 kB / 0.4913 GB, free: 6.027 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/0.07423, allocations: 4 kB / 0.4913 GB, free: 6.023 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003945/0.07818, allocations: 1.534 MB / 0.4928 GB, free: 4.484 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005615/0.07874, allocations: 251.7 kB / 0.493 GB, free: 4.238 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005703/0.08444, allocations: 4.359 MB / 0.4973 GB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000795/0.08524, allocations: 160.8 kB / 0.4974 GB, free: 15.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.343e-05/0.08531, allocations: 47.98 kB / 0.4975 GB, free: 15.55 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.0004734/0.08578, allocations: 276 kB / 0.4978 GB, free: 15.26 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009437/0.08673, allocations: 0.554 MB / 0.4983 GB, free: 14.69 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005239/0.09197, allocations: 2.768 MB / 0.501 GB, free: 11.9 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/0.09198, allocations: 12 kB / 0.501 GB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.268e-05/0.09199, allocations: 8 kB / 0.501 GB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.092, allocations: 7.969 kB / 0.501 GB, free: 11.87 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006722/0.09872, allocations: 3.802 MB / 0.5047 GB, free: 8.008 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.09873, allocations: 0 / 0.5047 GB, free: 8.008 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002897/0.09902, allocations: 108.4 kB / 0.5048 GB, free: 7.902 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004728/0.1037, allocations: 1.828 MB / 0.5066 GB, free: 6.062 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.949e-05/0.1038, allocations: 27.92 kB / 0.5067 GB, free: 6.035 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009355/0.1132, allocations: 9.036 MB / 0.5155 GB, free: 12.63 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.281e-06/0.1132, allocations: 11.94 kB / 0.5155 GB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006341/0.1195, allocations: 3.326 MB / 0.5187 GB, free: 9.227 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002573/0.1198, allocations: 162.8 kB / 0.5189 GB, free: 9.066 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/0.1199, allocations: 28 kB / 0.5189 GB, free: 9.039 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00049/0.1204, allocations: 83.92 kB / 0.519 GB, free: 8.957 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003437/0.1207, allocations: 168.6 kB / 0.5192 GB, free: 8.793 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.897e-05/0.1208, allocations: 35.98 kB / 0.5192 GB, free: 8.758 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005876/0.1214, allocations: 0.6176 MB / 0.5198 GB, free: 8.133 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1214, allocations: 0 / 0.5198 GB, free: 8.133 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00129/0.1227, allocations: 475.6 kB / 0.5202 GB, free: 7.668 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.0002967/0.123, allocations: 144.2 kB / 0.5204 GB, free: 7.52 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002529/0.1255, allocations: 1.791 MB / 0.5221 GB, free: 5.664 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1255, allocations: 0 / 0.5221 GB, free: 5.664 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001504/0.127, allocations: 1.073 MB / 0.5232 GB, free: 4.547 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/0.128, allocations: 0.6713 MB / 0.5238 GB, free: 3.844 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003292/0.1313, allocations: 2.156 MB / 0.5259 GB, free: 1.637 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002182/0.1315, allocations: 274.3 kB / 0.5262 GB, free: 1.34 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002223/0.1318, allocations: 104.3 kB / 0.5263 GB, free: 1.234 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001807/0.132, allocations: 80.48 kB / 0.5264 GB, free: 1.156 MB / 394.7 MB Notification: Performance of SimCode: time 1.092e-06/0.132, allocations: 0 / 0.5264 GB, free: 1.156 MB / 394.7 MB Notification: Performance of Templates: time 0.02961/0.1616, allocations: 27.18 MB / 0.5529 GB, free: 6.074 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:42:11: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 42 | if((_y0 == 0.0)) | ~~~~^~~~~~ OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_functions.c:42:11: note: remove extraneous parentheses around the comparison to silence this warning 42 | if((_y0 == 0.0)) | ~ ^ ~ OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_functions.c:42:11: note: use '=' to turn this equality comparison into an assignment 42 | 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.958310706075281]