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.0009302/0.0009302, allocations: 88.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.9251/0.9251, allocations: 177.1 MB / 200.5 MB, free: 5.531 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.001188/0.001188, allocations: 168.6 kB / 257 MB, free: 13.04 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.2784/0.2784, allocations: 80.24 MB / 393.7 MB, free: 2.23 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 2.084e-06/2.084e-06, allocations: 0 / 489.8 MB, free: 11.89 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.692e-05/2.901e-05, allocations: 2.312 kB / 489.8 MB, free: 11.89 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous): time 0.00818/0.008209, allocations: 6.475 MB / 496.3 MB, free: 5.395 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004031/0.01224, allocations: 2.022 MB / 498.3 MB, free: 3.379 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004467/0.01269, allocations: 12 kB / 498.4 MB, free: 3.367 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00069/0.01338, allocations: 242.8 kB / 498.6 MB, free: 3.129 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001846/0.01522, allocations: 0.8698 MB / 499.5 MB, free: 2.262 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001273/0.0165, allocations: 0.672 MB / 0.4884 GB, free: 1.602 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001264/0.01776, allocations: 1.608 MB / 0.49 GB, free: 15.98 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008612/0.01862, allocations: 226.9 kB / 0.4902 GB, free: 15.75 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008292/0.01945, allocations: 0.9209 MB / 0.4911 GB, free: 14.83 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005488/0.02, allocations: 0.6737 MB / 0.4918 GB, free: 14.16 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001283/0.02013, allocations: 124 kB / 0.4919 GB, free: 14.04 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003286/0.02046, allocations: 277 kB / 0.4921 GB, free: 13.77 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002001/0.02066, allocations: 338.5 kB / 0.4925 GB, free: 13.43 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000296/0.02095, allocations: 470.5 kB / 0.4929 GB, free: 12.97 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001079/0.02203, allocations: 1.247 MB / 0.4941 GB, free: 11.72 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.02204, allocations: 0 / 0.4941 GB, free: 11.72 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.02204, allocations: 0 / 0.4941 GB, free: 11.72 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.172e-05/0.02205, allocations: 0 / 0.4941 GB, free: 11.72 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.00473/0.02678, allocations: 2.946 MB / 0.497 GB, free: 8.742 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.02682, allocations: 12.56 kB / 0.497 GB, free: 8.73 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003609/0.03043, allocations: 0.9336 MB / 0.4979 GB, free: 7.797 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/0.03146, allocations: 0.8323 MB / 0.4987 GB, free: 6.926 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000225/0.03168, allocations: 333.3 kB / 0.4991 GB, free: 6.543 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001267/0.03181, allocations: 84 kB / 0.4991 GB, free: 6.461 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001578/0.03339, allocations: 0.9964 MB / 0.5001 GB, free: 5.426 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/0.03341, allocations: 0 / 0.5001 GB, free: 5.426 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.74e-05/0.03349, allocations: 39.94 kB / 0.5001 GB, free: 5.387 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.037e-05/0.03351, allocations: 16 kB / 0.5002 GB, free: 5.371 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008386/0.03434, allocations: 0.5011 MB / 0.5007 GB, free: 4.867 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.003653/0.038, allocations: 2.709 MB / 0.5033 GB, free: 2.078 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003095/0.04109, allocations: 1.354 MB / 0.5046 GB, free: 0.668 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00052/0.04161, allocations: 413.3 kB / 0.505 GB, free: 252 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.79e-05/0.0417, allocations: 24.64 kB / 0.505 GB, free: 228 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007472/0.04245, allocations: 0.4931 MB / 0.5055 GB, free: 15.7 MB / 442.7 MB Notification: Performance of pre-optimization done (n=115): time 3.086e-06/0.04245, allocations: 0 / 0.5055 GB, free: 15.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=115): time 0.01601/0.05846, allocations: 5.158 MB / 0.5106 GB, free: 10.5 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001248/0.05859, allocations: 198.8 kB / 0.5107 GB, free: 10.27 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001325/0.05991, allocations: 0.9842 MB / 0.5117 GB, free: 9.27 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.89e-05/0.06, allocations: 49.69 kB / 0.5118 GB, free: 9.215 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003422/0.06034, allocations: 0.5319 MB / 0.5123 GB, free: 8.676 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002542/0.0606, allocations: 341.2 kB / 0.5126 GB, free: 8.34 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003935/0.06099, allocations: 277.1 kB / 0.5129 GB, free: 8.059 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.06115, allocations: 0.5316 MB / 0.5134 GB, free: 7.52 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006926/0.06184, allocations: 415.2 kB / 0.5138 GB, free: 7.102 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008407/0.06268, allocations: 0.6514 MB / 0.5144 GB, free: 6.367 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.02882/0.0915, allocations: 3.5 MB / 0.5178 GB, free: 2.719 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.888e-06/0.09151, allocations: 0 / 0.5178 GB, free: 2.719 MB / 442.7 MB Notification: Performance of matching and sorting (n=179) (initialization): time 0.007507/0.09902, allocations: 2.957 MB / 0.5207 GB, free: 15.72 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.688e-05/0.09907, allocations: 70.47 kB / 0.5208 GB, free: 15.64 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.09909, allocations: 4 kB / 0.5208 GB, free: 15.64 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005508/0.1046, allocations: 1.528 MB / 0.5223 GB, free: 14.11 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005938/0.1052, allocations: 263.5 kB / 0.5225 GB, free: 13.85 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00655/0.1117, allocations: 4.357 MB / 0.5268 GB, free: 9.363 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007899/0.1125, allocations: 155.2 kB / 0.5269 GB, free: 9.211 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.5e-05/0.1126, allocations: 55.98 kB / 0.527 GB, free: 9.156 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.0004247/0.113, allocations: 268.7 kB / 0.5272 GB, free: 8.879 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00096/0.114, allocations: 0.554 MB / 0.5278 GB, free: 8.309 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005268/0.1193, allocations: 2.776 MB / 0.5305 GB, free: 5.5 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.796e-06/0.1193, allocations: 12 kB / 0.5305 GB, free: 5.488 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.1193, allocations: 12 kB / 0.5305 GB, free: 5.477 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.557e-05/0.1193, allocations: 11.97 kB / 0.5305 GB, free: 5.465 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006552/0.1258, allocations: 3.798 MB / 0.5342 GB, free: 1.609 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.1258, allocations: 0 / 0.5342 GB, free: 1.609 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002889/0.1261, allocations: 115.8 kB / 0.5344 GB, free: 1.496 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004756/0.1309, allocations: 1.82 MB / 0.5361 GB, free: 15.66 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-05/0.131, allocations: 31.92 kB / 0.5362 GB, free: 15.63 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009251/0.1402, allocations: 9.035 MB / 0.545 GB, free: 6.223 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.1402, allocations: 0 / 0.545 GB, free: 6.223 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006417/0.1466, allocations: 3.329 MB / 0.5482 GB, free: 2.832 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002225/0.1468, allocations: 162.8 kB / 0.5484 GB, free: 2.672 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001237/0.147, allocations: 24 kB / 0.5484 GB, free: 2.648 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004705/0.1474, allocations: 79.92 kB / 0.5485 GB, free: 2.57 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003306/0.1478, allocations: 172.7 kB / 0.5487 GB, free: 2.398 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.427e-05/0.1478, allocations: 32 kB / 0.5487 GB, free: 2.367 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005272/0.1484, allocations: 0.6215 MB / 0.5493 GB, free: 1.738 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1484, allocations: 4 kB / 0.5493 GB, free: 1.734 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001069/0.1494, allocations: 475.6 kB / 0.5497 GB, free: 1.27 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.000241/0.1497, allocations: 151.1 kB / 0.5499 GB, free: 1.113 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002472/0.1521, allocations: 1.804 MB / 0.5517 GB, free: 15.25 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1521, allocations: 4.062 kB / 0.5517 GB, free: 15.25 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001515/0.1537, allocations: 1.067 MB / 0.5527 GB, free: 14.13 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001223/0.1549, allocations: 0.6503 MB / 0.5533 GB, free: 13.44 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002826/0.1577, allocations: 2.17 MB / 0.5555 GB, free: 11.21 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001829/0.1579, allocations: 274.3 kB / 0.5557 GB, free: 10.93 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002092/0.1581, allocations: 108.3 kB / 0.5558 GB, free: 10.82 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001695/0.1583, allocations: 80.48 kB / 0.5559 GB, free: 10.74 MB / 490.7 MB Notification: Performance of SimCode: time 1.313e-06/0.1583, allocations: 0 / 0.5559 GB, free: 10.74 MB / 490.7 MB Notification: Performance of Templates: time 0.02741/0.1857, allocations: 26.42 MB / 0.5817 GB, free: 456 kB / 0.4948 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 -DOMC_RUST_SIMULATION_RUNTIME -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 -DOMC_RUST_SIMULATION_RUNTIME -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:68:11: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 68 | if((_y0 == 0.0)) | ~~~~^~~~~~ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_functions.c:68:11: note: remove extraneous parentheses around the comparison to silence this warning 68 | if((_y0 == 0.0)) | ~ ^ ~ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_functions.c:68:11: note: use '=' to turn this equality comparison into an assignment 68 | 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 -DOMC_RUST_SIMULATION_RUNTIME -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 -DOMC_RUST_SIMULATION_RUNTIME -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 -DOMC_RUST_SIMULATION_RUNTIME -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:262:46: error: use of undeclared identifier 'baseClockIndex' 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 */)); | ^~~~~~~~~~~~~~ OpenIPSL_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_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_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:262:149: error: use of undeclared identifier 'baseClockIndex' 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 */)); | ^~~~~~~~~~~~~~ OpenIPSL_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_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_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:266:46: error: use of undeclared identifier 'baseClockIndex' 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 */)); | ^~~~~~~~~~~~~~ OpenIPSL_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_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_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:266:149: error: use of undeclared identifier 'baseClockIndex' 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 */)); | ^~~~~~~~~~~~~~ OpenIPSL_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_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_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:268:46: error: use of undeclared identifier 'baseClockIndex' 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 */)); | ^~~~~~~~~~~~~~ OpenIPSL_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_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_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:268:149: error: use of undeclared identifier 'baseClockIndex' 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 */)); | ^~~~~~~~~~~~~~ OpenIPSL_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_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_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.o] Error 1 [Calling os._exit(0), Time elapsed: 2.602443856187165]