Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous") translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008719/0.0008719, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.486/1.486, allocations: 223.3 MB / 239.4 MB, free: 5.496 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.001063/0.001063, allocations: 184.4 kB / 290.6 MB, free: 2.164 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.528/0.528, allocations: 78.54 MB / 420.3 MB, free: 4.316 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003945/0.0003945, allocations: 16 kB / 0.4887 GB, free: 6.039 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.1678, allocations: 69.35 MB / 0.5564 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous): time 0.3258/0.4936, allocations: 6.585 MB / 0.5628 GB, free: 35.95 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005273/0.499, allocations: 2.047 MB / 0.5648 GB, free: 35.13 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001035/0.5, allocations: 14.09 kB / 0.5648 GB, free: 35.13 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007147/0.5008, allocations: 186.9 kB / 0.565 GB, free: 35.07 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002037/0.5028, allocations: 0.7133 MB / 0.5657 GB, free: 34.75 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.001413/0.5042, allocations: 0.6033 MB / 0.5663 GB, free: 34.66 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001445/0.5057, allocations: 1.521 MB / 0.5678 GB, free: 34.32 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004715/0.5062, allocations: 297 kB / 0.5681 GB, free: 34.27 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008223/0.507, allocations: 0.5755 MB / 0.5686 GB, free: 34.09 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007715/0.5078, allocations: 0.7533 MB / 0.5694 GB, free: 33.87 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001468/0.5079, allocations: 59.41 kB / 0.5694 GB, free: 33.87 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000513/0.5085, allocations: 191 kB / 0.5696 GB, free: 33.86 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002469/0.5087, allocations: 265.2 kB / 0.5699 GB, free: 33.78 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005111/0.5092, allocations: 0.6371 MB / 0.5705 GB, free: 33.5 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001282/0.5105, allocations: 1.578 MB / 0.572 GB, free: 33.11 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.5105, allocations: 0.7188 kB / 0.572 GB, free: 33.11 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.5105, allocations: 0 / 0.572 GB, free: 33.11 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.338e-05/0.5106, allocations: 2.375 kB / 0.572 GB, free: 33.11 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.008207/0.5188, allocations: 2.517 MB / 0.5745 GB, free: 32.16 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.5188, allocations: 11.66 kB / 0.5745 GB, free: 32.16 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005012/0.5239, allocations: 0.7862 MB / 0.5753 GB, free: 32.06 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001723/0.5256, allocations: 0.9051 MB / 0.5761 GB, free: 31.64 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002652/0.5259, allocations: 270.7 kB / 0.5764 GB, free: 31.45 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001675/0.5261, allocations: 88.42 kB / 0.5765 GB, free: 31.45 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002639/0.5287, allocations: 1.475 MB / 0.5779 GB, free: 31.27 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/0.5288, allocations: 3.094 kB / 0.5779 GB, free: 31.27 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.557e-05/0.5289, allocations: 28.81 kB / 0.578 GB, free: 31.27 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.828e-05/0.5289, allocations: 19.31 kB / 0.578 GB, free: 31.27 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002104/0.531, allocations: 1.064 MB / 0.579 GB, free: 31.25 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.005936/0.5369, allocations: 3.753 MB / 0.5827 GB, free: 29.74 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007909/0.5449, allocations: 3.119 MB / 0.5857 GB, free: 28.67 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001705/0.5466, allocations: 0.8335 MB / 0.5865 GB, free: 28.35 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.653e-05/0.5467, allocations: 17.59 kB / 0.5866 GB, free: 28.35 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00153/0.5482, allocations: 0.8136 MB / 0.5874 GB, free: 28.04 MB / 430.1 MB Notification: Performance of pre-optimization done (n=115): time 4.278e-06/0.5483, allocations: 4 kB / 0.5874 GB, free: 28.04 MB / 430.1 MB Notification: Performance of matching and sorting (n=115): time 0.03205/0.5803, allocations: 8.69 MB / 0.5958 GB, free: 26.41 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001464/0.5805, allocations: 198.3 kB / 0.596 GB, free: 26.2 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002048/0.5826, allocations: 1.093 MB / 0.5971 GB, free: 25.75 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002894/0.5829, allocations: 51.98 kB / 0.5972 GB, free: 25.7 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003648/0.5833, allocations: 478.3 kB / 0.5976 GB, free: 25.32 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003997/0.5837, allocations: 331.4 kB / 0.5979 GB, free: 25.07 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002425/0.5839, allocations: 157.7 kB / 0.5981 GB, free: 25 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.846e-05/0.584, allocations: 307 kB / 0.5984 GB, free: 24.7 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001756/0.5857, allocations: 0.8141 MB / 0.5992 GB, free: 24.41 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001954/0.5877, allocations: 1.157 MB / 0.6003 GB, free: 23.74 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.0256/0.6133, allocations: 6.397 MB / 0.6065 GB, free: 21.44 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.697e-05/0.6134, allocations: 2.406 kB / 0.6065 GB, free: 21.44 MB / 430.1 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.01797/0.6313, allocations: 5.364 MB / 0.6118 GB, free: 20.1 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.699e-05/0.6315, allocations: 62.59 kB / 0.6118 GB, free: 20.04 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.316e-05/0.6316, allocations: 11.44 kB / 0.6118 GB, free: 20.04 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006986/0.6385, allocations: 1.917 MB / 0.6137 GB, free: 18.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001464/0.64, allocations: 299.5 kB / 0.614 GB, free: 18.24 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02095/0.661, allocations: 10.63 MB / 0.6244 GB, free: 7.332 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002179/0.6632, allocations: 243.9 kB / 0.6246 GB, free: 7.094 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002965/0.6636, allocations: 67.92 kB / 0.6247 GB, free: 7.027 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.0009809/0.6646, allocations: 367.8 kB / 0.625 GB, free: 6.66 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002076/0.6666, allocations: 0.6961 MB / 0.6257 GB, free: 5.949 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01403/0.6807, allocations: 5.002 MB / 0.6306 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.632e-05/0.6808, allocations: 19.94 kB / 0.6306 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.398e-05/0.6808, allocations: 4 kB / 0.6306 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.761e-05/0.6808, allocations: 7.984 kB / 0.6306 GB, free: 0.8906 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.01765/0.6985, allocations: 6.548 MB / 0.637 GB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-05/0.6985, allocations: 0 / 0.637 GB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006779/0.6992, allocations: 111.8 kB / 0.6371 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006583/0.7058, allocations: 2.009 MB / 0.6391 GB, free: 8.109 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002452/0.7061, allocations: 23.98 kB / 0.6391 GB, free: 8.086 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02413/0.7303, allocations: 12.06 MB / 0.6509 GB, free: 11.62 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.7303, allocations: 4 kB / 0.6509 GB, free: 11.62 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01773/0.7481, allocations: 6.033 MB / 0.6568 GB, free: 5.539 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007681/0.7489, allocations: 239.2 kB / 0.657 GB, free: 5.285 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005269/0.7494, allocations: 28 kB / 0.657 GB, free: 5.258 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001592/0.751, allocations: 143.9 kB / 0.6572 GB, free: 5.117 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006425/0.7517, allocations: 176.6 kB / 0.6574 GB, free: 4.945 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001682/0.7519, allocations: 36.8 kB / 0.6574 GB, free: 4.91 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001303/0.7532, allocations: 0.7317 MB / 0.6581 GB, free: 4.172 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7532, allocations: 0 / 0.6581 GB, free: 4.172 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00222/0.7554, allocations: 0.4918 MB / 0.6586 GB, free: 3.68 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.0003774/0.7558, allocations: 134.9 kB / 0.6587 GB, free: 3.539 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007362/0.7632, allocations: 3.04 MB / 0.6617 GB, free: 448 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.7632, allocations: 1.875 kB / 0.6617 GB, free: 448 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004439/0.7677, allocations: 1.591 MB / 0.6632 GB, free: 14.82 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002174/0.7699, allocations: 0.5987 MB / 0.6638 GB, free: 14.2 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004292/0.7742, allocations: 2.914 MB / 0.6667 GB, free: 11.3 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006584/0.7749, allocations: 1.156 MB / 0.6678 GB, free: 10.11 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000414/0.7753, allocations: 119.8 kB / 0.6679 GB, free: 9.992 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002343/0.7755, allocations: 75.42 kB / 0.668 GB, free: 9.918 MB / 478.1 MB Notification: Performance of SimCode: time 1.142e-06/0.7756, allocations: 0 / 0.668 GB, free: 9.918 MB / 478.1 MB Notification: Performance of Templates: time 0.03542/0.811, allocations: 21.93 MB / 0.6894 GB, free: 4.195 MB / 494.1 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.makefile Environment - environmentSimulation: make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.o OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_functions.o OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_functions.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_records.o OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_records.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_01exo.o OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_01exo.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.o OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c: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; ^ 12 errors generated. make: *** [: OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.o] Error 1