Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous") translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009534/0.0009534, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.194/1.194, allocations: 221.4 MB / 234.6 MB, free: 14.44 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008545/0.0008545, allocations: 83.67 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4295/0.4295, allocations: 78.02 MB / 414.5 MB, free: 10.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.482e-05/2.483e-05, allocations: 4 kB / 491.8 MB, free: 13.88 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/0.2739, allocations: 69.34 MB / 0.548 GB, free: 20.1 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1052/0.3792, allocations: 100.2 MB / 0.6458 GB, free: 208 kB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002194/0.3794, allocations: 79.91 kB / 0.6459 GB, free: 128 kB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.359/0.7385, allocations: 42.4 MB / 0.6873 GB, free: 106.3 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.7385, allocations: 0 / 0.6873 GB, free: 106.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.553e-05/0.7386, allocations: 25.88 kB / 0.6873 GB, free: 106.3 MB / 490.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.003594/0.7422, allocations: 1.723 MB / 0.689 GB, free: 105.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.7422, allocations: 15.66 kB / 0.689 GB, free: 105.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003054/0.7453, allocations: 0.5674 MB / 0.6896 GB, free: 105.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/0.7464, allocations: 0.7841 MB / 0.6903 GB, free: 105.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002031/0.7466, allocations: 264.2 kB / 0.6906 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001362/0.7468, allocations: 89.59 kB / 0.6907 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001765/0.7486, allocations: 1.244 MB / 0.6919 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.7486, allocations: 3.938 kB / 0.6919 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.185e-05/0.7487, allocations: 35.28 kB / 0.6919 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/0.7487, allocations: 19.22 kB / 0.692 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001239/0.75, allocations: 0.8462 MB / 0.6928 GB, free: 104.8 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.004777/0.7547, allocations: 3.665 MB / 0.6964 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006675/0.7614, allocations: 2.847 MB / 0.6991 GB, free: 102.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007776/0.7622, allocations: 0.6409 MB / 0.6998 GB, free: 101.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000106/0.7623, allocations: 16.81 kB / 0.6998 GB, free: 101.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007684/0.7631, allocations: 0.6173 MB / 0.7004 GB, free: 101.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=115): time 3.166e-06/0.7631, allocations: 0 / 0.7004 GB, free: 101.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=115): time 0.01132/0.7745, allocations: 4.15 MB / 0.7044 GB, free: 100.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.566e-05/0.7746, allocations: 205.4 kB / 0.7046 GB, free: 100.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/0.7756, allocations: 0.8848 MB / 0.7055 GB, free: 99.95 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000113/0.7758, allocations: 45.48 kB / 0.7055 GB, free: 99.91 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002367/0.776, allocations: 0.4977 MB / 0.706 GB, free: 99.51 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002275/0.7762, allocations: 315.8 kB / 0.7063 GB, free: 99.27 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.53e-05/0.7763, allocations: 22.69 kB / 0.7064 GB, free: 99.25 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.134e-05/0.7764, allocations: 351.6 kB / 0.7067 GB, free: 98.93 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006463/0.777, allocations: 445.3 kB / 0.7071 GB, free: 98.74 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007515/0.7778, allocations: 0.7451 MB / 0.7078 GB, free: 98.15 MB / 490.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendEquation.mo:2449:7-2449:76:writable] Error: Internal error function solveEquation failed Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendEquation.mo:2449:7-2449:76:writable] Error: Internal error function solveEquation failed Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.001597/0.7794, allocations: 1.151 MB / 0.709 GB, free: 97.07 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/0.7794, allocations: 4 kB / 0.709 GB, free: 97.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.01094/0.7904, allocations: 4.203 MB / 0.7131 GB, free: 93.67 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.361e-05/0.7904, allocations: 63.36 kB / 0.7131 GB, free: 93.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.738e-05/0.7905, allocations: 12 kB / 0.7131 GB, free: 93.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0046/0.7951, allocations: 1.467 MB / 0.7146 GB, free: 92.44 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000809/0.7959, allocations: 205 kB / 0.7148 GB, free: 92.26 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01159/0.8075, allocations: 6.558 MB / 0.7212 GB, free: 86.05 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00165/0.8092, allocations: 203.2 kB / 0.7214 GB, free: 85.86 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/0.8093, allocations: 55.98 kB / 0.7214 GB, free: 85.8 MB / 490.7 MB Warning: Assuming fixed start value for the following 3 variables: order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order4.delta:VARIABLE(start = order4.delta0 unit = "rad" ) "Rotor angle" type: Real Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization sytem: $DER.aVRTypeII.firstOrder2.y = 0.0 $DER.aVRTypeII.derivativeBlock.x = 0.0 aVRTypeII.simpleLagLim.state = 0.0 aVRTypeII.ExcitationSystem.y = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {18 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003811/0.8097, allocations: 218.5 kB / 0.7216 GB, free: 85.58 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001759/0.8115, allocations: 0.6882 MB / 0.7223 GB, free: 84.88 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01217/0.8237, allocations: 4.412 MB / 0.7266 GB, free: 80.44 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.8237, allocations: 15.98 kB / 0.7266 GB, free: 80.43 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.8237, allocations: 8 kB / 0.7266 GB, free: 80.42 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.482e-05/0.8237, allocations: 7.547 kB / 0.7266 GB, free: 80.41 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.01202/0.8358, allocations: 5.478 MB / 0.732 GB, free: 74.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/0.8358, allocations: 0 / 0.732 GB, free: 74.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005192/0.8363, allocations: 107.9 kB / 0.7321 GB, free: 74.74 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004579/0.8409, allocations: 1.615 MB / 0.7337 GB, free: 73.11 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-05/0.841, allocations: 27.98 kB / 0.7337 GB, free: 73.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01396/0.855, allocations: 10.08 MB / 0.7435 GB, free: 62.62 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.855, allocations: 0 / 0.7435 GB, free: 62.62 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01319/0.8682, allocations: 5.295 MB / 0.7487 GB, free: 57.26 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004899/0.8687, allocations: 235.2 kB / 0.7489 GB, free: 57.01 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002063/0.869, allocations: 31.95 kB / 0.749 GB, free: 56.98 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001226/0.8702, allocations: 143.9 kB / 0.7491 GB, free: 56.84 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005357/0.8707, allocations: 180.5 kB / 0.7493 GB, free: 56.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.268e-05/0.8709, allocations: 35.92 kB / 0.7493 GB, free: 56.63 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008224/0.8717, allocations: 0.6822 MB / 0.75 GB, free: 55.94 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.8717, allocations: 0 / 0.75 GB, free: 55.94 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001311/0.873, allocations: 451.6 kB / 0.7504 GB, free: 55.5 MB / 490.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(19,24.4%) 13} * Non-linear torn systems: 1 {4 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.000252/0.8733, allocations: 155 kB / 0.7506 GB, free: 55.34 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004374/0.8776, allocations: 2.132 MB / 0.7526 GB, free: 53.17 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.8777, allocations: 0 / 0.7526 GB, free: 53.17 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003222/0.8809, allocations: 1.379 MB / 0.754 GB, free: 51.77 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001409/0.8823, allocations: 0.5697 MB / 0.7545 GB, free: 51.18 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002885/0.8852, allocations: 1.8 MB / 0.7563 GB, free: 49.36 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004299/0.8857, allocations: 1.183 MB / 0.7575 GB, free: 48.14 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003487/0.886, allocations: 98.7 kB / 0.7575 GB, free: 48.04 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001991/0.8862, allocations: 71.42 kB / 0.7576 GB, free: 47.97 MB / 490.7 MB Notification: Performance of SimCode: time 6.01e-07/0.8862, allocations: 0 / 0.7576 GB, free: 47.97 MB / 490.7 MB Notification: Performance of Templates: time 0.02626/0.9125, allocations: 20.39 MB / 0.7775 GB, free: 27.83 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.makefile make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.o OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_functions.o OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_functions.c OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_functions.c:35:11: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_y0 == 0.0)) ~~~~^~~~~~ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_functions.c:35:11: note: remove extraneous parentheses around the comparison to silence this warning if((_y0 == 0.0)) ~ ^ ~ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_functions.c:35:11: note: use '=' to turn this equality comparison into an assignment if((_y0 == 0.0)) ^~ = 1 warning generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_records.o OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_records.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_01exo.o OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_01exo.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.o OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:290:46: error: use of undeclared identifier 'clockIndex' res[0] = (data->simulationInfo->clocksData[clockIndex].interval) * (((data->simulationInfo->clocksData[clockIndex].cnt == 0)?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_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:290:106: error: use of undeclared identifier 'clockIndex' res[0] = (data->simulationInfo->clocksData[clockIndex].interval) * (((data->simulationInfo->clocksData[clockIndex].cnt == 0)?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_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:292:46: error: use of undeclared identifier 'clockIndex' res[1] = (data->simulationInfo->clocksData[clockIndex].interval) * (((data->simulationInfo->clocksData[clockIndex].cnt == 0)?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_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:292:106: error: use of undeclared identifier 'clockIndex' res[1] = (data->simulationInfo->clocksData[clockIndex].interval) * (((data->simulationInfo->clocksData[clockIndex].cnt == 0)?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_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:294:46: error: use of undeclared identifier 'clockIndex' res[2] = (data->simulationInfo->clocksData[clockIndex].interval) * (((data->simulationInfo->clocksData[clockIndex].cnt == 0)?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_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:294:106: error: use of undeclared identifier 'clockIndex' res[2] = (data->simulationInfo->clocksData[clockIndex].interval) * (((data->simulationInfo->clocksData[clockIndex].cnt == 0)?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 */; ^ 6 errors generated. make: *** [: OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.o] Error 1