Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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_release_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_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009235/0.0009236, allocations: 177 kB / 15.42 MB, free: 5.785 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.203/1.203, allocations: 222.9 MB / 239 MB, free: 1.777 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007791/0.0007791, allocations: 92.14 kB / 289.8 MB, free: 14.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4199/0.4199, allocations: 78.43 MB / 418.9 MB, free: 44.23 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004372/0.0004373, allocations: 8.281 kB / 498.4 MB, free: 3.852 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.296, allocations: 68.75 MB / 0.5539 GB, free: 39.84 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous): time 0.005945/0.302, allocations: 7.065 MB / 0.5608 GB, free: 37.04 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003141/0.3051, allocations: 2.062 MB / 0.5628 GB, free: 36.22 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004135/0.3056, allocations: 12.47 kB / 0.5628 GB, free: 36.22 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000549/0.3061, allocations: 186.4 kB / 0.563 GB, free: 36.15 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001464/0.3076, allocations: 0.7201 MB / 0.5637 GB, free: 35.83 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.001186/0.3088, allocations: 0.6137 MB / 0.5643 GB, free: 35.71 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001407/0.3102, allocations: 1.516 MB / 0.5658 GB, free: 35.38 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003956/0.3106, allocations: 306.2 kB / 0.5661 GB, free: 35.27 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005881/0.3112, allocations: 0.577 MB / 0.5666 GB, free: 35.01 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006299/0.3118, allocations: 0.7546 MB / 0.5674 GB, free: 34.68 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000139/0.312, allocations: 59.41 kB / 0.5674 GB, free: 34.68 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003918/0.3124, allocations: 191 kB / 0.5676 GB, free: 34.63 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000184/0.3126, allocations: 263.2 kB / 0.5678 GB, free: 34.48 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003531/0.3129, allocations: 0.6057 MB / 0.5684 GB, free: 34.09 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009898/0.3139, allocations: 1.579 MB / 0.57 GB, free: 33.51 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.314, allocations: 4 kB / 0.57 GB, free: 33.5 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.314, allocations: 0 / 0.57 GB, free: 33.5 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.22e-05/0.314, allocations: 0 / 0.57 GB, free: 33.5 MB / 426.7 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.006666/0.3207, allocations: 2.458 MB / 0.5724 GB, free: 32.36 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.3207, allocations: 8.594 kB / 0.5724 GB, free: 32.36 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004566/0.3253, allocations: 0.7718 MB / 0.5732 GB, free: 32.21 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/0.3264, allocations: 0.9022 MB / 0.574 GB, free: 31.61 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001938/0.3266, allocations: 262.5 kB / 0.5743 GB, free: 31.38 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001356/0.3268, allocations: 85.53 kB / 0.5744 GB, free: 31.36 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002026/0.3288, allocations: 1.404 MB / 0.5757 GB, free: 30.78 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.3288, allocations: 5.125 kB / 0.5757 GB, free: 30.78 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.822e-05/0.3289, allocations: 31.22 kB / 0.5758 GB, free: 30.75 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.62e-05/0.3289, allocations: 22.09 kB / 0.5758 GB, free: 30.75 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001634/0.3306, allocations: 1.001 MB / 0.5768 GB, free: 30.42 MB / 426.7 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.00455/0.3351, allocations: 3.683 MB / 0.5804 GB, free: 28.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006402/0.3415, allocations: 2.574 MB / 0.5829 GB, free: 27.2 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001142/0.3427, allocations: 0.7707 MB / 0.5836 GB, free: 26.89 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001191/0.3428, allocations: 16.38 kB / 0.5836 GB, free: 26.89 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001119/0.3439, allocations: 0.7527 MB / 0.5844 GB, free: 26.59 MB / 426.7 MB Notification: Performance of pre-optimization done (n=115): time 3.105e-06/0.344, allocations: 11.88 kB / 0.5844 GB, free: 26.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=115): time 0.02543/0.3694, allocations: 7.179 MB / 0.5914 GB, free: 25.11 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.3695, allocations: 189.6 kB / 0.5916 GB, free: 24.91 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001611/0.3712, allocations: 1.089 MB / 0.5926 GB, free: 24.46 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001493/0.3713, allocations: 52.36 kB / 0.5927 GB, free: 24.41 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002767/0.3716, allocations: 486.3 kB / 0.5932 GB, free: 24.03 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002677/0.3719, allocations: 328.3 kB / 0.5935 GB, free: 23.79 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000189/0.3721, allocations: 158.8 kB / 0.5936 GB, free: 23.71 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 3.677e-05/0.3721, allocations: 301.1 kB / 0.5939 GB, free: 23.41 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00147/0.3736, allocations: 0.7531 MB / 0.5946 GB, free: 23.14 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001587/0.3752, allocations: 1.097 MB / 0.5957 GB, free: 22.46 MB / 426.7 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.02128/0.3965, allocations: 5.963 MB / 0.6015 GB, free: 20.22 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.68e-05/0.3965, allocations: 3.531 kB / 0.6015 GB, free: 20.22 MB / 426.7 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.01277/0.4093, allocations: 4.535 MB / 0.606 GB, free: 18.32 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.97e-05/0.4094, allocations: 61.16 kB / 0.606 GB, free: 18.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.049e-05/0.4094, allocations: 9.438 kB / 0.606 GB, free: 18.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005284/0.4147, allocations: 1.63 MB / 0.6076 GB, free: 17.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/0.4158, allocations: 301 kB / 0.6079 GB, free: 17.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01696/0.4327, allocations: 9.637 MB / 0.6173 GB, free: 9.645 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001502/0.4342, allocations: 206.7 kB / 0.6175 GB, free: 9.441 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/0.4343, allocations: 75.91 kB / 0.6176 GB, free: 9.367 MB / 426.7 MB Warning: Assuming fixed start value for the following 3 variables: order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order4.delta:VARIABLE(flow=false start = order4.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization sytem: $DER.aVRTypeII.firstOrder2.y = 0.0 $DER.aVRTypeII.derivativeBlock.x = 0.0 aVRTypeII.simpleLagLim.state = aVRTypeII.simpleLagLim.y_start order4.delta0 = Modelica.Math.atan3(order4.Vt0.im + (order4.ra * order4.I0.im + order4.xq0 * order4.I0.re) * order4.Z_MBtoSB, order4.Vt0.re + (order4.ra * order4.I0.re - order4.xq0 * order4.I0.im) * order4.Z_MBtoSB, 0.0). Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 4 (aVRTypeII.firstOrder2.y,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.simpleLagLim.state,aVRTypeII.derivativeBlock.x) * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 175 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(18,13,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0005334/0.4349, allocations: 363.3 kB / 0.6179 GB, free: 9.004 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001525/0.4364, allocations: 0.6728 MB / 0.6186 GB, free: 8.316 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01125/0.4477, allocations: 4.142 MB / 0.6226 GB, free: 4.148 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.4477, allocations: 15.94 kB / 0.6227 GB, free: 4.133 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.4477, allocations: 8 kB / 0.6227 GB, free: 4.125 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/0.4477, allocations: 11.97 kB / 0.6227 GB, free: 4.113 MB / 426.7 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.01299/0.4607, allocations: 5.685 MB / 0.6282 GB, free: 14.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.615e-06/0.4608, allocations: 4 kB / 0.6282 GB, free: 14.31 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004833/0.4612, allocations: 107.8 kB / 0.6283 GB, free: 14.21 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005387/0.4666, allocations: 1.728 MB / 0.63 GB, free: 12.47 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.574e-05/0.4668, allocations: 28.86 kB / 0.6301 GB, free: 12.44 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02046/0.4872, allocations: 11.13 MB / 0.6409 GB, free: 0.9023 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.4873, allocations: 4 kB / 0.6409 GB, free: 0.8984 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01599/0.5033, allocations: 5.115 MB / 0.6459 GB, free: 11.74 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004677/0.5038, allocations: 231.2 kB / 0.6461 GB, free: 11.49 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001861/0.504, allocations: 27.98 kB / 0.6462 GB, free: 11.46 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001125/0.5051, allocations: 111.9 kB / 0.6463 GB, free: 11.36 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000508/0.5056, allocations: 184.7 kB / 0.6465 GB, free: 11.18 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-05/0.5057, allocations: 35.98 kB / 0.6465 GB, free: 11.14 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0009812/0.5067, allocations: 0.7317 MB / 0.6472 GB, free: 10.4 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5067, allocations: 0 / 0.6472 GB, free: 10.4 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001546/0.5083, allocations: 495.6 kB / 0.6477 GB, free: 9.918 MB / 458.7 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.0002552/0.5085, allocations: 139.1 kB / 0.6478 GB, free: 9.77 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006003/0.5145, allocations: 2.758 MB / 0.6505 GB, free: 6.953 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.5145, allocations: 9.812 kB / 0.6505 GB, free: 6.945 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003468/0.518, allocations: 1.371 MB / 0.6519 GB, free: 5.543 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001586/0.5196, allocations: 0.5994 MB / 0.6524 GB, free: 4.922 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003846/0.5235, allocations: 2.81 MB / 0.6552 GB, free: 2.086 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006281/0.5241, allocations: 1.168 MB / 0.6563 GB, free: 0.8867 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003739/0.5245, allocations: 116.9 kB / 0.6564 GB, free: 0.7695 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002202/0.5247, allocations: 83.34 kB / 0.6565 GB, free: 0.6875 MB / 458.7 MB Notification: Performance of SimCode: time 3.41e-07/0.5247, allocations: 0 / 0.6565 GB, free: 0.6875 MB / 458.7 MB Notification: Performance of Templates: time 0.03033/0.5551, allocations: 21.92 MB / 0.6779 GB, free: 10.82 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.makefile make -j1 -f OpenIPSL_release_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_release_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_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.o OpenIPSL_release_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_release_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_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_functions.o OpenIPSL_release_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_release_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_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_records.o OpenIPSL_release_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_release_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_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_01exo.o OpenIPSL_release_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_release_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_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.o OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:547: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_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:480:19: note: 'clockIndex' declared here int i;const int clockIndex = 1; ^ OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:547: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_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:480:19: note: 'clockIndex' declared here int i;const int clockIndex = 1; ^ OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:547: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_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:480:19: note: 'clockIndex' declared here int i;const int clockIndex = 1; ^ OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:547: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_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:480:19: note: 'clockIndex' declared here int i;const int clockIndex = 1; ^ OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:551: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_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:480:19: note: 'clockIndex' declared here int i;const int clockIndex = 1; ^ OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:551: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_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:480:19: note: 'clockIndex' declared here int i;const int clockIndex = 1; ^ OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:551: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_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:480:19: note: 'clockIndex' declared here int i;const int clockIndex = 1; ^ OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:551: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_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:480:19: note: 'clockIndex' declared here int i;const int clockIndex = 1; ^ OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:553: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_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:480:19: note: 'clockIndex' declared here int i;const int clockIndex = 1; ^ OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:553: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_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:480:19: note: 'clockIndex' declared here int i;const int clockIndex = 1; ^ OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:553: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_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:480:19: note: 'clockIndex' declared here int i;const int clockIndex = 1; ^ OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:553: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_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:480:19: note: 'clockIndex' declared here int i;const int clockIndex = 1; ^ OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:627:52: warning: incompatible pointer types assigning to 'int (*)(void *, threadData_t *, ANALYTIC_JACOBIAN *)' (aka 'int (*)(void *, struct threadData_s *, struct ANALYTIC_JACOBIAN *)') from 'int (DATA *, threadData_t *, ANALYTIC_JACOBIAN *)' (aka 'int (struct DATA *, struct threadData_s *, struct ANALYTIC_JACOBIAN *)') [-Wincompatible-pointer-types] nonLinearSystemData[1].initialAnalyticalJacobian = OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous_initialAnalyticJacobianNLSJac0; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning and 12 errors generated. make: *** [: OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.o] Error 1