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.000947/0.000947, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.247/1.247, allocations: 222.9 MB / 238.9 MB, free: 4.742 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.00132/0.00132, allocations: 192.5 kB / 289.1 MB, free: 2.492 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4159/0.4159, allocations: 78.52 MB / 417.8 MB, free: 3.355 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 71.89 kB / 496.8 MB, free: 6.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1207, allocations: 68.18 MB / 0.5517 GB, free: 2.625 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous): time 0.2243/0.345, allocations: 7.062 MB / 0.5586 GB, free: 35.91 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00393/0.349, allocations: 2.06 MB / 0.5606 GB, free: 35.34 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007431/0.3498, allocations: 15.84 kB / 0.5606 GB, free: 35.34 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006396/0.3504, allocations: 183.6 kB / 0.5608 GB, free: 35.34 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001587/0.3521, allocations: 0.7178 MB / 0.5615 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.001163/0.3532, allocations: 0.6095 MB / 0.5621 GB, free: 35.1 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001112/0.3544, allocations: 1.52 MB / 0.5636 GB, free: 35.02 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003648/0.3548, allocations: 307.4 kB / 0.5639 GB, free: 34.97 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000564/0.3553, allocations: 0.5995 MB / 0.5645 GB, free: 34.82 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006425/0.356, allocations: 0.7925 MB / 0.5652 GB, free: 34.62 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001439/0.3561, allocations: 73.09 kB / 0.5653 GB, free: 34.62 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000399/0.3565, allocations: 207.6 kB / 0.5655 GB, free: 34.61 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002215/0.3568, allocations: 280.7 kB / 0.5658 GB, free: 34.53 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004168/0.3572, allocations: 0.6412 MB / 0.5664 GB, free: 34.28 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001046/0.3582, allocations: 1.624 MB / 0.568 GB, free: 33.88 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.3583, allocations: 0 / 0.568 GB, free: 33.88 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.3583, allocations: 0 / 0.568 GB, free: 33.88 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.691e-05/0.3583, allocations: 1.875 kB / 0.568 GB, free: 33.88 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.007936/0.3662, allocations: 2.71 MB / 0.5706 GB, free: 32.9 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.3663, allocations: 8.5 kB / 0.5706 GB, free: 32.9 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004613/0.3709, allocations: 0.7759 MB / 0.5714 GB, free: 32.81 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00154/0.3725, allocations: 0.9045 MB / 0.5723 GB, free: 32.39 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002699/0.3727, allocations: 259.9 kB / 0.5725 GB, free: 32.2 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001559/0.3729, allocations: 89.16 kB / 0.5726 GB, free: 32.2 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002586/0.3755, allocations: 1.411 MB / 0.574 GB, free: 32.04 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.3755, allocations: 2.469 kB / 0.574 GB, free: 32.04 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.893e-05/0.3756, allocations: 28.88 kB / 0.574 GB, free: 32.04 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.844e-05/0.3757, allocations: 18.62 kB / 0.574 GB, free: 32.04 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001802/0.3775, allocations: 1.011 MB / 0.575 GB, free: 32.02 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.005149/0.3826, allocations: 3.686 MB / 0.5786 GB, free: 30.43 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006757/0.3894, allocations: 2.561 MB / 0.5811 GB, free: 29.43 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001476/0.3909, allocations: 0.7707 MB / 0.5819 GB, free: 29.12 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001076/0.391, allocations: 27.31 kB / 0.5819 GB, free: 29.12 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001342/0.3924, allocations: 0.7508 MB / 0.5826 GB, free: 28.81 MB / 430.1 MB Notification: Performance of pre-optimization done (n=115): time 3.977e-06/0.3924, allocations: 0 / 0.5826 GB, free: 28.81 MB / 430.1 MB Notification: Performance of matching and sorting (n=115): time 0.02778/0.4202, allocations: 7.177 MB / 0.5896 GB, free: 27.35 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001649/0.4204, allocations: 195 kB / 0.5898 GB, free: 27.15 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002041/0.4224, allocations: 1.086 MB / 0.5909 GB, free: 26.7 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002618/0.4227, allocations: 51.23 kB / 0.5909 GB, free: 26.65 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003082/0.423, allocations: 482.7 kB / 0.5914 GB, free: 26.27 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000346/0.4234, allocations: 331.5 kB / 0.5917 GB, free: 26.02 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005149/0.4239, allocations: 312.6 kB / 0.592 GB, free: 25.88 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.494e-05/0.424, allocations: 302 kB / 0.5923 GB, free: 25.58 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001531/0.4255, allocations: 0.756 MB / 0.593 GB, free: 25.3 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001619/0.4271, allocations: 1.102 MB / 0.5941 GB, free: 24.62 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.02367/0.4508, allocations: 5.961 MB / 0.5999 GB, free: 22.38 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.899e-05/0.4509, allocations: 2.344 kB / 0.5999 GB, free: 22.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.01422/0.4651, allocations: 4.529 MB / 0.6044 GB, free: 21.13 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.778e-05/0.4652, allocations: 61.47 kB / 0.6044 GB, free: 21.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.583e-05/0.4653, allocations: 11.64 kB / 0.6044 GB, free: 21.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006127/0.4714, allocations: 1.633 MB / 0.606 GB, free: 20.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00142/0.4728, allocations: 303.6 kB / 0.6063 GB, free: 20.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01863/0.4915, allocations: 9.634 MB / 0.6157 GB, free: 13.19 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001883/0.4934, allocations: 202.8 kB / 0.6159 GB, free: 12.99 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001452/0.4936, allocations: 71.91 kB / 0.616 GB, free: 12.92 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.0006197/0.4942, allocations: 370.3 kB / 0.6163 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001646/0.4958, allocations: 0.6688 MB / 0.617 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01178/0.5076, allocations: 4.139 MB / 0.621 GB, free: 7.703 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-05/0.5077, allocations: 17.44 kB / 0.621 GB, free: 7.688 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.742e-05/0.5077, allocations: 11.98 kB / 0.6211 GB, free: 7.676 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.573e-05/0.5077, allocations: 7.984 kB / 0.6211 GB, free: 7.668 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.01367/0.5214, allocations: 5.689 MB / 0.6266 GB, free: 1.871 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-05/0.5215, allocations: 0 / 0.6266 GB, free: 1.871 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006135/0.5221, allocations: 115.8 kB / 0.6267 GB, free: 1.758 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005276/0.5274, allocations: 1.724 MB / 0.6284 GB, free: 28 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002016/0.5276, allocations: 24 kB / 0.6284 GB, free: 4 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0215/0.5491, allocations: 11.14 MB / 0.6393 GB, free: 4.445 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.5492, allocations: 0 / 0.6393 GB, free: 4.445 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01511/0.5643, allocations: 5.115 MB / 0.6443 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004662/0.5648, allocations: 240.1 kB / 0.6445 GB, free: 15.03 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003538/0.5652, allocations: 22.06 kB / 0.6446 GB, free: 15.01 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001322/0.5665, allocations: 115.9 kB / 0.6447 GB, free: 14.9 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000553/0.5671, allocations: 176.6 kB / 0.6448 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001154/0.5672, allocations: 32 kB / 0.6449 GB, free: 14.7 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001159/0.5684, allocations: 0.7334 MB / 0.6456 GB, free: 13.96 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5684, allocations: 0 / 0.6456 GB, free: 13.96 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001902/0.5703, allocations: 499.5 kB / 0.6461 GB, free: 13.47 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.0003423/0.5706, allocations: 145.8 kB / 0.6462 GB, free: 13.32 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006316/0.577, allocations: 2.756 MB / 0.6489 GB, free: 10.51 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.577, allocations: 0 / 0.6489 GB, free: 10.51 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00394/0.5809, allocations: 1.381 MB / 0.6502 GB, free: 9.105 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002373/0.5833, allocations: 0.5939 MB / 0.6508 GB, free: 8.48 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005074/0.5884, allocations: 2.828 MB / 0.6536 GB, free: 5.656 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008312/0.5893, allocations: 1.16 MB / 0.6547 GB, free: 4.469 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004828/0.5898, allocations: 121.2 kB / 0.6548 GB, free: 4.352 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002827/0.5901, allocations: 75.42 kB / 0.6549 GB, free: 4.277 MB / 462.1 MB Notification: Performance of SimCode: time 9.12e-07/0.5901, allocations: 0 / 0.6549 GB, free: 4.277 MB / 462.1 MB Notification: Performance of Templates: time 0.03451/0.6246, allocations: 22.4 MB / 0.6768 GB, free: 14.1 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 -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:482:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:551:72: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? res[0] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[16]/* der(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */) )) + (data->localData[0]->realVars[12]/* previous(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */) - (data->localData[0]->realVars[27]/* aVRTypeII.ExcitationSystem.x_scaled[1] CLOCKED_STATE */) ; ^~~~~~~~~~~~~ clockIndex OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:482:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:551:149: error: use of undeclared identifier 'baseClockIndex'; did you mean 'clockIndex'? res[0] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[16]/* der(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */) )) + (data->localData[0]->realVars[12]/* previous(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */) - (data->localData[0]->realVars[27]/* aVRTypeII.ExcitationSystem.x_scaled[1] CLOCKED_STATE */) ; ^~~~~~~~~~~~~~ clockIndex OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:482:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:551:175: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? res[0] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[16]/* der(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */) )) + (data->localData[0]->realVars[12]/* previous(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */) - (data->localData[0]->realVars[27]/* aVRTypeII.ExcitationSystem.x_scaled[1] CLOCKED_STATE */) ; ^~~~~~~~~~~~~ clockIndex OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:482:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:555:46: error: use of undeclared identifier 'baseClockIndex'; did you mean 'clockIndex'? res[2] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[17]/* der(aVRTypeII.derivativeBlock.x) variable */) )) + (data->localData[0]->realVars[13]/* previous(aVRTypeII.derivativeBlock.x) variable */) - (data->localData[0]->realVars[35]/* aVRTypeII.derivativeBlock.x CLOCKED_STATE */) ; ^~~~~~~~~~~~~~ clockIndex OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:482:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:555:72: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? res[2] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[17]/* der(aVRTypeII.derivativeBlock.x) variable */) )) + (data->localData[0]->realVars[13]/* previous(aVRTypeII.derivativeBlock.x) variable */) - (data->localData[0]->realVars[35]/* aVRTypeII.derivativeBlock.x CLOCKED_STATE */) ; ^~~~~~~~~~~~~ clockIndex OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:482:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:555:149: error: use of undeclared identifier 'baseClockIndex'; did you mean 'clockIndex'? res[2] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[17]/* der(aVRTypeII.derivativeBlock.x) variable */) )) + (data->localData[0]->realVars[13]/* previous(aVRTypeII.derivativeBlock.x) variable */) - (data->localData[0]->realVars[35]/* aVRTypeII.derivativeBlock.x CLOCKED_STATE */) ; ^~~~~~~~~~~~~~ clockIndex OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:482:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:555:175: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? res[2] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[17]/* der(aVRTypeII.derivativeBlock.x) variable */) )) + (data->localData[0]->realVars[13]/* previous(aVRTypeII.derivativeBlock.x) variable */) - (data->localData[0]->realVars[35]/* aVRTypeII.derivativeBlock.x CLOCKED_STATE */) ; ^~~~~~~~~~~~~ clockIndex OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:482:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:557:46: error: use of undeclared identifier 'baseClockIndex'; did you mean 'clockIndex'? res[3] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[19]/* der(aVRTypeII.simpleLagLim.state) variable */) )) + (data->localData[0]->realVars[15]/* previous(aVRTypeII.simpleLagLim.state) variable */) - (data->localData[0]->realVars[46]/* aVRTypeII.simpleLagLim.state CLOCKED_STATE */) ; ^~~~~~~~~~~~~~ clockIndex OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:482:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:557:72: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? res[3] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[19]/* der(aVRTypeII.simpleLagLim.state) variable */) )) + (data->localData[0]->realVars[15]/* previous(aVRTypeII.simpleLagLim.state) variable */) - (data->localData[0]->realVars[46]/* aVRTypeII.simpleLagLim.state CLOCKED_STATE */) ; ^~~~~~~~~~~~~ clockIndex OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:482:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:557:149: error: use of undeclared identifier 'baseClockIndex'; did you mean 'clockIndex'? res[3] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[19]/* der(aVRTypeII.simpleLagLim.state) variable */) )) + (data->localData[0]->realVars[15]/* previous(aVRTypeII.simpleLagLim.state) variable */) - (data->localData[0]->realVars[46]/* aVRTypeII.simpleLagLim.state CLOCKED_STATE */) ; ^~~~~~~~~~~~~~ clockIndex OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:482:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:557:175: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? res[3] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[19]/* der(aVRTypeII.simpleLagLim.state) variable */) )) + (data->localData[0]->realVars[15]/* previous(aVRTypeII.simpleLagLim.state) variable */) - (data->localData[0]->realVars[46]/* aVRTypeII.simpleLagLim.state CLOCKED_STATE */) ; ^~~~~~~~~~~~~ clockIndex OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:482:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ 12 errors generated. make: *** [: OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.o] Error 1