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/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.001/0.001, allocations: 93.06 kB / 19.65 MB, free: 272 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 0.8945/0.8945, allocations: 177.2 MB / 200 MB, free: 5.508 MB / 186.7 MB " [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.001158/0.001158, allocations: 171.5 kB / 256.6 MB, free: 12.98 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.2638/0.2638, allocations: 80.24 MB / 393.4 MB, free: 2.16 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.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 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_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_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0.7656 kB / 489.8 MB, free: 11.44 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.856e-05/1.999e-05, allocations: 8.562 kB / 489.8 MB, free: 11.43 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous): time 0.005314/0.005334, allocations: 6.493 MB / 496.3 MB, free: 4.922 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003465/0.008799, allocations: 2.029 MB / 498.4 MB, free: 2.898 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004988/0.009298, allocations: 16.78 kB / 498.4 MB, free: 2.883 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000576/0.009874, allocations: 245.8 kB / 498.6 MB, free: 2.641 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001392/0.01127, allocations: 0.8758 MB / 499.5 MB, free: 1.766 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009004/0.01217, allocations: 0.6652 MB / 0.4884 GB, free: 1.109 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001083/0.01325, allocations: 1.612 MB / 0.49 GB, free: 15.49 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002741/0.01352, allocations: 228.2 kB / 0.4902 GB, free: 15.26 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007232/0.01425, allocations: 0.9233 MB / 0.4911 GB, free: 14.33 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005603/0.01481, allocations: 0.6829 MB / 0.4918 GB, free: 13.65 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001437/0.01495, allocations: 124 kB / 0.4919 GB, free: 13.53 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003358/0.01529, allocations: 267.8 kB / 0.4922 GB, free: 13.27 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000446/0.01573, allocations: 346.5 kB / 0.4925 GB, free: 12.93 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002901/0.01602, allocations: 471 kB / 0.4929 GB, free: 12.46 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009489/0.01697, allocations: 1.245 MB / 0.4942 GB, free: 11.21 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.01697, allocations: 0.5625 kB / 0.4942 GB, free: 11.21 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.01697, allocations: 1.875 kB / 0.4942 GB, free: 11.21 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.016e-05/0.01698, allocations: 0 / 0.4942 GB, free: 11.21 MB / 426.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.004357/0.02134, allocations: 2.941 MB / 0.497 GB, free: 8.238 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.02138, allocations: 12.03 kB / 0.497 GB, free: 8.227 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002725/0.0241, allocations: 0.9312 MB / 0.498 GB, free: 7.305 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009217/0.02503, allocations: 0.8284 MB / 0.4988 GB, free: 6.438 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001916/0.02522, allocations: 337.3 kB / 0.4991 GB, free: 6.051 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.02533, allocations: 84 kB / 0.4992 GB, free: 5.969 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001517/0.02685, allocations: 1 MB / 0.5001 GB, free: 4.93 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.02687, allocations: 0 / 0.5001 GB, free: 4.93 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.894e-05/0.02693, allocations: 35.94 kB / 0.5002 GB, free: 4.895 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.555e-05/0.02695, allocations: 20 kB / 0.5002 GB, free: 4.875 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007584/0.02771, allocations: 0.4972 MB / 0.5007 GB, free: 4.375 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 preOpt removeSimpleEquations (simulation): time 0.003251/0.03096, allocations: 2.712 MB / 0.5033 GB, free: 1.582 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002588/0.03355, allocations: 1.354 MB / 0.5047 GB, free: 180 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004969/0.03404, allocations: 413.2 kB / 0.505 GB, free: 15.75 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.355e-05/0.03412, allocations: 28.64 kB / 0.5051 GB, free: 15.73 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005476/0.03466, allocations: 0.4931 MB / 0.5056 GB, free: 15.2 MB / 442.7 MB Notification: Performance of pre-optimization done (n=115): time 2.474e-06/0.03467, allocations: 0 / 0.5056 GB, free: 15.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=115): time 0.01192/0.04659, allocations: 5.154 MB / 0.5106 GB, free: 10.01 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.0467, allocations: 198.9 kB / 0.5108 GB, free: 9.777 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008035/0.0475, allocations: 0.9803 MB / 0.5117 GB, free: 8.781 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.415e-05/0.04757, allocations: 53.77 kB / 0.5118 GB, free: 8.723 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002881/0.04786, allocations: 0.5435 MB / 0.5123 GB, free: 8.172 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002017/0.04806, allocations: 329.2 kB / 0.5126 GB, free: 7.848 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002994/0.04836, allocations: 277.1 kB / 0.5129 GB, free: 7.566 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000406/0.04877, allocations: 0.5394 MB / 0.5134 GB, free: 7.02 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005148/0.04928, allocations: 415.2 kB / 0.5138 GB, free: 6.602 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006234/0.04991, allocations: 0.6475 MB / 0.5144 GB, free: 5.871 MB / 442.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.0206/0.07051, allocations: 3.507 MB / 0.5179 GB, free: 2.215 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/0.07052, allocations: 0 / 0.5179 GB, free: 2.215 MB / 442.7 MB Notification: Performance of matching and sorting (n=179) (initialization): time 0.005733/0.07625, allocations: 2.956 MB / 0.5208 GB, free: 15.22 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.813e-05/0.0763, allocations: 59.41 kB / 0.5208 GB, free: 15.15 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.07631, allocations: 4 kB / 0.5208 GB, free: 15.14 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004074/0.08039, allocations: 1.532 MB / 0.5223 GB, free: 13.61 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005907/0.08098, allocations: 251.6 kB / 0.5226 GB, free: 13.36 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006095/0.08707, allocations: 4.368 MB / 0.5268 GB, free: 8.863 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007443/0.08782, allocations: 151.2 kB / 0.527 GB, free: 8.715 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.299e-05/0.08789, allocations: 51.98 kB / 0.527 GB, free: 8.664 MB / 458.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.0006762/0.08857, allocations: 270.4 kB / 0.5273 GB, free: 8.383 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009175/0.08948, allocations: 0.554 MB / 0.5278 GB, free: 7.812 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005049/0.09453, allocations: 2.776 MB / 0.5305 GB, free: 5.004 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.09454, allocations: 12 kB / 0.5305 GB, free: 4.992 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.896e-06/0.09455, allocations: 8 kB / 0.5305 GB, free: 4.984 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.09456, allocations: 11.97 kB / 0.5306 GB, free: 4.973 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006522/0.1011, allocations: 3.798 MB / 0.5343 GB, free: 1.117 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.1011, allocations: 0 / 0.5343 GB, free: 1.117 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002943/0.1014, allocations: 111.8 kB / 0.5344 GB, free: 1.008 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004848/0.1062, allocations: 1.828 MB / 0.5362 GB, free: 15.17 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.111e-05/0.1063, allocations: 31.92 kB / 0.5362 GB, free: 15.14 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00889/0.1152, allocations: 9.039 MB / 0.545 GB, free: 5.727 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.1152, allocations: 0 / 0.545 GB, free: 5.727 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005737/0.1209, allocations: 3.329 MB / 0.5483 GB, free: 2.336 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004688/0.1214, allocations: 154.8 kB / 0.5484 GB, free: 2.184 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001198/0.1215, allocations: 28 kB / 0.5484 GB, free: 2.156 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004489/0.122, allocations: 83.92 kB / 0.5485 GB, free: 2.074 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002975/0.1223, allocations: 168.7 kB / 0.5487 GB, free: 1.906 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.284e-05/0.1223, allocations: 32 kB / 0.5487 GB, free: 1.875 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005041/0.1228, allocations: 0.6215 MB / 0.5493 GB, free: 1.246 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1228, allocations: 4 kB / 0.5493 GB, free: 1.242 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0009757/0.1238, allocations: 471.6 kB / 0.5498 GB, free: 0.7812 MB / 474.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.0002395/0.124, allocations: 158 kB / 0.5499 GB, free: 0.6211 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002453/0.1265, allocations: 1.803 MB / 0.5517 GB, free: 14.76 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.1265, allocations: 0 / 0.5517 GB, free: 14.76 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001441/0.1279, allocations: 1.068 MB / 0.5527 GB, free: 13.64 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009214/0.1289, allocations: 0.6621 MB / 0.5534 GB, free: 12.94 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002976/0.1318, allocations: 2.163 MB / 0.5555 GB, free: 10.72 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001653/0.132, allocations: 270.3 kB / 0.5557 GB, free: 10.43 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001938/0.1322, allocations: 108.2 kB / 0.5558 GB, free: 10.32 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001741/0.1324, allocations: 84.48 kB / 0.5559 GB, free: 10.24 MB / 490.7 MB Notification: Performance of SimCode: time 1.152e-06/0.1324, allocations: 4 kB / 0.5559 GB, free: 10.24 MB / 490.7 MB Notification: Performance of Templates: time 0.0271/0.1595, allocations: 27.2 MB / 0.5825 GB, free: 15.16 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.makefile [Timeout 660] make -j1 -f OpenIPSL_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_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_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.o OpenIPSL_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_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_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:71:11: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 71 | if((_y0 == 0.0)) | ~~~~^~~~~~ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_functions.c:71:11: note: remove extraneous parentheses around the comparison to silence this warning 71 | if((_y0 == 0.0)) | ~ ^ ~ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_functions.c:71:11: note: use '=' to turn this equality comparison into an assignment 71 | 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_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_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_records.o OpenIPSL_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_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_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_01exo.o OpenIPSL_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_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_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: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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.o] Error 1 [Calling os._exit(0), Time elapsed: 2.5568863870576024]