Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.0008924/0.0008924, allocations: 92.22 kB / 19.65 MB, free: 276 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.9529/0.9529, allocations: 177.1 MB / 200 MB, free: 5.547 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.001784/0.001784, allocations: 164.4 kB / 256.6 MB, free: 13 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.284/0.284, allocations: 80.35 MB / 393.5 MB, free: 2.09 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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_dev_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_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 3.938 kB / 490 MB, free: 11.47 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.237e-05/3.455e-05, allocations: 2.312 kB / 490 MB, free: 11.46 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous): time 0.006742/0.006777, allocations: 6.503 MB / 496.5 MB, free: 4.941 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00375/0.01053, allocations: 2.022 MB / 498.5 MB, free: 2.926 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007214/0.01125, allocations: 12.72 kB / 498.5 MB, free: 2.914 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006772/0.01193, allocations: 249.8 kB / 498.7 MB, free: 2.668 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001781/0.01371, allocations: 0.8717 MB / 499.6 MB, free: 1.805 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001179/0.01489, allocations: 0.672 MB / 0.4886 GB, free: 1.141 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001664/0.01655, allocations: 1.605 MB / 0.4901 GB, free: 15.53 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004023/0.01695, allocations: 226.9 kB / 0.4904 GB, free: 15.3 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001338/0.01829, allocations: 0.924 MB / 0.4913 GB, free: 14.37 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008171/0.01911, allocations: 0.6815 MB / 0.4919 GB, free: 13.69 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000191/0.0193, allocations: 124.6 kB / 0.492 GB, free: 13.57 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004808/0.01978, allocations: 273.5 kB / 0.4923 GB, free: 13.3 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002325/0.02001, allocations: 342.5 kB / 0.4926 GB, free: 12.96 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003784/0.02039, allocations: 470.5 kB / 0.4931 GB, free: 12.5 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001272/0.02166, allocations: 1.245 MB / 0.4943 GB, free: 11.25 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.02167, allocations: 0.9062 kB / 0.4943 GB, free: 11.25 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.02167, allocations: 0 / 0.4943 GB, free: 11.25 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.228e-05/0.02169, allocations: 0 / 0.4943 GB, free: 11.25 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.005116/0.02681, allocations: 2.938 MB / 0.4972 GB, free: 8.281 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.02685, allocations: 12.84 kB / 0.4972 GB, free: 8.27 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002822/0.02967, allocations: 0.9285 MB / 0.4981 GB, free: 7.344 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/0.03078, allocations: 0.8323 MB / 0.4989 GB, free: 6.473 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002168/0.031, allocations: 333.3 kB / 0.4992 GB, free: 6.09 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001325/0.03113, allocations: 87.98 kB / 0.4993 GB, free: 6.004 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001407/0.03253, allocations: 0.9965 MB / 0.5003 GB, free: 4.969 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.03255, allocations: 0 / 0.5003 GB, free: 4.969 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.182e-05/0.03262, allocations: 35.94 kB / 0.5003 GB, free: 4.934 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.634e-05/0.03264, allocations: 20 kB / 0.5003 GB, free: 4.914 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008466/0.03349, allocations: 0.5011 MB / 0.5008 GB, free: 4.41 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.003732/0.03722, allocations: 2.712 MB / 0.5035 GB, free: 1.617 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003053/0.04027, allocations: 1.35 MB / 0.5048 GB, free: 220 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005947/0.04087, allocations: 410.8 kB / 0.5052 GB, free: 15.79 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.555e-05/0.04096, allocations: 28.64 kB / 0.5052 GB, free: 15.77 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006366/0.0416, allocations: 0.497 MB / 0.5057 GB, free: 15.24 MB / 442.7 MB Notification: Performance of pre-optimization done (n=115): time 3.537e-06/0.0416, allocations: 0 / 0.5057 GB, free: 15.24 MB / 442.7 MB Notification: Performance of matching and sorting (n=115): time 0.01271/0.05432, allocations: 5.162 MB / 0.5107 GB, free: 10.04 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000142/0.05446, allocations: 198.8 kB / 0.5109 GB, free: 9.805 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00118/0.05564, allocations: 0.9842 MB / 0.5119 GB, free: 8.805 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001155/0.05575, allocations: 45.7 kB / 0.5119 GB, free: 8.754 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000361/0.05611, allocations: 0.5396 MB / 0.5124 GB, free: 8.207 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002986/0.05641, allocations: 333.2 kB / 0.5128 GB, free: 7.879 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003512/0.05676, allocations: 277.1 kB / 0.513 GB, free: 7.598 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.05694, allocations: 0.5316 MB / 0.5135 GB, free: 7.059 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006015/0.05754, allocations: 419.2 kB / 0.5139 GB, free: 6.637 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006783/0.05822, allocations: 0.6475 MB / 0.5146 GB, free: 5.906 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.02225/0.08048, allocations: 3.5 MB / 0.518 GB, free: 2.258 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.346e-06/0.08049, allocations: 4 kB / 0.518 GB, free: 2.254 MB / 442.7 MB Notification: Performance of matching and sorting (n=179) (initialization): time 0.005811/0.0863, allocations: 2.957 MB / 0.5209 GB, free: 15.25 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.054e-05/0.08635, allocations: 59.39 kB / 0.5209 GB, free: 15.18 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.08636, allocations: 4 kB / 0.5209 GB, free: 15.18 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004353/0.09071, allocations: 1.531 MB / 0.5224 GB, free: 13.65 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006773/0.09139, allocations: 251.6 kB / 0.5227 GB, free: 13.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006771/0.09816, allocations: 4.368 MB / 0.5269 GB, free: 8.902 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000877/0.09904, allocations: 155.2 kB / 0.5271 GB, free: 8.75 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.444e-05/0.09912, allocations: 51.98 kB / 0.5271 GB, free: 8.699 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.0004156/0.09954, allocations: 268.9 kB / 0.5274 GB, free: 8.422 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001025/0.1006, allocations: 0.5579 MB / 0.5279 GB, free: 7.848 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005417/0.106, allocations: 2.78 MB / 0.5307 GB, free: 5.035 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/0.106, allocations: 12 kB / 0.5307 GB, free: 5.023 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/0.106, allocations: 8 kB / 0.5307 GB, free: 5.016 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/0.106, allocations: 11.97 kB / 0.5307 GB, free: 5.004 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006889/0.1129, allocations: 3.794 MB / 0.5344 GB, free: 1.152 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/0.1129, allocations: 3.938 kB / 0.5344 GB, free: 1.148 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003125/0.1132, allocations: 111.8 kB / 0.5345 GB, free: 1.039 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004919/0.1181, allocations: 1.821 MB / 0.5363 GB, free: 15.2 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.188e-05/0.1182, allocations: 35.92 kB / 0.5363 GB, free: 15.17 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009399/0.1276, allocations: 9.035 MB / 0.5451 GB, free: 5.758 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.1276, allocations: 0 / 0.5451 GB, free: 5.758 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006441/0.1341, allocations: 3.326 MB / 0.5484 GB, free: 2.371 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004166/0.1345, allocations: 158.8 kB / 0.5485 GB, free: 2.215 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001285/0.1346, allocations: 24 kB / 0.5486 GB, free: 2.191 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004997/0.1351, allocations: 79.92 kB / 0.5486 GB, free: 2.113 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003869/0.1355, allocations: 176.6 kB / 0.5488 GB, free: 1.938 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.724e-05/0.1356, allocations: 36 kB / 0.5488 GB, free: 1.902 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005898/0.1362, allocations: 0.6215 MB / 0.5495 GB, free: 1.273 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1362, allocations: 0 / 0.5495 GB, free: 1.273 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001152/0.1373, allocations: 471.6 kB / 0.5499 GB, free: 0.8125 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.0002704/0.1376, allocations: 161.6 kB / 0.5501 GB, free: 0.6484 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002858/0.1404, allocations: 1.8 MB / 0.5518 GB, free: 14.79 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.1404, allocations: 0 / 0.5518 GB, free: 14.79 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001676/0.1421, allocations: 1.068 MB / 0.5529 GB, free: 13.68 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.1432, allocations: 0.6621 MB / 0.5535 GB, free: 12.97 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003323/0.1465, allocations: 2.159 MB / 0.5556 GB, free: 10.76 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002038/0.1468, allocations: 270.3 kB / 0.5559 GB, free: 10.47 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000225/0.147, allocations: 108.3 kB / 0.556 GB, free: 10.36 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001828/0.1472, allocations: 84.47 kB / 0.5561 GB, free: 10.28 MB / 490.7 MB Notification: Performance of SimCode: time 1.583e-06/0.1472, allocations: 3.938 kB / 0.5561 GB, free: 10.28 MB / 490.7 MB Notification: Performance of Templates: time 0.02862/0.1758, allocations: 26.42 MB / 0.5819 GB, free: 0 / 0.4948 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.makefile [Timeout 660] make -j1 -f OpenIPSL_dev_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_dev_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_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.o OpenIPSL_dev_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_dev_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_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_functions.o OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_functions.c OpenIPSL_dev_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_dev_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_dev_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_dev_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_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_records.o OpenIPSL_dev_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_dev_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_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_01exo.o OpenIPSL_dev_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_dev_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_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.o OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c OpenIPSL_dev_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_dev_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_dev_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_dev_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_dev_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_dev_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_dev_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_dev_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_dev_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_dev_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_dev_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_dev_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_dev_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_dev_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_dev_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_dev_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_dev_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_dev_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_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.o] Error 1 [Calling os._exit(0), Time elapsed: 2.7381451288238168]