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.001438/0.001438, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 222.9 MB / 239.2 MB, free: 4.59 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.00119/0.00119, allocations: 203.6 kB / 289.5 MB, free: 2.312 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4813/0.4813, allocations: 78.52 MB / 418.2 MB, free: 3.176 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001617, allocations: 67.89 kB / 497.4 MB, free: 6.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1506, allocations: 68.2 MB / 0.5524 GB, free: 2.172 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous): time 0.2687/0.4193, allocations: 6.752 MB / 0.559 GB, free: 35.89 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004633/0.4239, allocations: 2.007 MB / 0.5609 GB, free: 35.34 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001183/0.4252, allocations: 13.97 kB / 0.5609 GB, free: 35.34 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009/0.4261, allocations: 242.3 kB / 0.5612 GB, free: 35.33 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002016/0.4282, allocations: 0.8047 MB / 0.562 GB, free: 35.18 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.00137/0.4296, allocations: 0.6569 MB / 0.5626 GB, free: 35.09 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001664/0.4312, allocations: 1.599 MB / 0.5642 GB, free: 34.87 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005074/0.4318, allocations: 336.6 kB / 0.5645 GB, free: 34.82 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008845/0.4327, allocations: 0.6701 MB / 0.5651 GB, free: 34.64 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008286/0.4335, allocations: 0.8342 MB / 0.5659 GB, free: 34.43 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002277/0.4337, allocations: 123.3 kB / 0.5661 GB, free: 34.43 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005225/0.4343, allocations: 260.3 kB / 0.5663 GB, free: 34.42 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002711/0.4345, allocations: 340.8 kB / 0.5666 GB, free: 34.33 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005301/0.4351, allocations: 0.6849 MB / 0.5673 GB, free: 34.08 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001385/0.4365, allocations: 1.667 MB / 0.5689 GB, free: 33.69 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.4365, allocations: 3.281 kB / 0.5689 GB, free: 33.69 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4365, allocations: 0 / 0.5689 GB, free: 33.69 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.784e-05/0.4365, allocations: 1.625 kB / 0.5689 GB, free: 33.69 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.008568/0.4451, allocations: 2.71 MB / 0.5716 GB, free: 32.7 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.4452, allocations: 8.344 kB / 0.5716 GB, free: 32.7 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004976/0.4501, allocations: 0.7799 MB / 0.5724 GB, free: 32.61 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001439/0.4516, allocations: 0.904 MB / 0.5732 GB, free: 32.19 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002557/0.4519, allocations: 261.3 kB / 0.5735 GB, free: 32 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/0.452, allocations: 92.27 kB / 0.5736 GB, free: 31.99 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002516/0.4546, allocations: 1.402 MB / 0.5749 GB, free: 31.84 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/0.4546, allocations: 3.281 kB / 0.5749 GB, free: 31.84 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.757e-05/0.4547, allocations: 29.94 kB / 0.575 GB, free: 31.84 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.657e-05/0.4547, allocations: 19.66 kB / 0.575 GB, free: 31.84 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001894/0.4566, allocations: 1.002 MB / 0.576 GB, free: 31.83 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.005401/0.462, allocations: 3.692 MB / 0.5796 GB, free: 29.96 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007439/0.4695, allocations: 2.578 MB / 0.5821 GB, free: 28.95 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001649/0.4712, allocations: 0.7659 MB / 0.5828 GB, free: 28.64 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001046/0.4713, allocations: 21.06 kB / 0.5829 GB, free: 28.64 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001519/0.4728, allocations: 0.7492 MB / 0.5836 GB, free: 28.34 MB / 430.1 MB Notification: Performance of pre-optimization done (n=115): time 4.048e-06/0.4728, allocations: 3.938 kB / 0.5836 GB, free: 28.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=115): time 0.03084/0.5037, allocations: 7.167 MB / 0.5906 GB, free: 26.88 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001322/0.5038, allocations: 195.8 kB / 0.5908 GB, free: 26.68 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002193/0.506, allocations: 1.088 MB / 0.5918 GB, free: 26.23 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002566/0.5063, allocations: 55.11 kB / 0.5919 GB, free: 26.18 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003577/0.5067, allocations: 478.9 kB / 0.5924 GB, free: 25.8 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004044/0.5071, allocations: 335.5 kB / 0.5927 GB, free: 25.55 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006082/0.5077, allocations: 307.8 kB / 0.593 GB, free: 25.41 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.206e-05/0.5078, allocations: 302.8 kB / 0.5933 GB, free: 25.11 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001621/0.5094, allocations: 0.7603 MB / 0.594 GB, free: 24.83 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001718/0.5111, allocations: 1.093 MB / 0.5951 GB, free: 24.16 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.02427/0.5354, allocations: 5.976 MB / 0.6009 GB, free: 21.9 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.56e-05/0.5355, allocations: 3.5 kB / 0.6009 GB, free: 21.9 MB / 430.1 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.01554/0.551, allocations: 4.532 MB / 0.6053 GB, free: 20.65 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.005e-05/0.5511, allocations: 61.75 kB / 0.6054 GB, free: 20.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.6e-05/0.5512, allocations: 9.75 kB / 0.6054 GB, free: 20.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006512/0.5577, allocations: 1.639 MB / 0.607 GB, free: 20.08 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001451/0.5592, allocations: 300.5 kB / 0.6073 GB, free: 20.01 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02208/0.5813, allocations: 10.48 MB / 0.6175 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002376/0.5837, allocations: 208.3 kB / 0.6177 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003768/0.5841, allocations: 67.97 kB / 0.6178 GB, free: 11.23 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.001156/0.5853, allocations: 371.2 kB / 0.6181 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00208/0.5874, allocations: 0.6687 MB / 0.6188 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01307/0.6005, allocations: 4.154 MB / 0.6229 GB, free: 5.996 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.72e-05/0.6005, allocations: 14.02 kB / 0.6229 GB, free: 5.984 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.103e-05/0.6006, allocations: 8 kB / 0.6229 GB, free: 5.977 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.032e-05/0.6006, allocations: 7.969 kB / 0.6229 GB, free: 5.969 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.01511/0.6157, allocations: 5.689 MB / 0.6284 GB, free: 176 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-05/0.6158, allocations: 0 / 0.6284 GB, free: 176 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006055/0.6164, allocations: 103.9 kB / 0.6285 GB, free: 72 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006257/0.6227, allocations: 1.732 MB / 0.6302 GB, free: 14.33 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001753/0.6229, allocations: 29.77 kB / 0.6303 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02473/0.6476, allocations: 12.19 MB / 0.6422 GB, free: 1.695 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.75e-06/0.6477, allocations: 3.938 kB / 0.6422 GB, free: 1.691 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01686/0.6646, allocations: 5.124 MB / 0.6472 GB, free: 12.52 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006515/0.6653, allocations: 231.2 kB / 0.6474 GB, free: 12.27 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004146/0.6657, allocations: 24 kB / 0.6474 GB, free: 12.25 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001488/0.6672, allocations: 115.8 kB / 0.6475 GB, free: 12.14 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006167/0.6678, allocations: 182.6 kB / 0.6477 GB, free: 11.96 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001157/0.6679, allocations: 28 kB / 0.6477 GB, free: 11.93 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001326/0.6693, allocations: 0.7355 MB / 0.6484 GB, free: 11.19 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6693, allocations: 0 / 0.6484 GB, free: 11.19 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002098/0.6714, allocations: 499.5 kB / 0.6489 GB, free: 10.7 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.0003419/0.6718, allocations: 147.1 kB / 0.6491 GB, free: 10.55 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007328/0.6791, allocations: 2.8 MB / 0.6518 GB, free: 7.695 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.6791, allocations: 0 / 0.6518 GB, free: 7.695 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004111/0.6832, allocations: 1.387 MB / 0.6531 GB, free: 6.285 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00216/0.6854, allocations: 0.5968 MB / 0.6537 GB, free: 5.668 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004935/0.6904, allocations: 2.394 MB / 0.6561 GB, free: 3.273 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007835/0.6912, allocations: 1.16 MB / 0.6572 GB, free: 2.082 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004721/0.6917, allocations: 120.6 kB / 0.6573 GB, free: 1.965 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002762/0.6919, allocations: 79.42 kB / 0.6574 GB, free: 1.887 MB / 462.1 MB Notification: Performance of SimCode: time 7.81e-07/0.692, allocations: 4 kB / 0.6574 GB, free: 1.883 MB / 462.1 MB Notification: Performance of Templates: time 0.04081/0.7328, allocations: 24.4 MB / 0.6812 GB, free: 9.691 MB / 494.1 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.makefile make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/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 -DOM_HAVE_PTHREADS -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 -DOM_HAVE_PTHREADS -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 -DOM_HAVE_PTHREADS -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 -DOM_HAVE_PTHREADS -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:591: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:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:591: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:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:591: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:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:591: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:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:595: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:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:595: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:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:595: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:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:595: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:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:597: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:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:597: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:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:597: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:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:597: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:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ 12 errors generated. make: *** [: OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.o] Error 1