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.001661/0.001661, allocations: 73.88 kB / 20.66 MB, free: 3.844 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.9972/0.9972, allocations: 177.2 MB / 201 MB, free: 5.707 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.001283/0.001283, allocations: 160.6 kB / 257.7 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.2948/0.2948, allocations: 80.25 MB / 394.5 MB, free: 1.984 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.623e-06/1.623e-06, allocations: 0 / 491 MB, free: 11.27 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.684e-05/2.846e-05, allocations: 6.141 kB / 491.1 MB, free: 11.27 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous): time 0.006146/0.006175, allocations: 6.361 MB / 497.4 MB, free: 4.891 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004304/0.01048, allocations: 2.025 MB / 499.4 MB, free: 2.871 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001058/0.01154, allocations: 8 kB / 499.4 MB, free: 2.863 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007604/0.0123, allocations: 242.7 kB / 499.7 MB, free: 2.625 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002017/0.01431, allocations: 0.8895 MB / 0.4888 GB, free: 1.738 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001169/0.01548, allocations: 0.6614 MB / 0.4895 GB, free: 1.086 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001704/0.01719, allocations: 1.601 MB / 0.4911 GB, free: 15.48 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004106/0.0176, allocations: 226.9 kB / 0.4913 GB, free: 15.25 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001299/0.0189, allocations: 0.9195 MB / 0.4922 GB, free: 14.32 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007143/0.01961, allocations: 0.6793 MB / 0.4928 GB, free: 13.64 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000171/0.01978, allocations: 120 kB / 0.4929 GB, free: 13.53 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004684/0.02025, allocations: 279.8 kB / 0.4932 GB, free: 13.25 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002282/0.02048, allocations: 342.5 kB / 0.4935 GB, free: 12.92 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003897/0.02087, allocations: 466.5 kB / 0.494 GB, free: 12.46 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001516/0.02238, allocations: 1.25 MB / 0.4952 GB, free: 11.21 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.02239, allocations: 0 / 0.4952 GB, free: 11.21 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.02239, allocations: 0 / 0.4952 GB, free: 11.21 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.797e-05/0.02241, allocations: 1.562 kB / 0.4952 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.004956/0.02736, allocations: 2.964 MB / 0.4981 GB, free: 8.207 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.02741, allocations: 12.03 kB / 0.4981 GB, free: 8.195 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00284/0.03025, allocations: 0.9269 MB / 0.499 GB, free: 7.273 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001098/0.03135, allocations: 0.8089 MB / 0.4998 GB, free: 6.426 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002183/0.03156, allocations: 337.2 kB / 0.5001 GB, free: 6.039 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001268/0.03169, allocations: 84 kB / 0.5002 GB, free: 5.957 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/0.03278, allocations: 0.9026 MB / 0.5011 GB, free: 5.016 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.0328, allocations: 0 / 0.5011 GB, free: 5.016 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.809e-05/0.03286, allocations: 35.94 kB / 0.5011 GB, free: 4.98 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.36e-05/0.03288, allocations: 20 kB / 0.5011 GB, free: 4.961 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005588/0.03344, allocations: 406.4 kB / 0.5015 GB, free: 4.559 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.003722/0.03716, allocations: 2.567 MB / 0.504 GB, free: 1.918 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002536/0.03969, allocations: 1.285 MB / 0.5053 GB, free: 0.5781 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003824/0.04008, allocations: 355.8 kB / 0.5056 GB, free: 216 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.999e-05/0.04016, allocations: 24.64 kB / 0.5057 GB, free: 192 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000493/0.04065, allocations: 464.8 kB / 0.5061 GB, free: 15.7 MB / 442.7 MB Notification: Performance of pre-optimization done (n=115): time 2.555e-06/0.04065, allocations: 0 / 0.5061 GB, free: 15.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=115): time 0.012/0.05265, allocations: 4.963 MB / 0.5109 GB, free: 10.7 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/0.05276, allocations: 194.8 kB / 0.5111 GB, free: 10.47 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008173/0.05358, allocations: 0.9485 MB / 0.5121 GB, free: 9.508 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001017/0.05368, allocations: 49.7 kB / 0.5121 GB, free: 9.453 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003128/0.05399, allocations: 0.5472 MB / 0.5126 GB, free: 8.898 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002691/0.05426, allocations: 337.1 kB / 0.513 GB, free: 8.566 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003123/0.05457, allocations: 285 kB / 0.5132 GB, free: 8.277 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.05473, allocations: 0.5471 MB / 0.5138 GB, free: 7.723 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004729/0.0552, allocations: 383.2 kB / 0.5141 GB, free: 7.336 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005889/0.05579, allocations: 0.6162 MB / 0.5147 GB, free: 6.637 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.01674/0.07253, allocations: 3.004 MB / 0.5177 GB, free: 3.488 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.617e-06/0.07254, allocations: 0 / 0.5177 GB, free: 3.488 MB / 442.7 MB Notification: Performance of matching and sorting (n=179) (initialization): time 0.005657/0.0782, allocations: 2.871 MB / 0.5205 GB, free: 0.5781 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.75e-05/0.07826, allocations: 63.39 kB / 0.5205 GB, free: 0.5039 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/0.07827, allocations: 4 kB / 0.5205 GB, free: 0.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004179/0.08245, allocations: 1.508 MB / 0.522 GB, free: 14.99 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000791/0.08324, allocations: 247.6 kB / 0.5222 GB, free: 14.75 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00708/0.09032, allocations: 4.201 MB / 0.5263 GB, free: 10.42 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/0.09166, allocations: 147.2 kB / 0.5265 GB, free: 10.28 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/0.09177, allocations: 43.97 kB / 0.5265 GB, free: 10.23 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.0007142/0.09248, allocations: 270.4 kB / 0.5268 GB, free: 9.953 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001206/0.09369, allocations: 0.5228 MB / 0.5273 GB, free: 9.414 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005609/0.0993, allocations: 2.627 MB / 0.5299 GB, free: 6.754 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/0.09931, allocations: 12 kB / 0.5299 GB, free: 6.742 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.578e-05/0.09933, allocations: 11.94 kB / 0.5299 GB, free: 6.73 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.369e-05/0.09934, allocations: 3.984 kB / 0.5299 GB, free: 6.727 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006307/0.1056, allocations: 3.532 MB / 0.5333 GB, free: 3.145 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-05/0.1057, allocations: 4 kB / 0.5333 GB, free: 3.141 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003312/0.106, allocations: 107.9 kB / 0.5334 GB, free: 3.035 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00474/0.1107, allocations: 1.79 MB / 0.5352 GB, free: 1.23 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001269/0.1109, allocations: 31.92 kB / 0.5352 GB, free: 1.199 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009093/0.1199, allocations: 8.805 MB / 0.5438 GB, free: 8.047 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.12, allocations: 0 / 0.5438 GB, free: 8.047 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005065/0.125, allocations: 2.689 MB / 0.5464 GB, free: 5.305 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003542/0.1254, allocations: 154.8 kB / 0.5466 GB, free: 5.152 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001828/0.1256, allocations: 24 kB / 0.5466 GB, free: 5.129 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005238/0.1261, allocations: 83.92 kB / 0.5467 GB, free: 5.047 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003876/0.1265, allocations: 168.7 kB / 0.5469 GB, free: 4.883 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-05/0.1265, allocations: 27.98 kB / 0.5469 GB, free: 4.855 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004538/0.127, allocations: 0.5666 MB / 0.5474 GB, free: 4.281 MB / 474.7 MB Notification: Performance of sort global known variables: time 1e-07/0.127, allocations: 0 / 0.5474 GB, free: 4.281 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00119/0.1282, allocations: 483.5 kB / 0.5479 GB, free: 3.809 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.0002617/0.1284, allocations: 151 kB / 0.548 GB, free: 3.648 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002561/0.131, allocations: 1.714 MB / 0.5497 GB, free: 1.871 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.131, allocations: 0 / 0.5497 GB, free: 1.871 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001903/0.1329, allocations: 1.017 MB / 0.5507 GB, free: 0.8086 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/0.1341, allocations: 0.6681 MB / 0.5514 GB, free: 104 kB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003218/0.1373, allocations: 2.144 MB / 0.5535 GB, free: 13.91 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002129/0.1375, allocations: 266.3 kB / 0.5537 GB, free: 13.62 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002603/0.1378, allocations: 108.3 kB / 0.5538 GB, free: 13.51 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002868/0.1381, allocations: 206.2 kB / 0.554 GB, free: 13.31 MB / 490.7 MB Notification: Performance of SimCode: time 1.764e-06/0.1381, allocations: 0 / 0.554 GB, free: 13.31 MB / 490.7 MB Notification: Performance of Templates: time 0.03281/0.1709, allocations: 28.21 MB / 0.5816 GB, free: 1.211 MB / 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 -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:69:11: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 69 | if((_y0 == 0.0)) | ~~~~^~~~~~ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_functions.c:69:11: note: remove extraneous parentheses around the comparison to silence this warning 69 | if((_y0 == 0.0)) | ~ ^ ~ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_functions.c:69:11: note: use '=' to turn this equality comparison into an assignment 69 | 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.8793834801763296]