Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009405/0.0009405, allocations: 180.2 kB / 15.45 MB, free: 6.227 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 223.3 MB / 239.5 MB, free: 15.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008644/0.0008648, allocations: 105.9 kB / 290.6 MB, free: 4.504 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4855/0.4855, allocations: 78.62 MB / 420.4 MB, free: 36.48 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004216/0.0004217, allocations: 15.98 kB / 0.4889 GB, free: 6.742 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1626, allocations: 69.35 MB / 0.5566 GB, free: 1.32 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous): time 0.007225/0.1699, allocations: 6.595 MB / 0.563 GB, free: 10.69 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004776/0.1747, allocations: 2.044 MB / 0.565 GB, free: 8.641 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001314/0.176, allocations: 15.94 kB / 0.5651 GB, free: 8.625 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001007/0.1771, allocations: 186.8 kB / 0.5652 GB, free: 8.441 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002876/0.18, allocations: 0.713 MB / 0.5659 GB, free: 7.73 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.001763/0.1817, allocations: 0.6067 MB / 0.5665 GB, free: 7.129 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002014/0.1838, allocations: 1.514 MB / 0.568 GB, free: 5.609 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004617/0.1842, allocations: 305.6 kB / 0.5683 GB, free: 5.301 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007483/0.185, allocations: 0.5714 MB / 0.5689 GB, free: 4.727 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008302/0.1858, allocations: 0.7542 MB / 0.5696 GB, free: 3.969 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001332/0.186, allocations: 56 kB / 0.5696 GB, free: 3.914 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004647/0.1865, allocations: 191.9 kB / 0.5698 GB, free: 3.727 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002858/0.1867, allocations: 266.6 kB / 0.5701 GB, free: 3.465 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005693/0.1873, allocations: 0.6383 MB / 0.5707 GB, free: 2.816 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001435/0.1888, allocations: 1.572 MB / 0.5722 GB, free: 1.238 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1888, allocations: 4 kB / 0.5722 GB, free: 1.234 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1888, allocations: 4 kB / 0.5722 GB, free: 1.23 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.425e-05/0.1888, allocations: 0 / 0.5722 GB, free: 1.23 MB / 442.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.2756/0.4645, allocations: 2.506 MB / 0.5747 GB, free: 44.56 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.4645, allocations: 10.12 kB / 0.5747 GB, free: 44.56 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003292/0.4648, allocations: 132.4 kB / 0.5748 GB, free: 44.52 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004777/0.4696, allocations: 0.7832 MB / 0.5756 GB, free: 44.44 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001558/0.4712, allocations: 0.9153 MB / 0.5765 GB, free: 44.06 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002326/0.4715, allocations: 270.6 kB / 0.5767 GB, free: 43.87 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001545/0.4716, allocations: 85.81 kB / 0.5768 GB, free: 43.87 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002516/0.4741, allocations: 1.47 MB / 0.5783 GB, free: 43.73 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/0.4742, allocations: 1.812 kB / 0.5783 GB, free: 43.73 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.258e-05/0.4743, allocations: 31.44 kB / 0.5783 GB, free: 43.73 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.774e-05/0.4743, allocations: 17.94 kB / 0.5783 GB, free: 43.73 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001991/0.4763, allocations: 1.061 MB / 0.5793 GB, free: 43.72 MB / 442.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.0058/0.4821, allocations: 3.765 MB / 0.583 GB, free: 42.5 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008202/0.4903, allocations: 3.106 MB / 0.5861 GB, free: 41.86 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001705/0.4921, allocations: 0.8329 MB / 0.5869 GB, free: 41.82 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001283/0.4922, allocations: 22.5 kB / 0.5869 GB, free: 41.82 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001553/0.4938, allocations: 0.8116 MB / 0.5877 GB, free: 41.71 MB / 442.7 MB Notification: Performance of pre-optimization done (n=115): time 4.017e-06/0.4938, allocations: 0 / 0.5877 GB, free: 41.71 MB / 442.7 MB Notification: Performance of matching and sorting (n=115): time 0.02831/0.5221, allocations: 8.698 MB / 0.5962 GB, free: 40.76 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001183/0.5222, allocations: 194.1 kB / 0.5964 GB, free: 40.55 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001481/0.5237, allocations: 1.086 MB / 0.5974 GB, free: 40.11 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001581/0.5239, allocations: 55.67 kB / 0.5975 GB, free: 40.06 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002475/0.5242, allocations: 486.5 kB / 0.5979 GB, free: 39.68 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002497/0.5244, allocations: 331.1 kB / 0.5983 GB, free: 39.44 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000191/0.5246, allocations: 157.7 kB / 0.5984 GB, free: 39.36 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.857e-05/0.5247, allocations: 301.1 kB / 0.5987 GB, free: 39.07 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001369/0.526, allocations: 0.82 MB / 0.5995 GB, free: 38.78 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001477/0.5275, allocations: 1.155 MB / 0.6006 GB, free: 38.11 MB / 442.7 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.02093/0.5485, allocations: 6.396 MB / 0.6069 GB, free: 35.81 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.921e-05/0.5485, allocations: 3.406 kB / 0.6069 GB, free: 35.81 MB / 442.7 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.01421/0.5627, allocations: 5.369 MB / 0.6121 GB, free: 34.47 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.661e-05/0.5628, allocations: 60.47 kB / 0.6122 GB, free: 34.41 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.49e-05/0.5629, allocations: 9.281 kB / 0.6122 GB, free: 34.41 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006281/0.5692, allocations: 1.912 MB / 0.614 GB, free: 34.08 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001406/0.5706, allocations: 305.8 kB / 0.6143 GB, free: 34.04 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02226/0.5929, allocations: 10.63 MB / 0.6247 GB, free: 28.71 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0021/0.595, allocations: 236.7 kB / 0.6249 GB, free: 28.61 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003913/0.5954, allocations: 71.81 kB / 0.625 GB, free: 28.59 MB / 442.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 4 initial equations are redundant, so they are removed from the initialization sytem: $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.001385/0.5968, allocations: 369.4 kB / 0.6254 GB, free: 28.32 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002355/0.5992, allocations: 0.6952 MB / 0.626 GB, free: 28.05 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01481/0.614, allocations: 5.01 MB / 0.6309 GB, free: 26.93 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.965e-05/0.6141, allocations: 15.69 kB / 0.6309 GB, free: 26.93 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.08e-05/0.6141, allocations: 11.94 kB / 0.631 GB, free: 26.92 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.841e-05/0.6142, allocations: 9.734 kB / 0.631 GB, free: 26.92 MB / 442.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 postOpt removeSimpleEquations (simulation): time 0.01477/0.6289, allocations: 6.553 MB / 0.6374 GB, free: 20.53 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/0.629, allocations: 3.938 kB / 0.6374 GB, free: 20.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005255/0.6295, allocations: 108.8 kB / 0.6375 GB, free: 20.42 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005487/0.635, allocations: 1.998 MB / 0.6394 GB, free: 18.41 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001773/0.6352, allocations: 29.48 kB / 0.6395 GB, free: 18.38 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01986/0.6551, allocations: 12.04 MB / 0.6512 GB, free: 5.941 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.6551, allocations: 6.984 kB / 0.6512 GB, free: 5.938 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01482/0.67, allocations: 6.042 MB / 0.6571 GB, free: 15.85 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005091/0.6705, allocations: 243.1 kB / 0.6574 GB, free: 15.59 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003502/0.6709, allocations: 24 kB / 0.6574 GB, free: 15.57 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001286/0.6722, allocations: 148.9 kB / 0.6575 GB, free: 15.43 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005612/0.6727, allocations: 172.6 kB / 0.6577 GB, free: 15.26 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001056/0.6729, allocations: 38.11 kB / 0.6577 GB, free: 15.22 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001203/0.6741, allocations: 0.7394 MB / 0.6584 GB, free: 14.48 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6741, allocations: 0 / 0.6584 GB, free: 14.48 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002149/0.6762, allocations: 498.8 kB / 0.6589 GB, free: 13.99 MB / 458.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.01767/0.6939, allocations: 6.634 MB / 0.6654 GB, free: 7.305 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008187/0.7022, allocations: 3.037 MB / 0.6684 GB, free: 4.215 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/0.7022, allocations: 4 kB / 0.6684 GB, free: 4.211 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00438/0.7066, allocations: 1.601 MB / 0.6699 GB, free: 2.582 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002312/0.7089, allocations: 0.6072 MB / 0.6705 GB, free: 1.949 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0283/0.7373, allocations: 12.48 MB / 0.6827 GB, free: 5.062 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008803/0.7382, allocations: 1.16 MB / 0.6838 GB, free: 3.875 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005225/0.7387, allocations: 117.2 kB / 0.684 GB, free: 3.762 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007204/0.7395, allocations: 492.8 kB / 0.6844 GB, free: 3.281 MB / 474.7 MB Notification: Performance of SimCode: time 1.433e-06/0.7395, allocations: 0 / 0.6844 GB, free: 3.281 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05801/0.7975, allocations: 31.86 MB / 0.7155 GB, free: 3.867 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000364/0.7979, allocations: 286.6 kB / 0.7158 GB, free: 3.484 MB / 0.4948 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.o OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.c In file included from OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.c:7: In file included from ./OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:155: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_functions.o OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_functions.c In file included from OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_functions.c:2: In file included from ./OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_records.o OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_records.c In file included from OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_records.c:4: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_01exo.o OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_01exo.c In file included from OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_01exo.c:2: In file included from ./OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:155: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.o OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c In file included from OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:2: In file included from ./OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:155: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:551: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_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:484:19: note: 'clockIndex' declared here int i;const int clockIndex = 1; ^ OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:551: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_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:484:19: note: 'clockIndex' declared here int i;const int clockIndex = 1; ^ OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:551: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_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:484:19: note: 'clockIndex' declared here int i;const int clockIndex = 1; ^ OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:551: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_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:484:19: note: 'clockIndex' declared here int i;const int clockIndex = 1; ^ OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:555: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_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:484:19: note: 'clockIndex' declared here int i;const int clockIndex = 1; ^ OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:555: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_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:484:19: note: 'clockIndex' declared here int i;const int clockIndex = 1; ^ OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:555: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_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:484:19: note: 'clockIndex' declared here int i;const int clockIndex = 1; ^ OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:555: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_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:484:19: note: 'clockIndex' declared here int i;const int clockIndex = 1; ^ OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:557: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_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:484:19: note: 'clockIndex' declared here int i;const int clockIndex = 1; ^ OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:557: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_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:484:19: note: 'clockIndex' declared here int i;const int clockIndex = 1; ^ OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:557: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_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:484:19: note: 'clockIndex' declared here int i;const int clockIndex = 1; ^ OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:557: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_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:484:19: note: 'clockIndex' declared here int i;const int clockIndex = 1; ^ 2 warnings and 12 errors generated. make: *** [: OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.o] Error 1