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.0009112/0.0009111, allocations: 170.8 kB / 7.646 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.283/1.283, allocations: 221.5 MB / 229.6 MB, free: 7.512 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008979/0.0008979, allocations: 82.56 kB / 280.5 MB, free: 5.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4603/0.4603, allocations: 78.07 MB / 409.3 MB, free: 6.266 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.112e-05/1.115e-05, allocations: 0 / 484.9 MB, free: 12.22 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1366, allocations: 69.36 MB / 0.5413 GB, free: 6.801 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3881/0.5247, allocations: 99.53 MB / 0.6385 GB, free: 15.99 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002369/0.525, allocations: 79.91 kB / 0.6386 GB, free: 15.91 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1133/0.6384, allocations: 41.93 MB / 0.6795 GB, free: 5.934 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.6384, allocations: 0.5625 kB / 0.6795 GB, free: 5.934 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.436e-05/0.6385, allocations: 28 kB / 0.6795 GB, free: 5.906 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.00406/0.6425, allocations: 1.716 MB / 0.6812 GB, free: 4.133 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.6426, allocations: 12.03 kB / 0.6812 GB, free: 4.121 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003229/0.6458, allocations: 0.5602 MB / 0.6818 GB, free: 3.559 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001337/0.6472, allocations: 0.8024 MB / 0.6825 GB, free: 2.703 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002698/0.6475, allocations: 237.7 kB / 0.6828 GB, free: 2.438 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/0.6476, allocations: 47.98 kB / 0.6828 GB, free: 2.391 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001379/0.649, allocations: 0.8123 MB / 0.6836 GB, free: 1.578 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001882/0.6509, allocations: 1.126 MB / 0.6847 GB, free: 428 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/0.6509, allocations: 4 kB / 0.6847 GB, free: 424 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-05/0.651, allocations: 0 / 0.6847 GB, free: 424 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.161e-05/0.651, allocations: 20 kB / 0.6847 GB, free: 404 kB / 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.005542/0.6566, allocations: 3.533 MB / 0.6882 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007202/0.6638, allocations: 2.797 MB / 0.6909 GB, free: 9.766 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008168/0.6646, allocations: 0.6006 MB / 0.6915 GB, free: 9.156 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001105/0.6647, allocations: 20.84 kB / 0.6915 GB, free: 9.133 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000844/0.6656, allocations: 0.5853 MB / 0.6921 GB, free: 8.527 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=115): time 2.585e-06/0.6656, allocations: 0 / 0.6921 GB, free: 8.527 MB / 0.4948 GB Notification: Performance of matching and sorting (n=115): time 0.01227/0.6779, allocations: 4.047 MB / 0.6961 GB, free: 4.465 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001359/0.678, allocations: 186.9 kB / 0.6962 GB, free: 4.246 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001209/0.6792, allocations: 0.8113 MB / 0.697 GB, free: 3.422 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001448/0.6794, allocations: 27.02 kB / 0.697 GB, free: 3.391 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003667/0.6798, allocations: 0.4976 MB / 0.6975 GB, free: 2.887 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000317/0.6801, allocations: 307.6 kB / 0.6978 GB, free: 2.582 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.377e-05/0.6802, allocations: 3.938 kB / 0.6978 GB, free: 2.578 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.6803, allocations: 353.9 kB / 0.6982 GB, free: 2.227 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006569/0.681, allocations: 418.6 kB / 0.6986 GB, free: 1.82 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008332/0.6818, allocations: 0.7158 MB / 0.6993 GB, free: 0.9648 MB / 0.4948 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/BackEnd/BackendEquation.mo:2416:7-2416: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/OMCompiler/Compiler/BackEnd/BackendEquation.mo:2416:7-2416: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.001731/0.6835, allocations: 1.055 MB / 0.7003 GB, free: 15.83 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.6836, allocations: 4 kB / 0.7003 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=148) (initialization): time 0.01189/0.6955, allocations: 4.021 MB / 0.7042 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.558e-05/0.6956, allocations: 64.14 kB / 0.7043 GB, free: 11.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.061e-05/0.6956, allocations: 12 kB / 0.7043 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004912/0.7005, allocations: 1.453 MB / 0.7057 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008822/0.7014, allocations: 199.7 kB / 0.7059 GB, free: 10.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01303/0.7144, allocations: 6.392 MB / 0.7122 GB, free: 3.531 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001667/0.7161, allocations: 171.2 kB / 0.7123 GB, free: 3.363 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002136/0.7164, allocations: 55.98 kB / 0.7124 GB, free: 3.309 MB / 0.5105 GB 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.000481/0.7169, allocations: 179.9 kB / 0.7125 GB, free: 3.125 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001956/0.7188, allocations: 0.6493 MB / 0.7132 GB, free: 2.461 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01302/0.7319, allocations: 4.307 MB / 0.7174 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.863e-05/0.7319, allocations: 12 kB / 0.7174 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.867e-05/0.732, allocations: 9.938 kB / 0.7174 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.618e-05/0.732, allocations: 7.969 kB / 0.7174 GB, free: 14.1 MB / 0.5261 GB 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.0137/0.7457, allocations: 5.302 MB / 0.7226 GB, free: 8.695 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.348e-06/0.7457, allocations: 0 / 0.7226 GB, free: 8.695 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006/0.7463, allocations: 103.9 kB / 0.7227 GB, free: 8.594 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005327/0.7517, allocations: 1.603 MB / 0.7243 GB, free: 6.98 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001774/0.7519, allocations: 8 kB / 0.7243 GB, free: 6.973 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01731/0.7692, allocations: 9.813 MB / 0.7338 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.253e-06/0.7692, allocations: 0.6562 kB / 0.7338 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01411/0.7834, allocations: 5.161 MB / 0.7389 GB, free: 7.605 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004508/0.7838, allocations: 227.2 kB / 0.7391 GB, free: 7.363 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002939/0.7841, allocations: 11.98 kB / 0.7391 GB, free: 7.352 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00133/0.7855, allocations: 127.9 kB / 0.7392 GB, free: 7.227 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005334/0.786, allocations: 182 kB / 0.7394 GB, free: 7.051 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001364/0.7862, allocations: 31.98 kB / 0.7394 GB, free: 7.02 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0009948/0.7872, allocations: 0.6242 MB / 0.74 GB, free: 6.391 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7872, allocations: 0 / 0.74 GB, free: 6.391 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001696/0.7889, allocations: 399.5 kB / 0.7404 GB, free: 6 MB / 0.5417 GB 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.000325/0.7892, allocations: 139.5 kB / 0.7406 GB, free: 5.855 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00488/0.7941, allocations: 2.048 MB / 0.7426 GB, free: 3.766 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.134e-06/0.7942, allocations: 448 / 0.7426 GB, free: 3.766 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00356/0.7977, allocations: 1.341 MB / 0.7439 GB, free: 2.406 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001718/0.7995, allocations: 0.5367 MB / 0.7444 GB, free: 1.844 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003718/0.8032, allocations: 1.748 MB / 0.7461 GB, free: 68 kB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007601/0.804, allocations: 1.18 MB / 0.7473 GB, free: 14.86 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004221/0.8044, allocations: 95.41 kB / 0.7473 GB, free: 14.76 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002861/0.8047, allocations: 71.42 kB / 0.7474 GB, free: 14.69 MB / 0.5573 GB Notification: Performance of SimCode: time 6.22e-07/0.8047, allocations: 0 / 0.7474 GB, free: 14.69 MB / 0.5573 GB Notification: Performance of Templates: time 0.2706/1.075, allocations: 18.83 MB / 0.7658 GB, free: 146.6 MB / 0.5573 GB 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 -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/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 -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/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:32:11: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_y0 == 0.0)) ~~~~^~~~~~ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_functions.c:32: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:32: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 -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/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 -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/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 -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/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