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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,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=4000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 222.9 MB / 239 MB, free: 4.68 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 196.4 kB / 289.3 MB, free: 2.422 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4577/0.4577, allocations: 78.52 MB / 417.9 MB, free: 3.281 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 79.88 kB / 496.9 MB, free: 6.668 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1462, allocations: 68.17 MB / 0.5519 GB, free: 2.449 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous): time 0.2856/0.4319, allocations: 7.056 MB / 0.5588 GB, free: 35.62 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004588/0.4365, allocations: 2.051 MB / 0.5608 GB, free: 35.05 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001201/0.4378, allocations: 15.78 kB / 0.5608 GB, free: 35.05 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000896/0.4387, allocations: 189.3 kB / 0.561 GB, free: 35.04 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002286/0.441, allocations: 0.6934 MB / 0.5616 GB, free: 34.89 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation order4.xq <> order4.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001395/0.4424, allocations: 0.6157 MB / 0.5622 GB, free: 34.8 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001743/0.4442, allocations: 1.599 MB / 0.5638 GB, free: 34.73 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004828/0.4447, allocations: 337.2 kB / 0.5641 GB, free: 34.68 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008666/0.4455, allocations: 0.6671 MB / 0.5648 GB, free: 34.53 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007642/0.4463, allocations: 0.8385 MB / 0.5656 GB, free: 34.32 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001683/0.4465, allocations: 125.2 kB / 0.5657 GB, free: 34.32 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005576/0.4471, allocations: 261 kB / 0.566 GB, free: 34.31 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002662/0.4473, allocations: 341.9 kB / 0.5663 GB, free: 34.22 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005143/0.4479, allocations: 0.6795 MB / 0.567 GB, free: 33.97 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001543/0.4494, allocations: 1.674 MB / 0.5686 GB, free: 33.59 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.4494, allocations: 1.312 kB / 0.5686 GB, free: 33.59 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.4494, allocations: 0 / 0.5686 GB, free: 33.59 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.408e-05/0.4495, allocations: 1.25 kB / 0.5686 GB, free: 33.59 MB / 430.1 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.008037/0.4575, allocations: 2.713 MB / 0.5712 GB, free: 32.59 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.4576, allocations: 8.781 kB / 0.5712 GB, free: 32.59 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004611/0.4622, allocations: 0.7761 MB / 0.572 GB, free: 32.5 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001378/0.4636, allocations: 0.9054 MB / 0.5729 GB, free: 32.09 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000236/0.4638, allocations: 263.6 kB / 0.5731 GB, free: 31.89 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001516/0.464, allocations: 89 kB / 0.5732 GB, free: 31.89 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002395/0.4664, allocations: 1.403 MB / 0.5746 GB, free: 31.73 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/0.4664, allocations: 0.5625 kB / 0.5746 GB, free: 31.73 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.013e-05/0.4665, allocations: 33.66 kB / 0.5746 GB, free: 31.73 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.772e-05/0.4665, allocations: 20.72 kB / 0.5746 GB, free: 31.73 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001761/0.4683, allocations: 0.9997 MB / 0.5756 GB, free: 31.72 MB / 430.1 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.005179/0.4735, allocations: 3.698 MB / 0.5792 GB, free: 29.8 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006883/0.4804, allocations: 2.565 MB / 0.5817 GB, free: 28.81 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001459/0.4819, allocations: 0.7676 MB / 0.5825 GB, free: 28.5 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001127/0.482, allocations: 21.03 kB / 0.5825 GB, free: 28.5 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001417/0.4834, allocations: 0.7543 MB / 0.5832 GB, free: 28.19 MB / 430.1 MB Notification: Performance of pre-optimization done (n=115): time 3.065e-06/0.4834, allocations: 1.125 kB / 0.5832 GB, free: 28.19 MB / 430.1 MB Notification: Performance of matching and sorting (n=115): time 0.02906/0.5125, allocations: 7.169 MB / 0.5903 GB, free: 26.74 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001362/0.5127, allocations: 197.7 kB / 0.5904 GB, free: 26.53 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001833/0.5145, allocations: 1.089 MB / 0.5915 GB, free: 26.08 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002669/0.5148, allocations: 48.05 kB / 0.5915 GB, free: 26.04 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003416/0.5151, allocations: 483.6 kB / 0.592 GB, free: 25.66 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003486/0.5155, allocations: 336.2 kB / 0.5923 GB, free: 25.4 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005321/0.516, allocations: 308.6 kB / 0.5926 GB, free: 25.26 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.33e-05/0.5161, allocations: 303.1 kB / 0.5929 GB, free: 24.96 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00153/0.5176, allocations: 0.7508 MB / 0.5936 GB, free: 24.69 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001678/0.5193, allocations: 1.109 MB / 0.5947 GB, free: 24 MB / 430.1 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.02406/0.5434, allocations: 5.965 MB / 0.6006 GB, free: 21.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.58e-05/0.5435, allocations: 3.781 kB / 0.6006 GB, free: 21.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.01587/0.5594, allocations: 4.532 MB / 0.605 GB, free: 20.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.933e-05/0.5595, allocations: 68.28 kB / 0.605 GB, free: 20.44 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.83e-05/0.5595, allocations: 9.656 kB / 0.6051 GB, free: 20.44 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006443/0.566, allocations: 1.635 MB / 0.6067 GB, free: 20.12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001499/0.5675, allocations: 300.6 kB / 0.6069 GB, free: 20.05 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0208/0.5883, allocations: 10.49 MB / 0.6172 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002198/0.5906, allocations: 202.7 kB / 0.6174 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001217/0.5907, allocations: 74.55 kB / 0.6175 GB, free: 11.32 MB / 430.1 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 4 initial equations are redundant, so they are removed from the initialization system: $DER.aVRTypeII.firstOrder2.y = 0.0 $DER.aVRTypeII.derivativeBlock.x = 0.0 aVRTypeII.simpleLagLim.state = aVRTypeII.simpleLagLim.y_start order4.delta0 = Modelica.Math.atan3(order4.Vt0.im + (order4.ra * order4.I0.im + order4.xq0 * order4.I0.re) * order4.Z_MBtoSB, order4.Vt0.re + (order4.ra * order4.I0.re - order4.xq0 * order4.I0.im) * order4.Z_MBtoSB, 0.0). Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * 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 (179): * Single equations (assignments): 175 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0007465/0.5915, allocations: 357.5 kB / 0.6178 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001635/0.5931, allocations: 0.6765 MB / 0.6185 GB, free: 10.27 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0138/0.6069, allocations: 4.146 MB / 0.6225 GB, free: 6.098 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.538e-05/0.607, allocations: 12 kB / 0.6225 GB, free: 6.086 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.586e-05/0.607, allocations: 8 kB / 0.6225 GB, free: 6.078 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.036e-05/0.6071, allocations: 3.984 kB / 0.6225 GB, free: 6.074 MB / 430.1 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 postOpt removeSimpleEquations (simulation): time 0.02149/0.6286, allocations: 5.697 MB / 0.6281 GB, free: 272 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.439e-05/0.6287, allocations: 0 / 0.6281 GB, free: 272 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009298/0.6296, allocations: 109.4 kB / 0.6282 GB, free: 164 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008971/0.6386, allocations: 1.727 MB / 0.6299 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002865/0.6389, allocations: 25.59 kB / 0.6299 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02997/0.6689, allocations: 12.2 MB / 0.6418 GB, free: 1.785 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.6689, allocations: 0 / 0.6418 GB, free: 1.785 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01523/0.6842, allocations: 5.124 MB / 0.6468 GB, free: 12.62 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005356/0.6847, allocations: 227.2 kB / 0.647 GB, free: 12.38 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002137/0.685, allocations: 27.98 kB / 0.6471 GB, free: 12.35 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001178/0.6861, allocations: 115.8 kB / 0.6472 GB, free: 12.23 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005659/0.6867, allocations: 180.7 kB / 0.6474 GB, free: 12.06 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.515e-05/0.6868, allocations: 31.98 kB / 0.6474 GB, free: 12.03 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001057/0.6879, allocations: 0.7356 MB / 0.6481 GB, free: 11.29 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6879, allocations: 0 / 0.6481 GB, free: 11.29 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001766/0.6897, allocations: 499.5 kB / 0.6486 GB, free: 10.8 MB / 462.1 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.0002913/0.69, allocations: 136.8 kB / 0.6487 GB, free: 10.66 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006789/0.6968, allocations: 2.804 MB / 0.6514 GB, free: 7.793 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.6968, allocations: 0 / 0.6514 GB, free: 7.793 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003987/0.7008, allocations: 1.379 MB / 0.6528 GB, free: 6.391 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002327/0.7031, allocations: 0.602 MB / 0.6534 GB, free: 5.766 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004726/0.7079, allocations: 2.834 MB / 0.6561 GB, free: 2.934 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007145/0.7086, allocations: 1.156 MB / 0.6573 GB, free: 1.746 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004673/0.7091, allocations: 120.7 kB / 0.6574 GB, free: 1.629 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000237/0.7093, allocations: 79.42 kB / 0.6575 GB, free: 1.551 MB / 462.1 MB Notification: Performance of SimCode: time 1.092e-06/0.7093, allocations: 0 / 0.6575 GB, free: 1.551 MB / 462.1 MB Notification: Performance of Templates: time 0.03638/0.7457, allocations: 23.77 MB / 0.6807 GB, free: 10.03 MB / 494.1 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.makefile make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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=3 -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 -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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=3 -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 clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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=3 -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 -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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=3 -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 -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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=3 -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:591:46: error: use of undeclared identifier 'baseClockIndex'; did you mean 'clockIndex'? 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_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:591:72: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? 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_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:591:149: error: use of undeclared identifier 'baseClockIndex'; did you mean 'clockIndex'? 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_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:591:175: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? 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_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:595:46: error: use of undeclared identifier 'baseClockIndex'; did you mean 'clockIndex'? 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_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:595:72: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? 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_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:595:149: error: use of undeclared identifier 'baseClockIndex'; did you mean 'clockIndex'? 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_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:595:175: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? 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_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:597:46: error: use of undeclared identifier 'baseClockIndex'; did you mean 'clockIndex'? 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_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:597:72: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? 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_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:597:149: error: use of undeclared identifier 'baseClockIndex'; did you mean 'clockIndex'? 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_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:597:175: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? 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_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ 12 errors generated. make: *** [: OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.o] Error 1