Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.conf.json 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.001859/0.001859, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.496/1.496, allocations: 177.1 MB / 199.7 MB, free: 5.816 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001602/0.001602, allocations: 156.7 kB / 256.3 MB, free: 13.17 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.462/0.462, allocations: 80.39 MB / 393.1 MB, free: 2.141 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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) Running command: translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 489.2 MB, free: 11.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.737e-05/2.919e-05, allocations: 6.141 kB / 489.2 MB, free: 11.46 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous): time 0.008864/0.008893, allocations: 6.033 MB / 495.3 MB, free: 5.41 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004798/0.01369, allocations: 1.99 MB / 497.3 MB, free: 3.426 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008943/0.01459, allocations: 14.22 kB / 497.3 MB, free: 3.414 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009427/0.01553, allocations: 245.8 kB / 497.5 MB, free: 3.172 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002629/0.01816, allocations: 0.8544 MB / 498.4 MB, free: 2.32 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001692/0.01985, allocations: 0.665 MB / 499 MB, free: 1.664 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00226/0.02211, allocations: 1.608 MB / 0.4889 GB, free: 52 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005053/0.02261, allocations: 227 kB / 0.4891 GB, free: 15.81 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001387/0.024, allocations: 0.9202 MB / 0.49 GB, free: 14.89 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001009/0.02501, allocations: 0.6705 MB / 0.4907 GB, free: 14.22 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000216/0.02523, allocations: 124 kB / 0.4908 GB, free: 14.1 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000592/0.02582, allocations: 284.5 kB / 0.4911 GB, free: 13.82 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000375/0.02619, allocations: 334.5 kB / 0.4914 GB, free: 13.49 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005843/0.02678, allocations: 467.5 kB / 0.4918 GB, free: 13.04 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002289/0.02907, allocations: 1.763 MB / 0.4936 GB, free: 11.27 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.02907, allocations: 1.281 kB / 0.4936 GB, free: 11.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.02907, allocations: 3.938 kB / 0.4936 GB, free: 11.26 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.85e-05/0.02909, allocations: 3.938 kB / 0.4936 GB, free: 11.26 MB / 378.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.009775/0.03887, allocations: 2.827 MB / 0.4963 GB, free: 8.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.03891, allocations: 12.02 kB / 0.4963 GB, free: 8.398 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005469/0.04438, allocations: 0.9256 MB / 0.4972 GB, free: 7.484 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002013/0.04639, allocations: 0.8658 MB / 0.4981 GB, free: 6.582 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000424/0.04681, allocations: 337.8 kB / 0.4984 GB, free: 6.199 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002129/0.04703, allocations: 91.95 kB / 0.4985 GB, free: 6.109 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0033/0.05033, allocations: 1.442 MB / 0.4999 GB, free: 4.633 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.05035, allocations: 0 / 0.4999 GB, free: 4.633 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001131/0.05046, allocations: 31.94 kB / 0.4999 GB, free: 4.602 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.135e-05/0.05048, allocations: 20 kB / 0.5 GB, free: 4.582 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002384/0.05287, allocations: 1.022 MB / 0.501 GB, free: 3.555 MB / 378.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.007195/0.06006, allocations: 2.77 MB / 0.5037 GB, free: 0.7188 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008215/0.06828, allocations: 2.127 MB / 0.5057 GB, free: 14.55 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001758/0.07003, allocations: 0.7253 MB / 0.5064 GB, free: 13.81 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001226/0.07016, allocations: 20.66 kB / 0.5065 GB, free: 13.79 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00176/0.07192, allocations: 0.7759 MB / 0.5072 GB, free: 12.99 MB / 394.7 MB Notification: Performance of pre-optimization done (n=115): time 3.286e-06/0.07192, allocations: 4 kB / 0.5072 GB, free: 12.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=115): time 0.0324/0.1043, allocations: 7.202 MB / 0.5143 GB, free: 5.742 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000201/0.1045, allocations: 194.8 kB / 0.5144 GB, free: 5.516 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001886/0.1064, allocations: 1.066 MB / 0.5155 GB, free: 4.434 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000165/0.1066, allocations: 45.7 kB / 0.5155 GB, free: 4.383 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005254/0.1071, allocations: 0.494 MB / 0.516 GB, free: 3.883 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004093/0.1075, allocations: 321.3 kB / 0.5163 GB, free: 3.566 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000519/0.108, allocations: 263.5 kB / 0.5166 GB, free: 3.305 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003448/0.1084, allocations: 365.9 kB / 0.5169 GB, free: 2.941 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001752/0.1101, allocations: 0.7569 MB / 0.5177 GB, free: 2.172 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001939/0.1121, allocations: 0.948 MB / 0.5186 GB, free: 1.16 MB / 394.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.06249/0.1745, allocations: 6.898 MB / 0.5253 GB, free: 10.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.859e-06/0.1746, allocations: 0 / 0.5253 GB, free: 10.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.01481/0.1894, allocations: 4.273 MB / 0.5295 GB, free: 5.805 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.857e-05/0.1895, allocations: 63.41 kB / 0.5296 GB, free: 5.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/0.1895, allocations: 3.984 kB / 0.5296 GB, free: 5.727 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0117/0.2012, allocations: 2.258 MB / 0.5318 GB, free: 3.469 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001295/0.2025, allocations: 251.6 kB / 0.532 GB, free: 3.223 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02204/0.2245, allocations: 7.995 MB / 0.5398 GB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001803/0.2263, allocations: 179.2 kB / 0.54 GB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001513/0.2265, allocations: 51.97 kB / 0.54 GB, free: 10.88 MB / 426.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 (147): * Single equations (assignments): 144 * 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 {(19,12,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007371/0.2272, allocations: 307.8 kB / 0.5403 GB, free: 10.57 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00225/0.2294, allocations: 0.6852 MB / 0.541 GB, free: 9.867 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01554/0.245, allocations: 4.109 MB / 0.545 GB, free: 5.73 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.479e-05/0.245, allocations: 16 kB / 0.545 GB, free: 5.715 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.429e-05/0.245, allocations: 4 kB / 0.545 GB, free: 5.711 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.961e-05/0.2451, allocations: 7.984 kB / 0.545 GB, free: 5.703 MB / 426.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 postOpt removeSimpleEquations (simulation): time 0.01729/0.2623, allocations: 5.082 MB / 0.55 GB, free: 0.5664 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.328e-05/0.2624, allocations: 0 / 0.55 GB, free: 0.5664 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000643/0.263, allocations: 111.8 kB / 0.5501 GB, free: 468 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01359/0.2766, allocations: 2.635 MB / 0.5527 GB, free: 13.81 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002192/0.2768, allocations: 27.94 kB / 0.5527 GB, free: 13.79 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02681/0.3036, allocations: 11.64 MB / 0.5641 GB, free: 1.836 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/0.3036, allocations: 3.938 kB / 0.5641 GB, free: 1.832 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1817/0.4853, allocations: 5.177 MB / 0.5691 GB, free: 94.55 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005008/0.4858, allocations: 164.2 kB / 0.5693 GB, free: 94.55 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003639/0.4861, allocations: 22.94 kB / 0.5693 GB, free: 94.55 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001388/0.4875, allocations: 114.5 kB / 0.5694 GB, free: 94.55 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006428/0.4882, allocations: 188.1 kB / 0.5696 GB, free: 94.55 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001439/0.4883, allocations: 32.25 kB / 0.5696 GB, free: 94.55 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001299/0.4896, allocations: 0.7189 MB / 0.5703 GB, free: 94.44 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4896, allocations: 1.844 kB / 0.5703 GB, free: 94.44 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001858/0.4915, allocations: 473.6 kB / 0.5708 GB, free: 94.44 MB / 442.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.0003586/0.4918, allocations: 140.3 kB / 0.5709 GB, free: 94.36 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006538/0.4984, allocations: 2.435 MB / 0.5733 GB, free: 93.65 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.4984, allocations: 1.031 kB / 0.5733 GB, free: 93.65 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003957/0.5023, allocations: 1.353 MB / 0.5746 GB, free: 93.13 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001971/0.5043, allocations: 0.6185 MB / 0.5752 GB, free: 92.72 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004596/0.5089, allocations: 2.343 MB / 0.5775 GB, free: 91.52 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005559/0.5095, allocations: 0.5669 MB / 0.5781 GB, free: 91.39 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004041/0.5099, allocations: 113.4 kB / 0.5782 GB, free: 91.37 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000269/0.5101, allocations: 79.28 kB / 0.5782 GB, free: 91.36 MB / 442.7 MB Notification: Performance of SimCode: time 1.523e-06/0.5101, allocations: 0 / 0.5782 GB, free: 91.36 MB / 442.7 MB Notification: Performance of Templates: time 0.03018/0.5403, allocations: 25.44 MB / 0.6031 GB, free: 71.43 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.makefile [Timeout 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_dev_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_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.o OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_dev_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_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_functions.o OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_functions.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_dev_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_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_records.o OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_records.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_dev_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_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_01exo.o OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_01exo.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_dev_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_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.o OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:262:46: error: use of undeclared identifier 'baseClockIndex'; did you mean 'clockIndex'? 262 | res[0] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[data->simulationInfo->realVarsIndex[16]] /* der(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */))) + ((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[12]] /* previous(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[27]] /* aVRTypeII.ExcitationSystem.x_scaled[1] CLOCKED_STATE */)); | ^~~~~~~~~~~~~~ | clockIndex OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:208:21: note: 'clockIndex' declared here 208 | int i,j;const int clockIndex = 1; | ^ OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:262:72: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? 262 | res[0] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[data->simulationInfo->realVarsIndex[16]] /* der(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */))) + ((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[12]] /* previous(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[27]] /* aVRTypeII.ExcitationSystem.x_scaled[1] CLOCKED_STATE */)); | ^~~~~~~~~~~~~ | clockIndex OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:208:21: note: 'clockIndex' declared here 208 | int i,j;const int clockIndex = 1; | ^ OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:262:149: error: use of undeclared identifier 'baseClockIndex'; did you mean 'clockIndex'? 262 | res[0] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[data->simulationInfo->realVarsIndex[16]] /* der(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */))) + ((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[12]] /* previous(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[27]] /* aVRTypeII.ExcitationSystem.x_scaled[1] CLOCKED_STATE */)); | ^~~~~~~~~~~~~~ | clockIndex OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:208:21: note: 'clockIndex' declared here 208 | int i,j;const int clockIndex = 1; | ^ OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:262:175: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? 262 | res[0] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[data->simulationInfo->realVarsIndex[16]] /* der(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */))) + ((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[12]] /* previous(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[27]] /* aVRTypeII.ExcitationSystem.x_scaled[1] CLOCKED_STATE */)); | ^~~~~~~~~~~~~ | clockIndex OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:208:21: note: 'clockIndex' declared here 208 | int i,j;const int clockIndex = 1; | ^ OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:266:46: error: use of undeclared identifier 'baseClockIndex'; did you mean 'clockIndex'? 266 | res[2] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[data->simulationInfo->realVarsIndex[17]] /* der(aVRTypeII.derivativeBlock.x) variable */))) + ((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[13]] /* previous(aVRTypeII.derivativeBlock.x) variable */) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[35]] /* aVRTypeII.derivativeBlock.x CLOCKED_STATE */)); | ^~~~~~~~~~~~~~ | clockIndex OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:208:21: note: 'clockIndex' declared here 208 | int i,j;const int clockIndex = 1; | ^ OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:266:72: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? 266 | res[2] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[data->simulationInfo->realVarsIndex[17]] /* der(aVRTypeII.derivativeBlock.x) variable */))) + ((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[13]] /* previous(aVRTypeII.derivativeBlock.x) variable */) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[35]] /* aVRTypeII.derivativeBlock.x CLOCKED_STATE */)); | ^~~~~~~~~~~~~ | clockIndex OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:208:21: note: 'clockIndex' declared here 208 | int i,j;const int clockIndex = 1; | ^ OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:266:149: error: use of undeclared identifier 'baseClockIndex'; did you mean 'clockIndex'? 266 | res[2] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[data->simulationInfo->realVarsIndex[17]] /* der(aVRTypeII.derivativeBlock.x) variable */))) + ((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[13]] /* previous(aVRTypeII.derivativeBlock.x) variable */) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[35]] /* aVRTypeII.derivativeBlock.x CLOCKED_STATE */)); | ^~~~~~~~~~~~~~ | clockIndex OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:208:21: note: 'clockIndex' declared here 208 | int i,j;const int clockIndex = 1; | ^ OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:266:175: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? 266 | res[2] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[data->simulationInfo->realVarsIndex[17]] /* der(aVRTypeII.derivativeBlock.x) variable */))) + ((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[13]] /* previous(aVRTypeII.derivativeBlock.x) variable */) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[35]] /* aVRTypeII.derivativeBlock.x CLOCKED_STATE */)); | ^~~~~~~~~~~~~ | clockIndex OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:208:21: note: 'clockIndex' declared here 208 | int i,j;const int clockIndex = 1; | ^ OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:268:46: error: use of undeclared identifier 'baseClockIndex'; did you mean 'clockIndex'? 268 | res[3] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[data->simulationInfo->realVarsIndex[19]] /* der(aVRTypeII.simpleLagLim.state) variable */))) + ((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[15]] /* previous(aVRTypeII.simpleLagLim.state) variable */) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[46]] /* aVRTypeII.simpleLagLim.state CLOCKED_STATE */)); | ^~~~~~~~~~~~~~ | clockIndex OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:208:21: note: 'clockIndex' declared here 208 | int i,j;const int clockIndex = 1; | ^ OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:268:72: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? 268 | res[3] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[data->simulationInfo->realVarsIndex[19]] /* der(aVRTypeII.simpleLagLim.state) variable */))) + ((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[15]] /* previous(aVRTypeII.simpleLagLim.state) variable */) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[46]] /* aVRTypeII.simpleLagLim.state CLOCKED_STATE */)); | ^~~~~~~~~~~~~ | clockIndex OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:208:21: note: 'clockIndex' declared here 208 | int i,j;const int clockIndex = 1; | ^ OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:268:149: error: use of undeclared identifier 'baseClockIndex'; did you mean 'clockIndex'? 268 | res[3] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[data->simulationInfo->realVarsIndex[19]] /* der(aVRTypeII.simpleLagLim.state) variable */))) + ((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[15]] /* previous(aVRTypeII.simpleLagLim.state) variable */) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[46]] /* aVRTypeII.simpleLagLim.state CLOCKED_STATE */)); | ^~~~~~~~~~~~~~ | clockIndex OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:208:21: note: 'clockIndex' declared here 208 | int i,j;const int clockIndex = 1; | ^ OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:268:175: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? 268 | res[3] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[data->simulationInfo->realVarsIndex[19]] /* der(aVRTypeII.simpleLagLim.state) variable */))) + ((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[15]] /* previous(aVRTypeII.simpleLagLim.state) variable */) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[46]] /* aVRTypeII.simpleLagLim.state CLOCKED_STATE */)); | ^~~~~~~~~~~~~ | clockIndex OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:208:21: note: 'clockIndex' declared here 208 | int i,j;const int clockIndex = 1; | ^ 12 errors generated. make: *** [: OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.o] Error 1 [Calling os._exit(0), Time elapsed: 4.032539388048463]