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.08324/0.08324, allocations: 12.6 MB / 28.85 MB, free: 284 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.001167/0.001167, allocations: 115.4 kB / 32.45 MB, free: 3.418 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.448/1.448, allocations: 205.1 MB / 241 MB, free: 12.4 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.001532/0.001532, allocations: 187.4 kB / 291.3 MB, free: 13.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4549/0.4549, allocations: 78.51 MB / 419.9 MB, free: 11.3 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.002904/0.002904, allocations: 143.8 kB / 0.4895 GB, free: 10.07 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.3226, allocations: 68.1 MB / 0.556 GB, free: 32.91 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous): time 0.006989/0.3297, allocations: 6.824 MB / 0.5626 GB, free: 27.81 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003736/0.3334, allocations: 1.979 MB / 0.5646 GB, free: 26.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007357/0.3342, allocations: 11.31 kB / 0.5646 GB, free: 26.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006693/0.3349, allocations: 242.4 kB / 0.5648 GB, free: 25.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001822/0.3367, allocations: 0.8066 MB / 0.5656 GB, free: 25.33 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.001264/0.338, allocations: 0.6591 MB / 0.5663 GB, free: 24.84 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001618/0.3396, allocations: 1.612 MB / 0.5678 GB, free: 23.86 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004547/0.3401, allocations: 339.9 kB / 0.5682 GB, free: 23.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007506/0.3409, allocations: 0.664 MB / 0.5688 GB, free: 23.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008701/0.3417, allocations: 0.834 MB / 0.5696 GB, free: 22.69 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001981/0.342, allocations: 123.8 kB / 0.5697 GB, free: 22.69 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005001/0.3425, allocations: 264.2 kB / 0.57 GB, free: 22.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002417/0.3427, allocations: 338.5 kB / 0.5703 GB, free: 22.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004682/0.3432, allocations: 0.6764 MB / 0.571 GB, free: 21.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001419/0.3446, allocations: 1.695 MB / 0.5726 GB, free: 20.55 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.381e-06/0.3446, allocations: 1.188 kB / 0.5726 GB, free: 20.55 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3446, allocations: 0 / 0.5726 GB, free: 20.55 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.773e-05/0.3447, allocations: 0 / 0.5726 GB, free: 20.55 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.008414/0.3531, allocations: 2.712 MB / 0.5753 GB, free: 18.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.3531, allocations: 13.27 kB / 0.5753 GB, free: 18.82 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004947/0.3581, allocations: 0.7782 MB / 0.576 GB, free: 18.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001548/0.3597, allocations: 0.9064 MB / 0.5769 GB, free: 17.76 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002355/0.3599, allocations: 270.6 kB / 0.5772 GB, free: 17.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001448/0.3601, allocations: 87.91 kB / 0.5773 GB, free: 17.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002214/0.3623, allocations: 1.407 MB / 0.5786 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.3623, allocations: 4 kB / 0.5787 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-05/0.3624, allocations: 32 kB / 0.5787 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.387e-05/0.3624, allocations: 20 kB / 0.5787 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001722/0.3642, allocations: 1.001 MB / 0.5797 GB, free: 14.93 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.004884/0.369, allocations: 3.673 MB / 0.5833 GB, free: 11.06 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006423/0.3755, allocations: 2.564 MB / 0.5858 GB, free: 8.375 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001195/0.3767, allocations: 0.7706 MB / 0.5865 GB, free: 7.594 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001065/0.3768, allocations: 28.7 kB / 0.5866 GB, free: 7.566 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001152/0.378, allocations: 0.7403 MB / 0.5873 GB, free: 6.801 MB / 398.1 MB Notification: Performance of pre-optimization done (n=115): time 2.675e-06/0.378, allocations: 0 / 0.5873 GB, free: 6.801 MB / 398.1 MB Notification: Performance of matching and sorting (n=115): time 0.0258/0.4038, allocations: 7.18 MB / 0.5943 GB, free: 15.55 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001753/0.404, allocations: 199.3 kB / 0.5945 GB, free: 15.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001948/0.406, allocations: 1.083 MB / 0.5955 GB, free: 14.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001644/0.4061, allocations: 53.7 kB / 0.5956 GB, free: 14.17 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004091/0.4066, allocations: 477.2 kB / 0.596 GB, free: 13.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003683/0.4069, allocations: 335.5 kB / 0.5964 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006136/0.4076, allocations: 311.4 kB / 0.5967 GB, free: 13.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.4077, allocations: 301.1 kB / 0.5969 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001518/0.4092, allocations: 0.7535 MB / 0.5977 GB, free: 12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001883/0.4111, allocations: 1.1 MB / 0.5988 GB, free: 10.77 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.02264/0.4338, allocations: 5.961 MB / 0.6046 GB, free: 4.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.327e-05/0.4338, allocations: 3.938 kB / 0.6046 GB, free: 4.586 MB / 414.1 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.01397/0.4478, allocations: 4.528 MB / 0.609 GB, free: 28 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.102e-05/0.4479, allocations: 67.41 kB / 0.6091 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.37e-05/0.4479, allocations: 8 kB / 0.6091 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006113/0.4541, allocations: 1.639 MB / 0.6107 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001344/0.4554, allocations: 295.5 kB / 0.611 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02363/0.4791, allocations: 10.49 MB / 0.6212 GB, free: 3.227 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002238/0.4814, allocations: 206.8 kB / 0.6214 GB, free: 3.023 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002938/0.4817, allocations: 67.98 kB / 0.6215 GB, free: 2.957 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.00107/0.4828, allocations: 357 kB / 0.6218 GB, free: 2.594 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002215/0.485, allocations: 0.6689 MB / 0.6225 GB, free: 1.91 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01364/0.4987, allocations: 4.148 MB / 0.6265 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.38e-05/0.4987, allocations: 12 kB / 0.6265 GB, free: 13.72 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.762e-05/0.4988, allocations: 8 kB / 0.6265 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.369e-05/0.4988, allocations: 3.984 kB / 0.6265 GB, free: 13.71 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.01565/0.5144, allocations: 5.691 MB / 0.6321 GB, free: 7.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.321e-05/0.5145, allocations: 0 / 0.6321 GB, free: 7.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006013/0.5151, allocations: 111.8 kB / 0.6322 GB, free: 7.801 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005778/0.5209, allocations: 1.724 MB / 0.6339 GB, free: 6.066 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001632/0.5211, allocations: 23.98 kB / 0.6339 GB, free: 6.043 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02338/0.5445, allocations: 12.18 MB / 0.6458 GB, free: 9.434 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.5445, allocations: 4 kB / 0.6458 GB, free: 9.43 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01574/0.5603, allocations: 5.135 MB / 0.6508 GB, free: 4.25 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008198/0.5611, allocations: 227.3 kB / 0.651 GB, free: 4.008 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000521/0.5617, allocations: 28 kB / 0.6511 GB, free: 3.98 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001551/0.5632, allocations: 111.8 kB / 0.6512 GB, free: 3.871 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007091/0.564, allocations: 180.7 kB / 0.6513 GB, free: 3.695 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001475/0.5641, allocations: 35.98 kB / 0.6514 GB, free: 3.66 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001378/0.5655, allocations: 0.7278 MB / 0.6521 GB, free: 2.926 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5655, allocations: 0 / 0.6521 GB, free: 2.926 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002518/0.5681, allocations: 0.4917 MB / 0.6526 GB, free: 2.434 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.000453/0.5685, allocations: 146.4 kB / 0.6527 GB, free: 2.281 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006771/0.5753, allocations: 2.751 MB / 0.6554 GB, free: 15.47 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.5753, allocations: 4.062 kB / 0.6554 GB, free: 15.47 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00392/0.5793, allocations: 1.394 MB / 0.6567 GB, free: 14.04 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002333/0.5816, allocations: 0.6042 MB / 0.6573 GB, free: 13.41 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004909/0.5866, allocations: 2.359 MB / 0.6596 GB, free: 11.03 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008573/0.5874, allocations: 1.156 MB / 0.6608 GB, free: 9.84 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004507/0.5879, allocations: 120.9 kB / 0.6609 GB, free: 9.719 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002844/0.5882, allocations: 79.42 kB / 0.661 GB, free: 9.641 MB / 478.1 MB Notification: Performance of SimCode: time 8.02e-07/0.5882, allocations: 4 kB / 0.661 GB, free: 9.637 MB / 478.1 MB Notification: Performance of Templates: time 0.03987/0.6281, allocations: 24.4 MB / 0.6848 GB, free: 1.293 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/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:618: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:549: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:618: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:549: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:618: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:549: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:618: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:549: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:622: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:549: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:622: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:549: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:622: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:549: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:622: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:549: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:624: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:549: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:624: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:549: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:624: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:549: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:624: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:549: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