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.005576/0.005576, allocations: 106.2 kB / 15.74 MB, free: 6 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.417/1.417, allocations: 222.9 MB / 239.4 MB, free: 4.504 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.001473/0.001473, allocations: 200.3 kB / 289.7 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5113/0.5113, allocations: 78.52 MB / 418.4 MB, free: 3.203 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001718/0.001718, allocations: 75.81 kB / 0.5536 GB, free: 0.918 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.43/0.4317, allocations: 68.17 MB / 0.6202 GB, free: 9.707 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous): time 0.009458/0.4412, allocations: 6.776 MB / 0.6268 GB, free: 3.41 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005667/0.4469, allocations: 2.021 MB / 0.6288 GB, free: 1.383 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00166/0.4487, allocations: 8 kB / 0.6288 GB, free: 1.375 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001285/0.45, allocations: 249.8 kB / 0.629 GB, free: 1.129 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00376/0.4538, allocations: 0.8412 MB / 0.6299 GB, free: 296 kB / 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.002352/0.4562, allocations: 0.6592 MB / 0.6305 GB, free: 15.64 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003529/0.4597, allocations: 1.62 MB / 0.6321 GB, free: 14.01 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001074/0.4608, allocations: 342.5 kB / 0.6324 GB, free: 13.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001728/0.4626, allocations: 0.6652 MB / 0.6331 GB, free: 13 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002045/0.4646, allocations: 0.8322 MB / 0.6339 GB, free: 12.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006134/0.4653, allocations: 124 kB / 0.634 GB, free: 12.04 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001169/0.4665, allocations: 255.9 kB / 0.6342 GB, free: 11.79 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006732/0.4672, allocations: 338.6 kB / 0.6346 GB, free: 11.46 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001483/0.4687, allocations: 0.6797 MB / 0.6352 GB, free: 10.77 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0035/0.4722, allocations: 1.691 MB / 0.6369 GB, free: 9.082 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.4722, allocations: 0 / 0.6369 GB, free: 9.082 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.4722, allocations: 0 / 0.6369 GB, free: 9.082 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.07e-05/0.4723, allocations: 4 kB / 0.6369 GB, free: 9.078 MB / 446.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.01458/0.4869, allocations: 2.709 MB / 0.6395 GB, free: 6.301 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.716e-05/0.487, allocations: 8.031 kB / 0.6395 GB, free: 6.293 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008713/0.4957, allocations: 0.7865 MB / 0.6403 GB, free: 5.504 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003192/0.499, allocations: 0.904 MB / 0.6412 GB, free: 4.543 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005133/0.4995, allocations: 260.2 kB / 0.6414 GB, free: 4.254 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005175/0.5001, allocations: 99.84 kB / 0.6415 GB, free: 4.156 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005284/0.5054, allocations: 1.392 MB / 0.6429 GB, free: 2.734 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.927e-05/0.5054, allocations: 3.938 kB / 0.6429 GB, free: 2.73 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002386/0.5057, allocations: 39.97 kB / 0.6429 GB, free: 2.691 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.631e-05/0.5057, allocations: 16 kB / 0.643 GB, free: 2.676 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003721/0.5095, allocations: 0.9968 MB / 0.6439 GB, free: 1.676 MB / 446.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.01175/0.5213, allocations: 3.673 MB / 0.6475 GB, free: 13.82 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01293/0.5342, allocations: 2.575 MB / 0.65 GB, free: 11.11 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0031/0.5374, allocations: 0.7666 MB / 0.6508 GB, free: 10.34 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002127/0.5376, allocations: 24.72 kB / 0.6508 GB, free: 10.31 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002815/0.5405, allocations: 0.7469 MB / 0.6515 GB, free: 9.543 MB / 462.1 MB Notification: Performance of pre-optimization done (n=115): time 1.009e-05/0.5405, allocations: 0 / 0.6515 GB, free: 9.543 MB / 462.1 MB Notification: Performance of matching and sorting (n=115): time 0.04693/0.5875, allocations: 7.173 MB / 0.6585 GB, free: 2.309 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002717/0.5878, allocations: 202.8 kB / 0.6587 GB, free: 2.07 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003185/0.591, allocations: 1.087 MB / 0.6598 GB, free: 0.9688 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004334/0.5915, allocations: 45.7 kB / 0.6598 GB, free: 0.918 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006696/0.5922, allocations: 485.2 kB / 0.6603 GB, free: 448 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008571/0.593, allocations: 335.5 kB / 0.6606 GB, free: 108 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001514/0.5946, allocations: 307.4 kB / 0.6609 GB, free: 15.8 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.5948, allocations: 305.1 kB / 0.6612 GB, free: 15.5 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002835/0.5976, allocations: 0.7535 MB / 0.6619 GB, free: 14.75 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00314/0.6008, allocations: 1.096 MB / 0.663 GB, free: 13.52 MB / 478.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.03526/0.6361, allocations: 5.961 MB / 0.6688 GB, free: 7.34 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.658e-05/0.6361, allocations: 4 kB / 0.6688 GB, free: 7.336 MB / 478.1 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.01784/0.654, allocations: 4.532 MB / 0.6733 GB, free: 2.773 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.335e-05/0.6541, allocations: 63.41 kB / 0.6733 GB, free: 2.699 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.539e-05/0.6542, allocations: 12 kB / 0.6733 GB, free: 2.688 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007/0.6612, allocations: 1.63 MB / 0.6749 GB, free: 1.051 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001614/0.6629, allocations: 295.5 kB / 0.6752 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0255/0.6884, allocations: 10.48 MB / 0.6854 GB, free: 5.984 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00237/0.6908, allocations: 202.7 kB / 0.6856 GB, free: 5.785 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003719/0.6912, allocations: 75.97 kB / 0.6857 GB, free: 5.711 MB / 494.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.001099/0.6923, allocations: 361 kB / 0.686 GB, free: 5.34 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002336/0.6947, allocations: 0.6687 MB / 0.6867 GB, free: 4.656 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01478/0.7095, allocations: 4.144 MB / 0.6907 GB, free: 492 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.43e-05/0.7095, allocations: 16 kB / 0.6908 GB, free: 476 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.859e-05/0.7096, allocations: 11.94 kB / 0.6908 GB, free: 464 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.604e-05/0.7096, allocations: 11.91 kB / 0.6908 GB, free: 452 kB / 494.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.0181/0.7277, allocations: 5.687 MB / 0.6963 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.279e-05/0.7278, allocations: 4 kB / 0.6963 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007391/0.7286, allocations: 107.8 kB / 0.6964 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00659/0.7352, allocations: 1.72 MB / 0.6981 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002674/0.7355, allocations: 31.92 kB / 0.6982 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02649/0.762, allocations: 12.18 MB / 0.7101 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.762, allocations: 0 / 0.7101 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01767/0.7797, allocations: 5.116 MB / 0.715 GB, free: 7.008 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007218/0.7805, allocations: 231.2 kB / 0.7153 GB, free: 6.762 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000602/0.7811, allocations: 28 kB / 0.7153 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001601/0.7828, allocations: 115.8 kB / 0.7154 GB, free: 6.621 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006729/0.7835, allocations: 180.7 kB / 0.7156 GB, free: 6.445 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001765/0.7836, allocations: 39.98 kB / 0.7156 GB, free: 6.406 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001606/0.7853, allocations: 0.7278 MB / 0.7163 GB, free: 5.672 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7853, allocations: 3.938 kB / 0.7163 GB, free: 5.668 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00271/0.788, allocations: 0.4956 MB / 0.7168 GB, free: 5.172 MB / 0.5137 GB 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.0005322/0.7885, allocations: 139.1 kB / 0.7169 GB, free: 5.023 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007744/0.7963, allocations: 2.758 MB / 0.7196 GB, free: 2.207 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.7963, allocations: 0.75 kB / 0.7196 GB, free: 2.207 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004502/0.8009, allocations: 1.379 MB / 0.721 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002484/0.8034, allocations: 0.6 MB / 0.7216 GB, free: 184 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005228/0.8086, allocations: 2.373 MB / 0.7239 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009325/0.8096, allocations: 1.16 MB / 0.725 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005117/0.8101, allocations: 124.9 kB / 0.7251 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003248/0.8105, allocations: 79.42 kB / 0.7252 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of SimCode: time 9.11e-07/0.8105, allocations: 0 / 0.7252 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of Templates: time 0.04529/0.8558, allocations: 24.7 MB / 0.7493 GB, free: 3.688 MB / 0.545 GB 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:621: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:551:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:621: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:551:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:621: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:551:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:621: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:551:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:625: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:551:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:625: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:551:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:625: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:551:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:625: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:551:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:627: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:551:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:627: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:551:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:627: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:551:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:627: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:551: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