Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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/Modelica 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_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_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1017/0.1017, allocations: 12.6 MB / 28.1 MB, free: 236 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001153, allocations: 103.6 kB / 31.7 MB, free: 3.5 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.577/1.577, allocations: 205.1 MB / 240.3 MB, free: 12.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001686/0.001686, allocations: 196.5 kB / 290.6 MB, free: 13.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4775/0.4775, allocations: 78.5 MB / 419.2 MB, free: 11.37 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002763/0.002763, allocations: 144.8 kB / 499.8 MB, free: 10.84 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3351, allocations: 68.11 MB / 0.5546 GB, free: 32.47 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous): time 0.007367/0.3425, allocations: 6.809 MB / 0.5612 GB, free: 27.51 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005175/0.3478, allocations: 1.985 MB / 0.5632 GB, free: 25.97 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001777/0.3496, allocations: 11.56 kB / 0.5632 GB, free: 25.97 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008537/0.3505, allocations: 243.1 kB / 0.5634 GB, free: 25.77 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002126/0.3526, allocations: 0.8081 MB / 0.5642 GB, free: 25.11 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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.001405/0.354, allocations: 0.6612 MB / 0.5648 GB, free: 24.63 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001916/0.356, allocations: 1.6 MB / 0.5664 GB, free: 23.67 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005452/0.3565, allocations: 338.9 kB / 0.5667 GB, free: 23.49 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009738/0.3575, allocations: 0.6661 MB / 0.5674 GB, free: 23.08 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000882/0.3584, allocations: 0.8346 MB / 0.5682 GB, free: 22.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002128/0.3586, allocations: 123.4 kB / 0.5683 GB, free: 22.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006786/0.3593, allocations: 264.9 kB / 0.5686 GB, free: 22.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002668/0.3596, allocations: 333.1 kB / 0.5689 GB, free: 22.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006059/0.3602, allocations: 0.6776 MB / 0.5695 GB, free: 21.64 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001864/0.3621, allocations: 1.669 MB / 0.5712 GB, free: 20.38 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.3621, allocations: 0 / 0.5712 GB, free: 20.38 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3621, allocations: 0 / 0.5712 GB, free: 20.38 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.445e-05/0.3621, allocations: 1.031 kB / 0.5712 GB, free: 20.38 MB / 398.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.009352/0.3715, allocations: 2.713 MB / 0.5738 GB, free: 18.64 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.511e-05/0.3716, allocations: 13.17 kB / 0.5738 GB, free: 18.64 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005175/0.3768, allocations: 0.786 MB / 0.5746 GB, free: 18.31 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001722/0.3785, allocations: 0.9042 MB / 0.5755 GB, free: 17.58 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002702/0.3788, allocations: 261.6 kB / 0.5757 GB, free: 17.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001662/0.379, allocations: 87.84 kB / 0.5758 GB, free: 17.31 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002517/0.3815, allocations: 1.406 MB / 0.5772 GB, free: 16.18 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/0.3815, allocations: 4 kB / 0.5772 GB, free: 16.17 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.136e-05/0.3816, allocations: 32 kB / 0.5772 GB, free: 16.14 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.409e-05/0.3816, allocations: 20 kB / 0.5772 GB, free: 16.12 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001747/0.3834, allocations: 1.005 MB / 0.5782 GB, free: 15.12 MB / 398.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.005738/0.3891, allocations: 3.692 MB / 0.5818 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006773/0.3959, allocations: 2.56 MB / 0.5843 GB, free: 8.551 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001396/0.3974, allocations: 0.7705 MB / 0.5851 GB, free: 7.77 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.484e-05/0.3975, allocations: 32.7 kB / 0.5851 GB, free: 7.738 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001235/0.3987, allocations: 0.7365 MB / 0.5858 GB, free: 6.977 MB / 398.1 MB Notification: Performance of pre-optimization done (n=115): time 3.366e-06/0.3987, allocations: 0 / 0.5858 GB, free: 6.977 MB / 398.1 MB Notification: Performance of matching and sorting (n=115): time 0.02721/0.426, allocations: 7.184 MB / 0.5928 GB, free: 15.72 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002236/0.4262, allocations: 195.4 kB / 0.593 GB, free: 15.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002396/0.4286, allocations: 1.083 MB / 0.5941 GB, free: 14.4 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003875/0.4291, allocations: 49.7 kB / 0.5941 GB, free: 14.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004486/0.4295, allocations: 485.2 kB / 0.5946 GB, free: 13.87 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004483/0.43, allocations: 327.5 kB / 0.5949 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005307/0.4305, allocations: 315.4 kB / 0.5952 GB, free: 13.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.4307, allocations: 301.1 kB / 0.5955 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001588/0.4323, allocations: 0.7574 MB / 0.5962 GB, free: 12.17 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001765/0.434, allocations: 1.104 MB / 0.5973 GB, free: 10.94 MB / 414.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.02326/0.4573, allocations: 5.98 MB / 0.6032 GB, free: 4.742 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.021e-05/0.4574, allocations: 0 / 0.6032 GB, free: 4.742 MB / 414.1 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.01478/0.4722, allocations: 4.532 MB / 0.6076 GB, free: 184 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001196/0.4723, allocations: 63.41 kB / 0.6076 GB, free: 108 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.489e-05/0.4724, allocations: 15.97 kB / 0.6077 GB, free: 92 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006361/0.4787, allocations: 1.635 MB / 0.6093 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001457/0.4802, allocations: 303.5 kB / 0.6095 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02322/0.5035, allocations: 10.49 MB / 0.6198 GB, free: 3.371 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002198/0.5057, allocations: 206.7 kB / 0.62 GB, free: 3.168 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001494/0.5059, allocations: 71.97 kB / 0.6201 GB, free: 3.098 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.0007713/0.5067, allocations: 359.2 kB / 0.6204 GB, free: 2.73 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001928/0.5086, allocations: 0.665 MB / 0.621 GB, free: 2.051 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01407/0.5227, allocations: 4.145 MB / 0.6251 GB, free: 13.88 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-05/0.5228, allocations: 12 kB / 0.6251 GB, free: 13.87 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.257e-05/0.5228, allocations: 8 kB / 0.6251 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-05/0.5228, allocations: 11.97 kB / 0.6251 GB, free: 13.85 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 postOpt removeSimpleEquations (simulation): time 0.01655/0.5394, allocations: 5.693 MB / 0.6307 GB, free: 8.043 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.099e-05/0.5395, allocations: 3.984 kB / 0.6307 GB, free: 8.039 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006906/0.5401, allocations: 111.8 kB / 0.6308 GB, free: 7.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006162/0.5463, allocations: 1.72 MB / 0.6325 GB, free: 6.199 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002179/0.5466, allocations: 31.97 kB / 0.6325 GB, free: 6.168 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02434/0.5709, allocations: 12.18 MB / 0.6444 GB, free: 9.555 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.964e-06/0.571, allocations: 4 kB / 0.6444 GB, free: 9.551 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01639/0.5874, allocations: 5.134 MB / 0.6494 GB, free: 4.375 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006295/0.5881, allocations: 231.3 kB / 0.6496 GB, free: 4.129 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004026/0.5885, allocations: 28 kB / 0.6497 GB, free: 4.102 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001322/0.5898, allocations: 115.8 kB / 0.6498 GB, free: 3.988 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005548/0.5904, allocations: 176.8 kB / 0.6499 GB, free: 3.816 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.461e-05/0.5905, allocations: 35.98 kB / 0.65 GB, free: 3.781 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001059/0.5915, allocations: 0.7278 MB / 0.6507 GB, free: 3.047 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5916, allocations: 0 / 0.6507 GB, free: 3.047 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001725/0.5933, allocations: 499.5 kB / 0.6512 GB, free: 2.559 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.0003125/0.5936, allocations: 146.6 kB / 0.6513 GB, free: 2.406 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007316/0.6009, allocations: 2.789 MB / 0.654 GB, free: 15.56 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.601, allocations: 0.8125 kB / 0.654 GB, free: 15.56 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00418/0.6052, allocations: 1.394 MB / 0.6554 GB, free: 14.13 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002259/0.6075, allocations: 0.5941 MB / 0.656 GB, free: 13.52 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004703/0.6122, allocations: 2.403 MB / 0.6583 GB, free: 11.09 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007478/0.613, allocations: 1.156 MB / 0.6594 GB, free: 9.898 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004711/0.6134, allocations: 120.9 kB / 0.6596 GB, free: 9.777 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002376/0.6137, allocations: 79.42 kB / 0.6596 GB, free: 9.699 MB / 478.1 MB Notification: Performance of SimCode: time 1.082e-06/0.6137, allocations: 0 / 0.6596 GB, free: 9.699 MB / 478.1 MB Notification: Performance of Templates: time 0.04849/0.6622, allocations: 24.41 MB / 0.6835 GB, free: 1.355 MB / 494.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.makefile make -j1 -f OpenIPSL_2.0.0_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_2_0_0_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_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.o OpenIPSL_2.0.0_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_2_0_0_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_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_functions.o OpenIPSL_2.0.0_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_2_0_0_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_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_records.o OpenIPSL_2.0.0_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_2_0_0_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_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_01exo.o OpenIPSL_2.0.0_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_2_0_0_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_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.o OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:591:46: error: use of undeclared identifier 'baseClockIndex'; did you mean 'clockIndex'? res[0] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[16] /* der(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */))) + (data->localData[0]->realVars[12] /* previous(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */) - (data->localData[0]->realVars[27] /* aVRTypeII.ExcitationSystem.x_scaled[1] CLOCKED_STATE */); ^~~~~~~~~~~~~~ clockIndex OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:591:72: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? res[0] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[16] /* der(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */))) + (data->localData[0]->realVars[12] /* previous(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */) - (data->localData[0]->realVars[27] /* aVRTypeII.ExcitationSystem.x_scaled[1] CLOCKED_STATE */); ^~~~~~~~~~~~~ clockIndex OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:591:149: error: use of undeclared identifier 'baseClockIndex'; did you mean 'clockIndex'? res[0] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[16] /* der(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */))) + (data->localData[0]->realVars[12] /* previous(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */) - (data->localData[0]->realVars[27] /* aVRTypeII.ExcitationSystem.x_scaled[1] CLOCKED_STATE */); ^~~~~~~~~~~~~~ clockIndex OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:591:175: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? res[0] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[16] /* der(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */))) + (data->localData[0]->realVars[12] /* previous(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */) - (data->localData[0]->realVars[27] /* aVRTypeII.ExcitationSystem.x_scaled[1] CLOCKED_STATE */); ^~~~~~~~~~~~~ clockIndex OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:595:46: error: use of undeclared identifier 'baseClockIndex'; did you mean 'clockIndex'? res[2] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[17] /* der(aVRTypeII.derivativeBlock.x) variable */))) + (data->localData[0]->realVars[13] /* previous(aVRTypeII.derivativeBlock.x) variable */) - (data->localData[0]->realVars[35] /* aVRTypeII.derivativeBlock.x CLOCKED_STATE */); ^~~~~~~~~~~~~~ clockIndex OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:595:72: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? res[2] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[17] /* der(aVRTypeII.derivativeBlock.x) variable */))) + (data->localData[0]->realVars[13] /* previous(aVRTypeII.derivativeBlock.x) variable */) - (data->localData[0]->realVars[35] /* aVRTypeII.derivativeBlock.x CLOCKED_STATE */); ^~~~~~~~~~~~~ clockIndex OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:595:149: error: use of undeclared identifier 'baseClockIndex'; did you mean 'clockIndex'? res[2] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[17] /* der(aVRTypeII.derivativeBlock.x) variable */))) + (data->localData[0]->realVars[13] /* previous(aVRTypeII.derivativeBlock.x) variable */) - (data->localData[0]->realVars[35] /* aVRTypeII.derivativeBlock.x CLOCKED_STATE */); ^~~~~~~~~~~~~~ clockIndex OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:595:175: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? res[2] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[17] /* der(aVRTypeII.derivativeBlock.x) variable */))) + (data->localData[0]->realVars[13] /* previous(aVRTypeII.derivativeBlock.x) variable */) - (data->localData[0]->realVars[35] /* aVRTypeII.derivativeBlock.x CLOCKED_STATE */); ^~~~~~~~~~~~~ clockIndex OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:597:46: error: use of undeclared identifier 'baseClockIndex'; did you mean 'clockIndex'? res[3] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[19] /* der(aVRTypeII.simpleLagLim.state) variable */))) + (data->localData[0]->realVars[15] /* previous(aVRTypeII.simpleLagLim.state) variable */) - (data->localData[0]->realVars[46] /* aVRTypeII.simpleLagLim.state CLOCKED_STATE */); ^~~~~~~~~~~~~~ clockIndex OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:597:72: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? res[3] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[19] /* der(aVRTypeII.simpleLagLim.state) variable */))) + (data->localData[0]->realVars[15] /* previous(aVRTypeII.simpleLagLim.state) variable */) - (data->localData[0]->realVars[46] /* aVRTypeII.simpleLagLim.state CLOCKED_STATE */); ^~~~~~~~~~~~~ clockIndex OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:597:149: error: use of undeclared identifier 'baseClockIndex'; did you mean 'clockIndex'? res[3] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[19] /* der(aVRTypeII.simpleLagLim.state) variable */))) + (data->localData[0]->realVars[15] /* previous(aVRTypeII.simpleLagLim.state) variable */) - (data->localData[0]->realVars[46] /* aVRTypeII.simpleLagLim.state CLOCKED_STATE */); ^~~~~~~~~~~~~~ clockIndex OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:597:175: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? res[3] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[19] /* der(aVRTypeII.simpleLagLim.state) variable */))) + (data->localData[0]->realVars[15] /* previous(aVRTypeII.simpleLagLim.state) variable */) - (data->localData[0]->realVars[46] /* aVRTypeII.simpleLagLim.state CLOCKED_STATE */); ^~~~~~~~~~~~~ clockIndex OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:522:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ 12 errors generated. make: *** [: OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.o] Error 1