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.001311/0.001311, 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.9532/0.9532, allocations: 177.1 MB / 200 MB, free: 5.559 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.001207/0.001207, allocations: 156.4 kB / 256.6 MB, free: 13.02 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.2825/0.2825, allocations: 80.24 MB / 393.4 MB, free: 2.172 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.603e-06/1.603e-06, allocations: 0 / 489.8 MB, free: 11.55 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.045e-05/3.205e-05, allocations: 4.984 kB / 489.8 MB, free: 11.55 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous): time 0.007408/0.00744, allocations: 6.498 MB / 496.3 MB, free: 5.035 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0048/0.01224, allocations: 2.034 MB / 498.4 MB, free: 3.008 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006953/0.01293, allocations: 15.94 kB / 498.4 MB, free: 2.992 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006393/0.01357, allocations: 238.6 kB / 498.6 MB, free: 2.758 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001626/0.0152, allocations: 0.8728 MB / 499.5 MB, free: 1.887 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001029/0.01623, allocations: 0.6717 MB / 0.4884 GB, free: 1.223 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001395/0.01762, allocations: 1.604 MB / 0.49 GB, free: 15.61 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003229/0.01795, allocations: 223.5 kB / 0.4902 GB, free: 15.38 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008836/0.01883, allocations: 0.9218 MB / 0.4911 GB, free: 14.46 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006189/0.01945, allocations: 0.6737 MB / 0.4918 GB, free: 13.79 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001481/0.0196, allocations: 124 kB / 0.4919 GB, free: 13.66 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004085/0.02001, allocations: 279.7 kB / 0.4921 GB, free: 13.39 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002089/0.02021, allocations: 342.5 kB / 0.4925 GB, free: 13.05 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006012/0.02082, allocations: 466.5 kB / 0.4929 GB, free: 12.6 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00113/0.02195, allocations: 1.242 MB / 0.4941 GB, free: 11.35 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.02195, allocations: 0 / 0.4941 GB, free: 11.35 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.02195, allocations: 0.5312 kB / 0.4941 GB, free: 11.35 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.138e-05/0.02196, allocations: 4 kB / 0.4941 GB, free: 11.35 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.004689/0.02665, allocations: 2.943 MB / 0.497 GB, free: 8.371 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.02669, allocations: 11.97 kB / 0.497 GB, free: 8.359 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00263/0.02932, allocations: 0.9388 MB / 0.4979 GB, free: 7.422 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009377/0.03026, allocations: 0.8284 MB / 0.4987 GB, free: 6.555 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002008/0.03046, allocations: 333.3 kB / 0.4991 GB, free: 6.172 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.03057, allocations: 88 kB / 0.4991 GB, free: 6.086 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001542/0.03211, allocations: 0.9964 MB / 0.5001 GB, free: 5.051 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.03213, allocations: 3.938 kB / 0.5001 GB, free: 5.047 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.8e-05/0.0322, allocations: 35.94 kB / 0.5002 GB, free: 5.012 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.528e-05/0.03221, allocations: 20 kB / 0.5002 GB, free: 4.992 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007726/0.03299, allocations: 0.4933 MB / 0.5007 GB, free: 4.496 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.003289/0.03627, allocations: 2.712 MB / 0.5033 GB, free: 1.703 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002649/0.03892, allocations: 1.355 MB / 0.5046 GB, free: 300 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005259/0.03945, allocations: 415.6 kB / 0.505 GB, free: 15.87 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.786e-05/0.03954, allocations: 24.64 kB / 0.5051 GB, free: 15.85 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005589/0.0401, allocations: 0.4892 MB / 0.5055 GB, free: 15.33 MB / 442.7 MB Notification: Performance of pre-optimization done (n=115): time 3.426e-06/0.0401, allocations: 0 / 0.5055 GB, free: 15.33 MB / 442.7 MB Notification: Performance of matching and sorting (n=115): time 0.0124/0.0525, allocations: 5.162 MB / 0.5106 GB, free: 10.12 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/0.05261, allocations: 194.8 kB / 0.5108 GB, free: 9.898 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009908/0.0536, allocations: 0.9881 MB / 0.5117 GB, free: 8.895 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001108/0.05371, allocations: 49.77 kB / 0.5118 GB, free: 8.84 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003068/0.05402, allocations: 0.5318 MB / 0.5123 GB, free: 8.301 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002614/0.05428, allocations: 341.2 kB / 0.5126 GB, free: 7.965 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003194/0.0546, allocations: 277.1 kB / 0.5129 GB, free: 7.684 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.05475, allocations: 0.5355 MB / 0.5134 GB, free: 7.141 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005512/0.0553, allocations: 411.2 kB / 0.5138 GB, free: 6.727 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000907/0.05621, allocations: 0.6437 MB / 0.5144 GB, free: 6 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.02162/0.07783, allocations: 3.507 MB / 0.5178 GB, free: 2.344 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.798e-06/0.07784, allocations: 0 / 0.5178 GB, free: 2.344 MB / 442.7 MB Notification: Performance of matching and sorting (n=179) (initialization): time 0.0059/0.08374, allocations: 2.956 MB / 0.5207 GB, free: 15.35 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.432e-05/0.08379, allocations: 67.39 kB / 0.5208 GB, free: 15.27 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.0838, allocations: 4 kB / 0.5208 GB, free: 15.27 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004277/0.08808, allocations: 1.524 MB / 0.5223 GB, free: 13.74 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006695/0.08875, allocations: 255.6 kB / 0.5225 GB, free: 13.49 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00657/0.09532, allocations: 4.368 MB / 0.5268 GB, free: 8.988 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009249/0.09625, allocations: 159.1 kB / 0.527 GB, free: 8.832 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-05/0.09632, allocations: 55.97 kB / 0.527 GB, free: 8.777 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.0004351/0.09676, allocations: 262.5 kB / 0.5273 GB, free: 8.504 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001238/0.098, allocations: 0.558 MB / 0.5278 GB, free: 7.93 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00533/0.1033, allocations: 2.776 MB / 0.5305 GB, free: 5.121 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/0.1033, allocations: 12 kB / 0.5305 GB, free: 5.109 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/0.1033, allocations: 8 kB / 0.5305 GB, free: 5.102 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.1034, allocations: 3.984 kB / 0.5305 GB, free: 5.098 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006406/0.1098, allocations: 3.798 MB / 0.5342 GB, free: 1.242 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.1098, allocations: 0 / 0.5342 GB, free: 1.242 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002999/0.1101, allocations: 111.8 kB / 0.5343 GB, free: 1.133 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00509/0.1152, allocations: 1.836 MB / 0.5361 GB, free: 15.29 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.056e-05/0.1153, allocations: 27.94 kB / 0.5362 GB, free: 15.26 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009662/0.1249, allocations: 9.027 MB / 0.545 GB, free: 5.855 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.1249, allocations: 7.984 kB / 0.545 GB, free: 5.848 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006282/0.1312, allocations: 3.326 MB / 0.5482 GB, free: 2.461 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003413/0.1315, allocations: 162.8 kB / 0.5484 GB, free: 2.301 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001369/0.1317, allocations: 20 kB / 0.5484 GB, free: 2.281 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005222/0.1322, allocations: 87.92 kB / 0.5485 GB, free: 2.195 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004255/0.1326, allocations: 168.7 kB / 0.5487 GB, free: 2.027 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.994e-05/0.1327, allocations: 31.98 kB / 0.5487 GB, free: 1.996 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0008505/0.1335, allocations: 0.6215 MB / 0.5493 GB, free: 1.367 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1335, allocations: 0 / 0.5493 GB, free: 1.367 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001146/0.1347, allocations: 479.6 kB / 0.5498 GB, free: 0.8984 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.0002744/0.135, allocations: 151 kB / 0.5499 GB, free: 0.7422 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002784/0.1377, allocations: 1.807 MB / 0.5517 GB, free: 14.88 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.1377, allocations: 0 / 0.5517 GB, free: 14.88 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001692/0.1394, allocations: 1.064 MB / 0.5527 GB, free: 13.77 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/0.1406, allocations: 0.661 MB / 0.5533 GB, free: 13.07 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003133/0.1437, allocations: 2.174 MB / 0.5555 GB, free: 10.84 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000206/0.1439, allocations: 270.3 kB / 0.5557 GB, free: 10.55 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005893/0.1445, allocations: 104.3 kB / 0.5558 GB, free: 10.45 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001808/0.1447, allocations: 80.47 kB / 0.5559 GB, free: 10.37 MB / 490.7 MB Notification: Performance of SimCode: time 1.744e-06/0.1447, allocations: 4 kB / 0.5559 GB, free: 10.36 MB / 490.7 MB Notification: Performance of Templates: time 0.03/0.1747, allocations: 26.42 MB / 0.5817 GB, free: 76 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 -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: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 -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: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.8005260420031846]