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: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous,fileNamePrefix="OpenIPSL_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007403/0.0007404, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.364/1.364, allocations: 223.2 MB / 239.3 MB, free: 5.512 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.001023/0.001023, allocations: 180.5 kB / 290.6 MB, free: 2.18 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5058/0.5058, allocations: 78.56 MB / 420.3 MB, free: 4.195 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003547/0.0003548, allocations: 8 kB / 0.4888 GB, free: 5.926 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.173, allocations: 69.36 MB / 0.5565 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous): time 0.3093/0.4823, allocations: 6.597 MB / 0.5629 GB, free: 36.03 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003481/0.4859, allocations: 2.038 MB / 0.5649 GB, free: 35.23 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004028/0.4863, allocations: 12.91 kB / 0.5649 GB, free: 35.23 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005632/0.4868, allocations: 187.6 kB / 0.5651 GB, free: 35.16 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001367/0.4882, allocations: 0.7104 MB / 0.5658 GB, free: 34.84 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.0009241/0.4892, allocations: 0.6011 MB / 0.5664 GB, free: 34.75 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001039/0.4902, allocations: 1.52 MB / 0.5679 GB, free: 34.41 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004181/0.4906, allocations: 298.5 kB / 0.5682 GB, free: 34.36 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005752/0.4912, allocations: 0.5796 MB / 0.5687 GB, free: 34.18 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006901/0.4919, allocations: 0.7558 MB / 0.5695 GB, free: 33.96 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001356/0.4921, allocations: 60.41 kB / 0.5695 GB, free: 33.96 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003539/0.4924, allocations: 193.7 kB / 0.5697 GB, free: 33.95 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002297/0.4927, allocations: 262 kB / 0.57 GB, free: 33.86 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004015/0.4931, allocations: 0.6398 MB / 0.5706 GB, free: 33.58 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001074/0.4941, allocations: 1.575 MB / 0.5721 GB, free: 33.2 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.4942, allocations: 0 / 0.5721 GB, free: 33.2 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4942, allocations: 0.625 kB / 0.5721 GB, free: 33.2 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.375e-05/0.4942, allocations: 1.969 kB / 0.5721 GB, free: 33.2 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.007598/0.5018, allocations: 2.517 MB / 0.5746 GB, free: 32.24 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.5018, allocations: 12.12 kB / 0.5746 GB, free: 32.24 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001924/0.502, allocations: 129.3 kB / 0.5747 GB, free: 32.2 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004605/0.5067, allocations: 0.7878 MB / 0.5755 GB, free: 32.1 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001103/0.5078, allocations: 0.9013 MB / 0.5764 GB, free: 31.68 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002188/0.508, allocations: 270.2 kB / 0.5766 GB, free: 31.49 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001606/0.5082, allocations: 94.8 kB / 0.5767 GB, free: 31.49 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002491/0.5107, allocations: 1.467 MB / 0.5781 GB, free: 31.32 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.5107, allocations: 3.188 kB / 0.5781 GB, free: 31.32 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.559e-05/0.5108, allocations: 27.75 kB / 0.5782 GB, free: 31.32 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.817e-05/0.5108, allocations: 21 kB / 0.5782 GB, free: 31.32 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001953/0.5128, allocations: 1.063 MB / 0.5792 GB, free: 31.3 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.005413/0.5182, allocations: 3.768 MB / 0.5829 GB, free: 29.62 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008252/0.5265, allocations: 3.1 MB / 0.5859 GB, free: 28.57 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001589/0.5281, allocations: 0.8337 MB / 0.5868 GB, free: 28.25 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.891e-05/0.5282, allocations: 25.31 kB / 0.5868 GB, free: 28.24 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001469/0.5297, allocations: 0.8138 MB / 0.5876 GB, free: 27.93 MB / 430.1 MB Notification: Performance of pre-optimization done (n=115): time 3.287e-06/0.5297, allocations: 1.406 kB / 0.5876 GB, free: 27.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=115): time 0.03281/0.5625, allocations: 8.699 MB / 0.5961 GB, free: 26.29 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001602/0.5627, allocations: 190.7 kB / 0.5963 GB, free: 26.09 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00213/0.5648, allocations: 1.09 MB / 0.5973 GB, free: 25.64 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00016/0.565, allocations: 52.19 kB / 0.5974 GB, free: 25.59 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000352/0.5654, allocations: 487.3 kB / 0.5978 GB, free: 25.21 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000359/0.5657, allocations: 327.2 kB / 0.5981 GB, free: 24.96 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002598/0.566, allocations: 154.5 kB / 0.5983 GB, free: 24.89 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.271e-05/0.5661, allocations: 301.1 kB / 0.5986 GB, free: 24.59 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001828/0.5679, allocations: 0.8145 MB / 0.5994 GB, free: 24.31 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002035/0.57, allocations: 1.161 MB / 0.6005 GB, free: 23.63 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.02383/0.5938, allocations: 6.397 MB / 0.6068 GB, free: 21.34 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.704e-05/0.5939, allocations: 3.125 kB / 0.6068 GB, free: 21.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.01708/0.611, allocations: 5.368 MB / 0.612 GB, free: 19.99 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.282e-05/0.611, allocations: 66.67 kB / 0.6121 GB, free: 19.92 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.823e-05/0.6111, allocations: 12.17 kB / 0.6121 GB, free: 19.92 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006062/0.6171, allocations: 1.911 MB / 0.6139 GB, free: 18.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001138/0.6183, allocations: 304 kB / 0.6142 GB, free: 18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01971/0.638, allocations: 10.62 MB / 0.6246 GB, free: 7.102 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002019/0.64, allocations: 242.6 kB / 0.6248 GB, free: 6.863 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002014/0.6403, allocations: 69.86 kB / 0.6249 GB, free: 6.797 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 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.0009349/0.6412, allocations: 369.1 kB / 0.6253 GB, free: 6.43 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001975/0.6432, allocations: 0.7001 MB / 0.6259 GB, free: 5.715 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0134/0.6566, allocations: 5.002 MB / 0.6308 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.936e-05/0.6566, allocations: 20.75 kB / 0.6308 GB, free: 0.668 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.144e-05/0.6567, allocations: 8 kB / 0.6308 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263e-05/0.6567, allocations: 3.984 kB / 0.6309 GB, free: 0.6562 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.01695/0.6737, allocations: 6.548 MB / 0.6372 GB, free: 10 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.269e-05/0.6737, allocations: 7.938 kB / 0.6373 GB, free: 9.992 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005315/0.6742, allocations: 109.1 kB / 0.6374 GB, free: 9.887 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006262/0.6805, allocations: 2.004 MB / 0.6393 GB, free: 7.871 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001218/0.6806, allocations: 27.98 kB / 0.6393 GB, free: 7.844 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0244/0.705, allocations: 12.05 MB / 0.6511 GB, free: 11.39 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.7051, allocations: 0 / 0.6511 GB, free: 11.39 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01719/0.7223, allocations: 6.048 MB / 0.657 GB, free: 5.297 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00072/0.723, allocations: 239.1 kB / 0.6572 GB, free: 5.043 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003321/0.7234, allocations: 27.27 kB / 0.6573 GB, free: 5.02 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001396/0.7248, allocations: 151.9 kB / 0.6574 GB, free: 4.871 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005533/0.7254, allocations: 169.8 kB / 0.6576 GB, free: 4.707 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001045/0.7255, allocations: 35.98 kB / 0.6576 GB, free: 4.672 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001314/0.7268, allocations: 0.7356 MB / 0.6583 GB, free: 3.93 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.7e-07/0.7268, allocations: 0 / 0.6583 GB, free: 3.93 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001873/0.7287, allocations: 499.5 kB / 0.6588 GB, free: 3.441 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.01737/0.7461, allocations: 6.632 MB / 0.6653 GB, free: 12.75 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007465/0.7536, allocations: 3.035 MB / 0.6682 GB, free: 9.66 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.7536, allocations: 0 / 0.6682 GB, free: 9.66 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00449/0.7581, allocations: 1.604 MB / 0.6698 GB, free: 8.031 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002211/0.7603, allocations: 0.61 MB / 0.6704 GB, free: 7.395 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02936/0.7897, allocations: 12.48 MB / 0.6826 GB, free: 10.49 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009468/0.7907, allocations: 1.156 MB / 0.6837 GB, free: 9.305 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005208/0.7912, allocations: 121.2 kB / 0.6838 GB, free: 9.188 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007369/0.792, allocations: 487.3 kB / 0.6843 GB, free: 8.711 MB / 494.1 MB Notification: Performance of SimCode: time 1.112e-06/0.792, allocations: 0 / 0.6843 GB, free: 8.711 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05853/0.8505, allocations: 31.83 MB / 0.7154 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002929/0.8509, allocations: 273.3 kB / 0.7157 GB, free: 8.969 MB / 0.5137 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_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.o OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.c In file included from OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous.c:7: In file included from ./OpenIPSL_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_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_functions.o OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_functions.c In file included from OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_functions.c:2: In file included from ./OpenIPSL_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_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_records.o OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_records.c In file included from OpenIPSL_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_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_01exo.o OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_01exo.c In file included from OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_01exo.c:2: In file included from ./OpenIPSL_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_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.o OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c In file included from OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:2: In file included from ./OpenIPSL_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_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_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:484:19: note: 'clockIndex' declared here int i;const int clockIndex = 1; ^ OpenIPSL_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_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:484:19: note: 'clockIndex' declared here int i;const int clockIndex = 1; ^ OpenIPSL_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_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:484:19: note: 'clockIndex' declared here int i;const int clockIndex = 1; ^ OpenIPSL_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_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:484:19: note: 'clockIndex' declared here int i;const int clockIndex = 1; ^ OpenIPSL_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_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:484:19: note: 'clockIndex' declared here int i;const int clockIndex = 1; ^ OpenIPSL_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_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:484:19: note: 'clockIndex' declared here int i;const int clockIndex = 1; ^ OpenIPSL_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_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:484:19: note: 'clockIndex' declared here int i;const int clockIndex = 1; ^ OpenIPSL_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_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:484:19: note: 'clockIndex' declared here int i;const int clockIndex = 1; ^ OpenIPSL_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_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:484:19: note: 'clockIndex' declared here int i;const int clockIndex = 1; ^ OpenIPSL_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_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:484:19: note: 'clockIndex' declared here int i;const int clockIndex = 1; ^ OpenIPSL_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_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.c:484:19: note: 'clockIndex' declared here int i;const int clockIndex = 1; ^ OpenIPSL_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_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_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.o] Error 1