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.0013/0.0013, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.342/1.342, allocations: 222.9 MB / 238.8 MB, free: 4.766 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.001462/0.001462, allocations: 192.4 kB / 289.1 MB, free: 2.516 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4781/0.4781, allocations: 78.52 MB / 417.8 MB, free: 3.309 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 79.86 kB / 496.9 MB, free: 6.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.143, allocations: 68.17 MB / 0.5518 GB, free: 2.516 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous): time 0.278/0.421, allocations: 7.061 MB / 0.5587 GB, free: 35.96 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00468/0.4258, allocations: 2.058 MB / 0.5607 GB, free: 35.4 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001598/0.4274, allocations: 12.88 kB / 0.5607 GB, free: 35.4 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00103/0.4284, allocations: 187.6 kB / 0.5609 GB, free: 35.39 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002376/0.4309, allocations: 0.7141 MB / 0.5616 GB, free: 35.24 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.00135/0.4322, allocations: 0.6145 MB / 0.5622 GB, free: 35.16 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001748/0.434, allocations: 1.524 MB / 0.5637 GB, free: 35.07 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004332/0.4344, allocations: 302.6 kB / 0.564 GB, free: 35.03 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008183/0.4353, allocations: 0.6085 MB / 0.5646 GB, free: 34.88 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006918/0.436, allocations: 0.7895 MB / 0.5653 GB, free: 34.67 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001506/0.4361, allocations: 73.06 kB / 0.5654 GB, free: 34.67 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005066/0.4366, allocations: 203 kB / 0.5656 GB, free: 34.66 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002359/0.4369, allocations: 289 kB / 0.5659 GB, free: 34.57 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004921/0.4374, allocations: 0.6293 MB / 0.5665 GB, free: 34.32 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001224/0.4386, allocations: 1.616 MB / 0.5681 GB, free: 33.94 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.4386, allocations: 3.328 kB / 0.5681 GB, free: 33.94 MB / 430.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.4386, allocations: 0.5 kB / 0.5681 GB, free: 33.94 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.686e-05/0.4387, allocations: 0.6875 kB / 0.5681 GB, free: 33.94 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.00864/0.4473, allocations: 2.717 MB / 0.5707 GB, free: 32.95 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.4474, allocations: 8.312 kB / 0.5707 GB, free: 32.95 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001456/0.4475, allocations: 128.4 kB / 0.5708 GB, free: 32.91 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004882/0.4524, allocations: 0.7795 MB / 0.5716 GB, free: 32.82 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001629/0.4541, allocations: 0.9091 MB / 0.5725 GB, free: 32.39 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002376/0.4543, allocations: 261.4 kB / 0.5727 GB, free: 32.2 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001662/0.4545, allocations: 92.94 kB / 0.5728 GB, free: 32.2 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00252/0.457, allocations: 1.404 MB / 0.5742 GB, free: 32.04 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.4571, allocations: 0 / 0.5742 GB, free: 32.04 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.233e-05/0.4572, allocations: 34.81 kB / 0.5742 GB, free: 32.04 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.462e-05/0.4572, allocations: 18.38 kB / 0.5743 GB, free: 32.04 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001851/0.459, allocations: 1 MB / 0.5752 GB, free: 32.03 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.005595/0.4646, allocations: 3.692 MB / 0.5788 GB, free: 30.34 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006949/0.4716, allocations: 2.571 MB / 0.5813 GB, free: 29.34 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001679/0.4733, allocations: 0.7659 MB / 0.5821 GB, free: 29.03 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001244/0.4735, allocations: 21.56 kB / 0.5821 GB, free: 29.03 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001435/0.4749, allocations: 0.751 MB / 0.5828 GB, free: 28.72 MB / 430.1 MB Notification: Performance of pre-optimization done (n=115): time 4.047e-06/0.4749, allocations: 4 kB / 0.5829 GB, free: 28.72 MB / 430.1 MB Notification: Performance of matching and sorting (n=115): time 0.02875/0.5037, allocations: 7.172 MB / 0.5899 GB, free: 27.27 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001371/0.5039, allocations: 192.1 kB / 0.59 GB, free: 27.07 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00204/0.5059, allocations: 1.088 MB / 0.5911 GB, free: 26.62 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000273/0.5062, allocations: 51.2 kB / 0.5912 GB, free: 26.57 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003387/0.5065, allocations: 483.6 kB / 0.5916 GB, free: 26.19 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003808/0.5069, allocations: 334.8 kB / 0.5919 GB, free: 25.93 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000544/0.5075, allocations: 311.8 kB / 0.5922 GB, free: 25.79 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.316e-05/0.5075, allocations: 303 kB / 0.5925 GB, free: 25.49 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001614/0.5092, allocations: 0.7522 MB / 0.5933 GB, free: 25.22 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001784/0.511, allocations: 1.098 MB / 0.5943 GB, free: 24.54 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.02354/0.5345, allocations: 5.958 MB / 0.6001 GB, free: 22.3 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.452e-05/0.5346, allocations: 4.094 kB / 0.6001 GB, free: 22.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.01479/0.5494, allocations: 4.529 MB / 0.6046 GB, free: 21.05 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.187e-05/0.5495, allocations: 60.78 kB / 0.6046 GB, free: 20.99 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.15e-05/0.5495, allocations: 13.67 kB / 0.6046 GB, free: 20.99 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006407/0.5559, allocations: 1.634 MB / 0.6062 GB, free: 20.61 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001433/0.5574, allocations: 300.5 kB / 0.6065 GB, free: 20.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01936/0.5768, allocations: 9.641 MB / 0.6159 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002002/0.5788, allocations: 206.7 kB / 0.6161 GB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001328/0.579, allocations: 73.66 kB / 0.6162 GB, free: 12.68 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.000712/0.5797, allocations: 362.2 kB / 0.6166 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001759/0.5815, allocations: 0.6727 MB / 0.6172 GB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01191/0.5934, allocations: 4.142 MB / 0.6213 GB, free: 7.465 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.696e-05/0.5934, allocations: 15.94 kB / 0.6213 GB, free: 7.449 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.672e-05/0.5935, allocations: 8 kB / 0.6213 GB, free: 7.441 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.939e-05/0.5935, allocations: 11.91 kB / 0.6213 GB, free: 7.43 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.01356/0.6071, allocations: 5.682 MB / 0.6268 GB, free: 1.641 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.862e-05/0.6071, allocations: 7.922 kB / 0.6268 GB, free: 1.633 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006204/0.6078, allocations: 103.9 kB / 0.6269 GB, free: 1.531 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005362/0.6131, allocations: 1.734 MB / 0.6286 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002126/0.6134, allocations: 24.88 kB / 0.6287 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02158/0.635, allocations: 11.13 MB / 0.6395 GB, free: 4.215 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.635, allocations: 1.969 kB / 0.6395 GB, free: 4.215 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0153/0.6503, allocations: 5.126 MB / 0.6445 GB, free: 15.04 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005897/0.651, allocations: 231.3 kB / 0.6448 GB, free: 14.8 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002211/0.6512, allocations: 24 kB / 0.6448 GB, free: 14.77 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001175/0.6524, allocations: 112.8 kB / 0.6449 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006182/0.653, allocations: 176.6 kB / 0.6451 GB, free: 14.49 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.069e-05/0.6531, allocations: 31.98 kB / 0.6451 GB, free: 14.46 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001157/0.6543, allocations: 0.7356 MB / 0.6458 GB, free: 13.72 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.378e-06/0.6543, allocations: 0 / 0.6458 GB, free: 13.72 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001907/0.6562, allocations: 0.4917 MB / 0.6463 GB, free: 13.23 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.01588/0.6721, allocations: 5.718 MB / 0.6519 GB, free: 7.449 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006963/0.6791, allocations: 2.744 MB / 0.6546 GB, free: 4.656 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.383e-06/0.6791, allocations: 0 / 0.6546 GB, free: 4.656 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003948/0.6831, allocations: 1.388 MB / 0.6559 GB, free: 3.246 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002689/0.6858, allocations: 0.6143 MB / 0.6565 GB, free: 2.605 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02976/0.7156, allocations: 11.5 MB / 0.6677 GB, free: 6.672 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001025/0.7167, allocations: 1.156 MB / 0.6689 GB, free: 5.484 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006239/0.7173, allocations: 120.1 kB / 0.669 GB, free: 5.367 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008654/0.7182, allocations: 495.3 kB / 0.6695 GB, free: 4.883 MB / 478.1 MB Notification: Performance of SimCode: time 1.162e-06/0.7182, allocations: 0 / 0.6695 GB, free: 4.883 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06191/0.7801, allocations: 32.41 MB / 0.7011 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000247/0.7804, allocations: 278.6 kB / 0.7014 GB, free: 4.559 MB / 0.4981 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:161: ./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:161: ./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:161: ./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:482:21: note: 'clockIndex' declared here int i,j;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:482:21: note: 'clockIndex' declared here int i,j;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:482:21: note: 'clockIndex' declared here int i,j;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:482:21: note: 'clockIndex' declared here int i,j;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:482:21: note: 'clockIndex' declared here int i,j;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:482:21: note: 'clockIndex' declared here int i,j;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:482:21: note: 'clockIndex' declared here int i,j;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:482:21: note: 'clockIndex' declared here int i,j;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:482:21: note: 'clockIndex' declared here int i,j;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:482:21: note: 'clockIndex' declared here int i,j;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:482:21: note: 'clockIndex' declared here int i,j;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:482:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ 2 warnings and 12 errors generated. make: *** [: OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_02nls.o] Error 1