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.0008867/0.0008867, allocations: 80.81 kB / 19.94 MB, free: 4.543 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.9652/0.9652, allocations: 177.2 MB / 200.3 MB, free: 5.668 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.00121/0.00121, allocations: 152.7 kB / 257 MB, free: 12.96 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.4288/0.4288, allocations: 83.3 MB / 343.6 MB, free: 6.73 MB / 314.7 MB " [Timeout remaining time 180] 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 1.333e-06/1.333e-06, allocations: 0 / 387.9 MB, free: 10.71 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.026e-05/2.159e-05, allocations: 2.312 kB / 387.9 MB, free: 10.7 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous): time 0.005123/0.005145, allocations: 6.375 MB / 394.3 MB, free: 4.297 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003316/0.008461, allocations: 2.102 MB / 396.4 MB, free: 2.188 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004213/0.008882, allocations: 15.94 kB / 396.4 MB, free: 2.172 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000531/0.009413, allocations: 245.8 kB / 396.7 MB, free: 1.93 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001381/0.01079, allocations: 0.8963 MB / 397.6 MB, free: 1.031 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009381/0.01173, allocations: 0.6703 MB / 398.2 MB, free: 368 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001351/0.01308, allocations: 1.611 MB / 399.9 MB, free: 14.74 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003114/0.01339, allocations: 237 kB / 400.1 MB, free: 14.49 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009494/0.01434, allocations: 0.9272 MB / 401 MB, free: 13.56 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000628/0.01497, allocations: 0.6776 MB / 401.7 MB, free: 12.88 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001623/0.01513, allocations: 124 kB / 401.8 MB, free: 12.76 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003693/0.0155, allocations: 283.7 kB / 402.1 MB, free: 12.48 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002059/0.01571, allocations: 338.5 kB / 402.4 MB, free: 12.15 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003246/0.01603, allocations: 466.5 kB / 402.9 MB, free: 11.69 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001016/0.01705, allocations: 1.245 MB / 404.1 MB, free: 10.44 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.01705, allocations: 3.938 kB / 404.1 MB, free: 10.44 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.01705, allocations: 4 kB / 404.1 MB, free: 10.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.32e-05/0.01707, allocations: 4 kB / 404.1 MB, free: 10.43 MB / 378.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.004018/0.02108, allocations: 2.665 MB / 406.8 MB, free: 7.723 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.02112, allocations: 12.03 kB / 406.8 MB, free: 7.711 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002578/0.0237, allocations: 0.9831 MB / 407.8 MB, free: 6.727 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007412/0.02444, allocations: 0.5995 MB / 408.4 MB, free: 6.082 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001855/0.02463, allocations: 329.3 kB / 408.7 MB, free: 5.707 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.02474, allocations: 95.94 kB / 408.8 MB, free: 5.613 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009356/0.02567, allocations: 0.9182 MB / 409.7 MB, free: 4.66 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.02569, allocations: 0 / 409.7 MB, free: 4.66 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.984e-05/0.02575, allocations: 35.94 kB / 409.8 MB, free: 4.625 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.344e-05/0.02576, allocations: 23.94 kB / 409.8 MB, free: 4.602 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004524/0.02622, allocations: 345.5 kB / 410.1 MB, free: 4.258 MB / 378.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.002432/0.02865, allocations: 1.825 MB / 411.9 MB, free: 2.375 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002143/0.03079, allocations: 1.187 MB / 413.1 MB, free: 1.145 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003056/0.0311, allocations: 299 kB / 413.4 MB, free: 0.8359 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.106e-05/0.03118, allocations: 32.53 kB / 413.5 MB, free: 0.8047 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003805/0.03156, allocations: 442.7 kB / 413.9 MB, free: 352 kB / 378.7 MB Notification: Performance of pre-optimization done (n=115): time 2.474e-06/0.03156, allocations: 4 kB / 413.9 MB, free: 348 kB / 378.7 MB Notification: Performance of matching and sorting (n=115): time 0.009548/0.04111, allocations: 4.61 MB / 418.5 MB, free: 11.69 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.151e-05/0.0412, allocations: 200.5 kB / 418.7 MB, free: 11.46 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005411/0.04174, allocations: 0.857 MB / 419.6 MB, free: 10.59 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.817e-05/0.04181, allocations: 53.7 kB / 419.6 MB, free: 10.53 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001652/0.04197, allocations: 339.8 kB / 419.9 MB, free: 10.19 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001804/0.04215, allocations: 341.1 kB / 420.3 MB, free: 9.855 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002609/0.04242, allocations: 271.3 kB / 420.5 MB, free: 9.586 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.44e-05/0.04251, allocations: 369.7 kB / 420.9 MB, free: 9.219 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004559/0.04297, allocations: 366.1 kB / 421.3 MB, free: 8.848 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005159/0.04348, allocations: 0.5381 MB / 421.8 MB, free: 8.246 MB / 394.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendEquation.mo:2571:7-2571: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:2571:7-2571: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.01362/0.05711, allocations: 2.816 MB / 424.6 MB, free: 5.297 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.144e-06/0.05711, allocations: 4 kB / 424.6 MB, free: 5.293 MB / 394.7 MB Notification: Performance of matching and sorting (n=179) (initialization): time 0.004409/0.06152, allocations: 2.611 MB / 427.2 MB, free: 2.645 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.788e-05/0.06156, allocations: 59.41 kB / 427.3 MB, free: 2.574 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.06157, allocations: 4 kB / 427.3 MB, free: 2.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003628/0.0652, allocations: 1.482 MB / 428.8 MB, free: 1.086 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005263/0.06572, allocations: 251.6 kB / 429 MB, free: 0.8398 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004535/0.07026, allocations: 3.362 MB / 432.4 MB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006461/0.0709, allocations: 167 kB / 432.5 MB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.77e-05/0.07096, allocations: 39.98 kB / 432.6 MB, free: 13.18 MB / 410.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.0003599/0.07132, allocations: 219.1 kB / 432.8 MB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007283/0.07205, allocations: 449.5 kB / 433.2 MB, free: 12.49 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004228/0.07628, allocations: 2.427 MB / 435.7 MB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.919e-06/0.07629, allocations: 15.94 kB / 435.7 MB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.0763, allocations: 11.98 kB / 435.7 MB, free: 10.01 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.07631, allocations: 3.984 kB / 435.7 MB, free: 10.01 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004974/0.08128, allocations: 3.049 MB / 438.7 MB, free: 6.918 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.08129, allocations: 0 / 438.7 MB, free: 6.918 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002508/0.08154, allocations: 115.8 kB / 438.9 MB, free: 6.805 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003988/0.08552, allocations: 1.752 MB / 440.6 MB, free: 5.043 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.146e-05/0.08558, allocations: 31.98 kB / 440.6 MB, free: 5.012 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1758/0.2614, allocations: 6.747 MB / 447.4 MB, free: 58.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.2614, allocations: 1.125 kB / 447.4 MB, free: 58.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004705/0.2661, allocations: 2.436 MB / 449.8 MB, free: 58.68 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000189/0.2663, allocations: 135.9 kB / 450 MB, free: 58.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001269/0.2664, allocations: 27.06 kB / 450 MB, free: 58.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004344/0.2669, allocations: 80.55 kB / 450.1 MB, free: 58.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003282/0.2672, allocations: 166 kB / 450.2 MB, free: 58.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.419e-05/0.2672, allocations: 26.52 kB / 450.2 MB, free: 58.68 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003458/0.2676, allocations: 443.3 kB / 450.7 MB, free: 58.64 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.2676, allocations: 0 / 450.7 MB, free: 58.64 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009863/0.2686, allocations: 478 kB / 451.1 MB, free: 58.63 MB / 410.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.0002121/0.2688, allocations: 135.2 kB / 451.3 MB, free: 58.57 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002172/0.2709, allocations: 1.577 MB / 452.9 MB, free: 58.13 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.436e-05/0.271, allocations: 10.22 kB / 452.9 MB, free: 58.13 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00113/0.2721, allocations: 0.9285 MB / 453.8 MB, free: 57.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007416/0.2728, allocations: 0.5389 MB / 454.3 MB, free: 57.58 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002284/0.2751, allocations: 2.119 MB / 456.4 MB, free: 56.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001437/0.2753, allocations: 272.6 kB / 456.7 MB, free: 56.51 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001794/0.2754, allocations: 106.3 kB / 456.8 MB, free: 56.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002277/0.2757, allocations: 184.6 kB / 457 MB, free: 56.45 MB / 410.7 MB Notification: Performance of SimCode: time 7.32e-07/0.2757, allocations: 0 / 457 MB, free: 56.45 MB / 410.7 MB Notification: Performance of Templates: time 0.02245/0.2981, allocations: 26.06 MB / 483.1 MB, free: 35.05 MB / 410.7 MB " [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 -O2 -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 -O2 -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:69:11: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 69 | if((_y0 == 0.0)) | ~~~~^~~~~~ OpenIPSL_dev_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_dev_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 -O2 -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 -O2 -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 -O2 -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:313:46: error: use of undeclared identifier 'baseClockIndex' 313 | 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[16] /* der(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */))) + ((data->localData[0]->realVars[12] /* previous(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */) - (data->localData[0]->realVars[27] /* aVRTypeII.ExcitationSystem.x_scaled[1] CLOCKED_STATE */)); | ^~~~~~~~~~~~~~ OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:313:72: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? 313 | 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[16] /* der(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */))) + ((data->localData[0]->realVars[12] /* previous(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */) - (data->localData[0]->realVars[27] /* aVRTypeII.ExcitationSystem.x_scaled[1] CLOCKED_STATE */)); | ^~~~~~~~~~~~~ | clockIndex OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:226:21: note: 'clockIndex' declared here 226 | int i,j;const int clockIndex = 1; | ^ OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:313:149: error: use of undeclared identifier 'baseClockIndex' 313 | 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[16] /* der(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */))) + ((data->localData[0]->realVars[12] /* previous(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */) - (data->localData[0]->realVars[27] /* aVRTypeII.ExcitationSystem.x_scaled[1] CLOCKED_STATE */)); | ^~~~~~~~~~~~~~ OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:313:175: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? 313 | 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[16] /* der(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */))) + ((data->localData[0]->realVars[12] /* previous(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */) - (data->localData[0]->realVars[27] /* aVRTypeII.ExcitationSystem.x_scaled[1] CLOCKED_STATE */)); | ^~~~~~~~~~~~~ | clockIndex OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:226:21: note: 'clockIndex' declared here 226 | int i,j;const int clockIndex = 1; | ^ OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:317:46: error: use of undeclared identifier 'baseClockIndex' 317 | 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[17] /* der(aVRTypeII.derivativeBlock.x) variable */))) + ((data->localData[0]->realVars[13] /* previous(aVRTypeII.derivativeBlock.x) variable */) - (data->localData[0]->realVars[35] /* aVRTypeII.derivativeBlock.x CLOCKED_STATE */)); | ^~~~~~~~~~~~~~ OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:317:72: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? 317 | 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[17] /* der(aVRTypeII.derivativeBlock.x) variable */))) + ((data->localData[0]->realVars[13] /* previous(aVRTypeII.derivativeBlock.x) variable */) - (data->localData[0]->realVars[35] /* aVRTypeII.derivativeBlock.x CLOCKED_STATE */)); | ^~~~~~~~~~~~~ | clockIndex OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:226:21: note: 'clockIndex' declared here 226 | int i,j;const int clockIndex = 1; | ^ OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:317:149: error: use of undeclared identifier 'baseClockIndex' 317 | 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[17] /* der(aVRTypeII.derivativeBlock.x) variable */))) + ((data->localData[0]->realVars[13] /* previous(aVRTypeII.derivativeBlock.x) variable */) - (data->localData[0]->realVars[35] /* aVRTypeII.derivativeBlock.x CLOCKED_STATE */)); | ^~~~~~~~~~~~~~ OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:317:175: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? 317 | 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[17] /* der(aVRTypeII.derivativeBlock.x) variable */))) + ((data->localData[0]->realVars[13] /* previous(aVRTypeII.derivativeBlock.x) variable */) - (data->localData[0]->realVars[35] /* aVRTypeII.derivativeBlock.x CLOCKED_STATE */)); | ^~~~~~~~~~~~~ | clockIndex OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:226:21: note: 'clockIndex' declared here 226 | int i,j;const int clockIndex = 1; | ^ OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:319:46: error: use of undeclared identifier 'baseClockIndex' 319 | 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[19] /* der(aVRTypeII.simpleLagLim.state) variable */))) + ((data->localData[0]->realVars[15] /* previous(aVRTypeII.simpleLagLim.state) variable */) - (data->localData[0]->realVars[46] /* aVRTypeII.simpleLagLim.state CLOCKED_STATE */)); | ^~~~~~~~~~~~~~ OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:319:72: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? 319 | 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[19] /* der(aVRTypeII.simpleLagLim.state) variable */))) + ((data->localData[0]->realVars[15] /* previous(aVRTypeII.simpleLagLim.state) variable */) - (data->localData[0]->realVars[46] /* aVRTypeII.simpleLagLim.state CLOCKED_STATE */)); | ^~~~~~~~~~~~~ | clockIndex OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:226:21: note: 'clockIndex' declared here 226 | int i,j;const int clockIndex = 1; | ^ OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:319:149: error: use of undeclared identifier 'baseClockIndex' 319 | 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[19] /* der(aVRTypeII.simpleLagLim.state) variable */))) + ((data->localData[0]->realVars[15] /* previous(aVRTypeII.simpleLagLim.state) variable */) - (data->localData[0]->realVars[46] /* aVRTypeII.simpleLagLim.state CLOCKED_STATE */)); | ^~~~~~~~~~~~~~ OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:319:175: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? 319 | 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[19] /* der(aVRTypeII.simpleLagLim.state) variable */))) + ((data->localData[0]->realVars[15] /* previous(aVRTypeII.simpleLagLim.state) variable */) - (data->localData[0]->realVars[46] /* aVRTypeII.simpleLagLim.state CLOCKED_STATE */)); | ^~~~~~~~~~~~~ | clockIndex OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:226:21: note: 'clockIndex' declared here 226 | 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.503597044851631]