Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.04581/0.04581, allocations: 9.511 MB / 29.37 MB, free: 164 kB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/WorkInProgress.mo:11:9-20:24:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/WorkInProgress.mo:130:9-144:24:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] 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.000832/0.000832, allocations: 99.33 kB / 35.55 MB, free: 0.5742 MB / 24.77 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.7862/0.7862, allocations: 158.6 MB / 197.4 MB, free: 6.895 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.001128/0.001128, allocations: 163.4 kB / 249.9 MB, free: 5.43 MB / 234.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2035/0.2035, allocations: 59.71 MB / 312.9 MB, free: 6.316 MB / 298.7 MB " [Timeout remaining time 180] Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_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_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 351 MB, free: 148 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.451e-05/1.573e-05, allocations: 6.25 kB / 351 MB, free: 140 kB / 330.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous): time 0.1263/0.1263, allocations: 6.356 MB / 357.4 MB, free: 20.14 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002726/0.129, allocations: 2.027 MB / 359.4 MB, free: 18.75 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004129/0.1294, allocations: 14.94 kB / 359.4 MB, free: 18.74 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005363/0.13, allocations: 250 kB / 359.6 MB, free: 18.61 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001312/0.1313, allocations: 0.8763 MB / 360.5 MB, free: 18.04 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation order4.xq <> order4.x1q, <> on Real operands is deprecated in non-function contexts. Notification: Performance of NFTyping.typeClassSections: time 0.0008683/0.1322, allocations: 0.6716 MB / 361.2 MB, free: 17.64 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001062/0.1332, allocations: 1.603 MB / 362.8 MB, free: 16.63 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002684/0.1335, allocations: 235.2 kB / 363 MB, free: 16.47 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006552/0.1341, allocations: 0.9233 MB / 363.9 MB, free: 15.88 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005193/0.1347, allocations: 0.6902 MB / 364.6 MB, free: 15.45 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001374/0.1348, allocations: 124.2 kB / 364.8 MB, free: 15.45 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003705/0.1352, allocations: 248.5 kB / 365 MB, free: 15.4 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002209/0.1354, allocations: 336.3 kB / 365.3 MB, free: 15.12 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002731/0.1357, allocations: 474.4 kB / 365.8 MB, free: 14.82 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008086/0.1365, allocations: 1.231 MB / 367 MB, free: 13.94 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1365, allocations: 0 / 367 MB, free: 13.94 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1365, allocations: 1.25 kB / 367 MB, free: 13.94 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.261e-05/0.1365, allocations: 2.938 kB / 367 MB, free: 13.94 MB / 330.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.003528/0.14, allocations: 2.631 MB / 369.7 MB, free: 11.62 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.719e-05/0.14, allocations: 8.031 kB / 369.7 MB, free: 11.61 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002301/0.1423, allocations: 0.9637 MB / 370.6 MB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005991/0.1429, allocations: 0.6007 MB / 371.2 MB, free: 10.01 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001122/0.1431, allocations: 334.8 kB / 371.6 MB, free: 9.633 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.963e-05/0.1431, allocations: 91.94 kB / 371.7 MB, free: 9.543 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007324/0.1439, allocations: 0.9188 MB / 372.6 MB, free: 8.602 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.1439, allocations: 0 / 372.6 MB, free: 8.602 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.121e-05/0.1439, allocations: 39.94 kB / 372.6 MB, free: 8.562 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.144, allocations: 22.59 kB / 372.6 MB, free: 8.543 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003839/0.1443, allocations: 333.4 kB / 373 MB, free: 8.211 MB / 330.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.002023/0.1464, allocations: 1.835 MB / 374.8 MB, free: 6.336 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001916/0.1483, allocations: 1.191 MB / 376 MB, free: 5.121 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002479/0.1485, allocations: 301.2 kB / 376.3 MB, free: 4.805 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.113e-05/0.1486, allocations: 29.22 kB / 376.3 MB, free: 4.777 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003011/0.1489, allocations: 449.1 kB / 376.7 MB, free: 4.309 MB / 330.7 MB Notification: Performance of pre-optimization done (n=115): time 1.974e-06/0.1489, allocations: 0.6875 kB / 376.7 MB, free: 4.309 MB / 330.7 MB Notification: Performance of matching and sorting (n=115): time 0.008996/0.1579, allocations: 4.608 MB / 381.4 MB, free: 15.68 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.713e-05/0.158, allocations: 190.8 kB / 381.5 MB, free: 15.46 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005574/0.1585, allocations: 0.8609 MB / 382.4 MB, free: 14.59 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.495e-05/0.1586, allocations: 49.7 kB / 382.4 MB, free: 14.53 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001593/0.1588, allocations: 347.6 kB / 382.8 MB, free: 14.18 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001769/0.1589, allocations: 341.1 kB / 383.1 MB, free: 13.85 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002681/0.1592, allocations: 267.3 kB / 383.4 MB, free: 13.58 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.464e-05/0.1593, allocations: 369.8 kB / 383.7 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000456/0.1598, allocations: 366.1 kB / 384.1 MB, free: 12.84 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005467/0.1603, allocations: 0.5459 MB / 384.6 MB, free: 12.23 MB / 346.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.01331/0.1736, allocations: 2.683 MB / 387.3 MB, free: 9.418 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.1736, allocations: 4 kB / 387.3 MB, free: 9.414 MB / 346.7 MB Notification: Performance of matching and sorting (n=179) (initialization): time 0.004343/0.178, allocations: 2.611 MB / 389.9 MB, free: 6.766 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.675e-05/0.178, allocations: 65.28 kB / 390 MB, free: 6.691 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.178, allocations: 4 kB / 390 MB, free: 6.688 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003605/0.1816, allocations: 1.476 MB / 391.5 MB, free: 5.207 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005287/0.1821, allocations: 247.6 kB / 391.7 MB, free: 4.965 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004521/0.1867, allocations: 3.362 MB / 395.1 MB, free: 1.512 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005856/0.1873, allocations: 167 kB / 395.3 MB, free: 1.348 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.547e-05/0.1873, allocations: 35.98 kB / 395.3 MB, free: 1.312 MB / 346.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.0003087/0.1876, allocations: 231.5 kB / 395.5 MB, free: 1.074 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007147/0.1883, allocations: 434 kB / 395.9 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004232/0.1926, allocations: 2.443 MB / 398.4 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.1926, allocations: 23.92 kB / 398.4 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.1926, allocations: 8 kB / 398.4 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.1926, allocations: 3.984 kB / 398.4 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004881/0.1975, allocations: 3.031 MB / 401.4 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.1975, allocations: 0 / 401.4 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002536/0.1977, allocations: 111.8 kB / 401.6 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004018/0.2017, allocations: 1.761 MB / 403.3 MB, free: 9.184 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.459e-05/0.2018, allocations: 29.3 kB / 403.3 MB, free: 9.156 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00646/0.2083, allocations: 6.751 MB / 410.1 MB, free: 2.129 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.2083, allocations: 4 kB / 410.1 MB, free: 2.125 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003964/0.2122, allocations: 2.444 MB / 412.5 MB, free: 15.63 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001543/0.2124, allocations: 130.9 kB / 412.7 MB, free: 15.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.2125, allocations: 24 kB / 412.7 MB, free: 15.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004121/0.2129, allocations: 79.92 kB / 412.8 MB, free: 15.4 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002661/0.2132, allocations: 172.7 kB / 412.9 MB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.226e-05/0.2132, allocations: 23.98 kB / 413 MB, free: 15.21 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003205/0.2135, allocations: 447 kB / 413.4 MB, free: 14.77 MB / 378.7 MB Notification: Performance of sort global known variables: time 3e-08/0.2135, allocations: 0 / 413.4 MB, free: 14.77 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008511/0.2144, allocations: 471.7 kB / 413.9 MB, free: 14.3 MB / 378.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.0002069/0.2146, allocations: 131.1 kB / 414 MB, free: 14.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002096/0.2167, allocations: 1.575 MB / 415.6 MB, free: 12.55 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.758e-06/0.2167, allocations: 12 kB / 415.6 MB, free: 12.54 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001233/0.2179, allocations: 0.9285 MB / 416.5 MB, free: 11.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008193/0.2187, allocations: 0.5412 MB / 417 MB, free: 11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002508/0.2213, allocations: 2.12 MB / 419.2 MB, free: 8.836 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001774/0.2214, allocations: 270.2 kB / 419.4 MB, free: 8.543 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002032/0.2216, allocations: 111.4 kB / 419.5 MB, free: 8.434 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002485/0.2219, allocations: 183.3 kB / 419.7 MB, free: 8.254 MB / 378.7 MB Notification: Performance of SimCode: time 6.31e-07/0.2219, allocations: 0 / 419.7 MB, free: 8.254 MB / 378.7 MB Notification: Performance of Templates: time 0.02607/0.248, allocations: 25.99 MB / 445.7 MB, free: 14.49 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.makefile [Timeout 660] make -j1 -f OpenIPSL_2.0.0_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_2_0_0_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_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.o OpenIPSL_2.0.0_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_2_0_0_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_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_functions.o OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_functions.c OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_functions.c:40:11: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 40 | if((_y0 == 0.0)) | ~~~~^~~~~~ OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_functions.c:40:11: note: remove extraneous parentheses around the comparison to silence this warning 40 | if((_y0 == 0.0)) | ~ ^ ~ OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_functions.c:40:11: note: use '=' to turn this equality comparison into an assignment 40 | 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_2_0_0_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_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_records.o OpenIPSL_2.0.0_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_2_0_0_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_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_01exo.o OpenIPSL_2.0.0_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_2_0_0_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_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.o OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c OpenIPSL_2.0.0_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_2.0.0_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_2.0.0_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_2.0.0_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_2.0.0_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_2.0.0_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_2.0.0_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_2.0.0_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_2.0.0_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_2.0.0_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_2.0.0_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_2.0.0_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_2.0.0_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_2.0.0_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_2.0.0_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_2.0.0_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_2.0.0_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_2.0.0_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_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.o] Error 1 [Calling os._exit(0), Time elapsed: 2.172411403618753]