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.001374/0.001375, allocations: 112.6 kB / 16.37 MB, free: 5.949 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.437/1.437, allocations: 222.9 MB / 240 MB, free: 4.527 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.001707/0.001707, allocations: 184.5 kB / 290.3 MB, free: 2.246 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4902/0.4902, allocations: 78.53 MB / 419 MB, free: 3.125 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 71.89 kB / 498.9 MB, free: 5.688 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1627, allocations: 68.17 MB / 0.5538 GB, free: 1.461 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous): time 0.2742/0.4369, allocations: 6.768 MB / 0.5604 GB, free: 35.75 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004591/0.4416, allocations: 2.011 MB / 0.5624 GB, free: 35.2 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009463/0.4426, allocations: 12.91 kB / 0.5624 GB, free: 35.2 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007632/0.4433, allocations: 245.4 kB / 0.5626 GB, free: 35.19 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002082/0.4455, allocations: 0.7969 MB / 0.5634 GB, free: 35.04 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.001315/0.4468, allocations: 0.6545 MB / 0.564 GB, free: 34.95 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001632/0.4484, allocations: 1.613 MB / 0.5656 GB, free: 34.64 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004514/0.4489, allocations: 337.2 kB / 0.5659 GB, free: 34.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008088/0.4497, allocations: 0.664 MB / 0.5666 GB, free: 34.42 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007448/0.4505, allocations: 0.8359 MB / 0.5674 GB, free: 34.2 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001658/0.4506, allocations: 124.8 kB / 0.5675 GB, free: 34.2 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004812/0.4511, allocations: 258.1 kB / 0.5677 GB, free: 34.19 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002352/0.4514, allocations: 343.1 kB / 0.5681 GB, free: 34.1 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004509/0.4518, allocations: 0.6741 MB / 0.5687 GB, free: 33.86 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001322/0.4532, allocations: 1.7 MB / 0.5704 GB, free: 33.46 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.4532, allocations: 1 kB / 0.5704 GB, free: 33.46 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4532, allocations: 0 / 0.5704 GB, free: 33.46 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.54e-05/0.4532, allocations: 1.125 kB / 0.5704 GB, free: 33.46 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.008131/0.4614, allocations: 2.708 MB / 0.573 GB, free: 32.46 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.4614, allocations: 10.75 kB / 0.573 GB, free: 32.46 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004884/0.4663, allocations: 0.7866 MB / 0.5738 GB, free: 32.37 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001728/0.4681, allocations: 0.8997 MB / 0.5747 GB, free: 31.96 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002263/0.4683, allocations: 267.8 kB / 0.575 GB, free: 31.76 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001627/0.4685, allocations: 93.03 kB / 0.575 GB, free: 31.75 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002369/0.4709, allocations: 1.399 MB / 0.5764 GB, free: 31.61 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.4709, allocations: 3.938 kB / 0.5764 GB, free: 31.6 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.341e-05/0.471, allocations: 30.44 kB / 0.5764 GB, free: 31.6 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/0.471, allocations: 16.69 kB / 0.5765 GB, free: 31.6 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001777/0.4728, allocations: 1 MB / 0.5774 GB, free: 31.59 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.005621/0.4784, allocations: 3.677 MB / 0.581 GB, free: 29.66 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006704/0.4851, allocations: 2.574 MB / 0.5835 GB, free: 28.66 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001713/0.4869, allocations: 0.7677 MB / 0.5843 GB, free: 28.35 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000124/0.4871, allocations: 20.16 kB / 0.5843 GB, free: 28.34 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001326/0.4884, allocations: 0.7551 MB / 0.585 GB, free: 28.04 MB / 430.1 MB Notification: Performance of pre-optimization done (n=115): time 4.469e-06/0.4884, allocations: 0.5625 kB / 0.585 GB, free: 28.04 MB / 430.1 MB Notification: Performance of matching and sorting (n=115): time 0.02748/0.5159, allocations: 7.17 MB / 0.592 GB, free: 26.59 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001618/0.5161, allocations: 197.9 kB / 0.5922 GB, free: 26.38 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002128/0.5182, allocations: 1.086 MB / 0.5933 GB, free: 25.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003138/0.5186, allocations: 51.58 kB / 0.5933 GB, free: 25.88 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003407/0.5189, allocations: 483.1 kB / 0.5938 GB, free: 25.5 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000362/0.5193, allocations: 335.4 kB / 0.5941 GB, free: 25.25 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005642/0.5199, allocations: 308.2 kB / 0.5944 GB, free: 25.11 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.28e-05/0.5199, allocations: 301.6 kB / 0.5947 GB, free: 24.81 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001628/0.5216, allocations: 0.7526 MB / 0.5954 GB, free: 24.54 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001708/0.5233, allocations: 1.096 MB / 0.5965 GB, free: 23.86 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.02226/0.5456, allocations: 5.96 MB / 0.6023 GB, free: 21.62 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.596e-05/0.5456, allocations: 3.344 kB / 0.6023 GB, free: 21.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.01428/0.5599, allocations: 4.53 MB / 0.6068 GB, free: 20.37 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.95e-05/0.56, allocations: 66.62 kB / 0.6068 GB, free: 20.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.997e-05/0.5601, allocations: 8.906 kB / 0.6068 GB, free: 20.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005919/0.566, allocations: 1.632 MB / 0.6084 GB, free: 19.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00139/0.5674, allocations: 301 kB / 0.6087 GB, free: 19.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01935/0.5868, allocations: 10.48 MB / 0.6189 GB, free: 11.01 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001991/0.5888, allocations: 207.2 kB / 0.6191 GB, free: 10.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001743/0.589, allocations: 71.98 kB / 0.6192 GB, free: 10.73 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.0008205/0.5899, allocations: 362.9 kB / 0.6196 GB, free: 10.37 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001751/0.5916, allocations: 0.6686 MB / 0.6202 GB, free: 9.688 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01159/0.6032, allocations: 4.15 MB / 0.6243 GB, free: 5.512 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.948e-05/0.6033, allocations: 12 kB / 0.6243 GB, free: 5.5 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.969e-05/0.6033, allocations: 12.56 kB / 0.6243 GB, free: 5.488 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.794e-05/0.6033, allocations: 9.047 kB / 0.6243 GB, free: 5.48 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.01316/0.6165, allocations: 5.687 MB / 0.6298 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-05/0.6166, allocations: 4.906 kB / 0.6299 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006698/0.6173, allocations: 111.8 kB / 0.63 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005658/0.6229, allocations: 1.72 MB / 0.6316 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002014/0.6231, allocations: 24.48 kB / 0.6317 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02283/0.646, allocations: 12.18 MB / 0.6436 GB, free: 1.215 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.646, allocations: 0 / 0.6436 GB, free: 1.215 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01535/0.6614, allocations: 5.129 MB / 0.6486 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000675/0.6621, allocations: 227.2 kB / 0.6488 GB, free: 11.8 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000223/0.6623, allocations: 24 kB / 0.6488 GB, free: 11.77 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001178/0.6635, allocations: 116.9 kB / 0.6489 GB, free: 11.66 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005971/0.6641, allocations: 184.7 kB / 0.6491 GB, free: 11.48 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.39e-05/0.6642, allocations: 32 kB / 0.6491 GB, free: 11.45 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001228/0.6655, allocations: 0.7316 MB / 0.6498 GB, free: 10.71 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.6655, allocations: 4 kB / 0.6498 GB, free: 10.71 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002017/0.6675, allocations: 499.5 kB / 0.6503 GB, free: 10.22 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.0003869/0.6679, allocations: 136.8 kB / 0.6505 GB, free: 10.08 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006586/0.6745, allocations: 2.77 MB / 0.6532 GB, free: 7.25 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.6745, allocations: 0 / 0.6532 GB, free: 7.25 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003874/0.6784, allocations: 1.382 MB / 0.6545 GB, free: 5.844 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001834/0.6803, allocations: 0.5956 MB / 0.6551 GB, free: 5.227 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004568/0.6848, allocations: 2.371 MB / 0.6574 GB, free: 2.859 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008228/0.6857, allocations: 1.156 MB / 0.6585 GB, free: 1.672 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004879/0.6862, allocations: 125.4 kB / 0.6587 GB, free: 1.551 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002525/0.6865, allocations: 79.42 kB / 0.6587 GB, free: 1.473 MB / 462.1 MB Notification: Performance of SimCode: time 9.32e-07/0.6865, allocations: 0 / 0.6587 GB, free: 1.473 MB / 462.1 MB Notification: Performance of Templates: time 0.03965/0.7261, allocations: 24.42 MB / 0.6826 GB, free: 9.285 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 -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/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 -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/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 -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/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 -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/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 -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/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:618: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:549:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:618: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:549:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:618: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:549:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:618: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:549:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:622: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:549:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:622: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:549:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:622: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:549:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:622: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:549:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:624: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:549:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:624: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:549:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:624: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:549:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:624: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:549: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