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/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/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/package.mo): time 0.0897/0.0897, allocations: 12.2 MB / 27.47 MB, free: 0.9297 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008152/0.0008152, allocations: 99.52 kB / 31 MB, free: 4.535 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.507/1.507, allocations: 205.4 MB / 239.8 MB, free: 14.16 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.001252/0.001252, allocations: 185.2 kB / 291 MB, free: 11.63 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4523/0.4523, allocations: 78.53 MB / 420.5 MB, free: 11.58 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.0009146/0.0009146, allocations: 25.17 kB / 0.4901 GB, free: 10.14 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3885/0.3894, allocations: 69.23 MB / 0.5577 GB, free: 20.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous): time 0.006001/0.3955, allocations: 6.631 MB / 0.5642 GB, free: 14.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004979/0.4005, allocations: 2.022 MB / 0.5662 GB, free: 12.24 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00165/0.4022, allocations: 12 kB / 0.5662 GB, free: 12.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0012/0.4034, allocations: 182.8 kB / 0.5664 GB, free: 12.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002925/0.4064, allocations: 0.7191 MB / 0.5671 GB, free: 11.33 MB / 382.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.001521/0.4079, allocations: 0.6081 MB / 0.5676 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001716/0.4096, allocations: 1.522 MB / 0.5691 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000429/0.4101, allocations: 293.4 kB / 0.5694 GB, free: 8.906 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005677/0.4107, allocations: 0.5792 MB / 0.57 GB, free: 8.324 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006433/0.4113, allocations: 0.7542 MB / 0.5707 GB, free: 7.566 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000112/0.4114, allocations: 60 kB / 0.5708 GB, free: 7.508 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004059/0.4119, allocations: 187.9 kB / 0.571 GB, free: 7.324 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000214/0.4121, allocations: 262.6 kB / 0.5712 GB, free: 7.066 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000392/0.4125, allocations: 0.6344 MB / 0.5718 GB, free: 6.422 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001138/0.4136, allocations: 1.572 MB / 0.5734 GB, free: 4.844 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.4136, allocations: 0 / 0.5734 GB, free: 4.844 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.4137, allocations: 7.938 kB / 0.5734 GB, free: 4.836 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.291e-05/0.4137, allocations: 0 / 0.5734 GB, free: 4.836 MB / 382.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.008013/0.4217, allocations: 2.517 MB / 0.5758 GB, free: 2.254 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.4218, allocations: 15.92 kB / 0.5758 GB, free: 2.238 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00492/0.4267, allocations: 0.7904 MB / 0.5766 GB, free: 1.445 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001693/0.4284, allocations: 0.8963 MB / 0.5775 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002583/0.4287, allocations: 272.1 kB / 0.5777 GB, free: 196 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/0.4288, allocations: 95.98 kB / 0.5778 GB, free: 100 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002971/0.4318, allocations: 1.462 MB / 0.5793 GB, free: 14.61 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.488e-05/0.4319, allocations: 7.938 kB / 0.5793 GB, free: 14.6 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/0.432, allocations: 32 kB / 0.5793 GB, free: 14.57 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.565e-05/0.432, allocations: 20 kB / 0.5793 GB, free: 14.55 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002181/0.4342, allocations: 1.055 MB / 0.5804 GB, free: 13.49 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.006982/0.4412, allocations: 3.767 MB / 0.584 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008616/0.4498, allocations: 3.113 MB / 0.5871 GB, free: 6.297 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001671/0.4515, allocations: 0.8325 MB / 0.5879 GB, free: 5.457 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001043/0.4516, allocations: 28.7 kB / 0.5879 GB, free: 5.43 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00157/0.4532, allocations: 0.8056 MB / 0.5887 GB, free: 4.598 MB / 398.1 MB Notification: Performance of pre-optimization done (n=115): time 4.298e-06/0.4532, allocations: 0 / 0.5887 GB, free: 4.598 MB / 398.1 MB Notification: Performance of matching and sorting (n=115): time 0.03137/0.4846, allocations: 8.692 MB / 0.5972 GB, free: 11.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002502/0.4849, allocations: 202.8 kB / 0.5974 GB, free: 11.61 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002115/0.4871, allocations: 1.087 MB / 0.5984 GB, free: 10.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002689/0.4873, allocations: 49.7 kB / 0.5985 GB, free: 10.45 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005763/0.4879, allocations: 485.2 kB / 0.599 GB, free: 9.969 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000586/0.4885, allocations: 331.6 kB / 0.5993 GB, free: 9.641 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003147/0.4889, allocations: 153.6 kB / 0.5994 GB, free: 9.484 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.489, allocations: 301.1 kB / 0.5997 GB, free: 9.188 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001754/0.4907, allocations: 0.8199 MB / 0.6005 GB, free: 8.367 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002218/0.493, allocations: 1.159 MB / 0.6016 GB, free: 7.078 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.02573/0.5187, allocations: 6.402 MB / 0.6079 GB, free: 472 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.109e-05/0.5188, allocations: 4 kB / 0.6079 GB, free: 468 kB / 414.1 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.01686/0.5356, allocations: 5.364 MB / 0.6131 GB, free: 11.06 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.813e-05/0.5358, allocations: 59.41 kB / 0.6132 GB, free: 10.99 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.789e-05/0.5358, allocations: 16 kB / 0.6132 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007162/0.543, allocations: 1.912 MB / 0.6151 GB, free: 9.059 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001555/0.5446, allocations: 299.5 kB / 0.6154 GB, free: 8.766 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02507/0.5697, allocations: 10.64 MB / 0.6257 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002229/0.572, allocations: 234.7 kB / 0.626 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000318/0.5723, allocations: 79.91 kB / 0.626 GB, free: 13.53 MB / 446.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 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.001045/0.5734, allocations: 356.8 kB / 0.6264 GB, free: 13.17 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002191/0.5756, allocations: 0.6959 MB / 0.6271 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01586/0.5915, allocations: 5.005 MB / 0.6319 GB, free: 7.426 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.35e-05/0.5916, allocations: 15.94 kB / 0.632 GB, free: 7.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.011e-05/0.5916, allocations: 8 kB / 0.632 GB, free: 7.402 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-05/0.5916, allocations: 7.969 kB / 0.632 GB, free: 7.395 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.01844/0.6101, allocations: 6.545 MB / 0.6384 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.783e-05/0.6102, allocations: 3.938 kB / 0.6384 GB, free: 0.7422 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007141/0.6109, allocations: 119.8 kB / 0.6385 GB, free: 0.625 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006889/0.6178, allocations: 1.994 MB / 0.6404 GB, free: 14.62 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002306/0.6181, allocations: 27.98 kB / 0.6405 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.026/0.6441, allocations: 12.06 MB / 0.6522 GB, free: 2.125 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.6442, allocations: 0 / 0.6522 GB, free: 2.125 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01866/0.6628, allocations: 6.04 MB / 0.6581 GB, free: 12.04 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000749/0.6636, allocations: 239.2 kB / 0.6584 GB, free: 11.79 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005397/0.6642, allocations: 24 kB / 0.6584 GB, free: 11.76 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001599/0.6658, allocations: 143.9 kB / 0.6585 GB, free: 11.62 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006637/0.6665, allocations: 188.6 kB / 0.6587 GB, free: 11.44 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001437/0.6666, allocations: 28 kB / 0.6587 GB, free: 11.41 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001404/0.6681, allocations: 0.7355 MB / 0.6594 GB, free: 10.67 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.844e-06/0.6681, allocations: 0 / 0.6594 GB, free: 10.67 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002252/0.6703, allocations: 0.4917 MB / 0.6599 GB, free: 10.18 MB / 478.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.0003925/0.6707, allocations: 147.2 kB / 0.6601 GB, free: 10.02 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008027/0.6788, allocations: 3.023 MB / 0.663 GB, free: 6.938 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/0.6788, allocations: 0 / 0.663 GB, free: 6.938 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004762/0.6836, allocations: 1.607 MB / 0.6646 GB, free: 5.305 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002633/0.6862, allocations: 0.591 MB / 0.6652 GB, free: 4.688 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005309/0.6916, allocations: 2.915 MB / 0.668 GB, free: 1.742 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008507/0.6925, allocations: 1.16 MB / 0.6691 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005012/0.693, allocations: 112.9 kB / 0.6693 GB, free: 448 kB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003078/0.6933, allocations: 83.41 kB / 0.6693 GB, free: 364 kB / 478.1 MB Notification: Performance of SimCode: time 1.884e-06/0.6933, allocations: 0 / 0.6693 GB, free: 364 kB / 478.1 MB Notification: Performance of Templates: time 0.3175/1.011, allocations: 21.94 MB / 0.6908 GB, free: 116.5 MB / 494.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.makefile Environment - environmentSimulation: make -j1 -f OpenIPSL_2.0.0_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_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 -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 -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 -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 -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:551:46: error: use of undeclared identifier 'baseClockIndex'; did you mean 'clockIndex'? res[0] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[16]/* der(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */) )) + (data->localData[0]->realVars[12]/* previous(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */) - (data->localData[0]->realVars[27]/* aVRTypeII.ExcitationSystem.x_scaled[1] CLOCKED_STATE */) ; ^~~~~~~~~~~~~~ clockIndex OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:484:19: note: 'clockIndex' declared here int i;const int clockIndex = 1; ^ OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:551:72: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? res[0] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[16]/* der(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */) )) + (data->localData[0]->realVars[12]/* previous(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */) - (data->localData[0]->realVars[27]/* aVRTypeII.ExcitationSystem.x_scaled[1] CLOCKED_STATE */) ; ^~~~~~~~~~~~~ clockIndex OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:484:19: note: 'clockIndex' declared here int i;const int clockIndex = 1; ^ OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:551:149: error: use of undeclared identifier 'baseClockIndex'; did you mean 'clockIndex'? res[0] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[16]/* der(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */) )) + (data->localData[0]->realVars[12]/* previous(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */) - (data->localData[0]->realVars[27]/* aVRTypeII.ExcitationSystem.x_scaled[1] CLOCKED_STATE */) ; ^~~~~~~~~~~~~~ clockIndex OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:484:19: note: 'clockIndex' declared here int i;const int clockIndex = 1; ^ OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:551:175: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? res[0] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[16]/* der(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */) )) + (data->localData[0]->realVars[12]/* previous(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */) - (data->localData[0]->realVars[27]/* aVRTypeII.ExcitationSystem.x_scaled[1] CLOCKED_STATE */) ; ^~~~~~~~~~~~~ clockIndex OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:484:19: note: 'clockIndex' declared here int i;const int clockIndex = 1; ^ OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:555:46: error: use of undeclared identifier 'baseClockIndex'; did you mean 'clockIndex'? res[2] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[17]/* der(aVRTypeII.derivativeBlock.x) variable */) )) + (data->localData[0]->realVars[13]/* previous(aVRTypeII.derivativeBlock.x) variable */) - (data->localData[0]->realVars[35]/* aVRTypeII.derivativeBlock.x CLOCKED_STATE */) ; ^~~~~~~~~~~~~~ clockIndex OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:484:19: note: 'clockIndex' declared here int i;const int clockIndex = 1; ^ OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:555:72: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? res[2] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[17]/* der(aVRTypeII.derivativeBlock.x) variable */) )) + (data->localData[0]->realVars[13]/* previous(aVRTypeII.derivativeBlock.x) variable */) - (data->localData[0]->realVars[35]/* aVRTypeII.derivativeBlock.x CLOCKED_STATE */) ; ^~~~~~~~~~~~~ clockIndex OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:484:19: note: 'clockIndex' declared here int i;const int clockIndex = 1; ^ OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:555:149: error: use of undeclared identifier 'baseClockIndex'; did you mean 'clockIndex'? res[2] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[17]/* der(aVRTypeII.derivativeBlock.x) variable */) )) + (data->localData[0]->realVars[13]/* previous(aVRTypeII.derivativeBlock.x) variable */) - (data->localData[0]->realVars[35]/* aVRTypeII.derivativeBlock.x CLOCKED_STATE */) ; ^~~~~~~~~~~~~~ clockIndex OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:484:19: note: 'clockIndex' declared here int i;const int clockIndex = 1; ^ OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:555:175: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? res[2] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[17]/* der(aVRTypeII.derivativeBlock.x) variable */) )) + (data->localData[0]->realVars[13]/* previous(aVRTypeII.derivativeBlock.x) variable */) - (data->localData[0]->realVars[35]/* aVRTypeII.derivativeBlock.x CLOCKED_STATE */) ; ^~~~~~~~~~~~~ clockIndex OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:484:19: note: 'clockIndex' declared here int i;const int clockIndex = 1; ^ OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:557:46: error: use of undeclared identifier 'baseClockIndex'; did you mean 'clockIndex'? res[3] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[19]/* der(aVRTypeII.simpleLagLim.state) variable */) )) + (data->localData[0]->realVars[15]/* previous(aVRTypeII.simpleLagLim.state) variable */) - (data->localData[0]->realVars[46]/* aVRTypeII.simpleLagLim.state CLOCKED_STATE */) ; ^~~~~~~~~~~~~~ clockIndex OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:484:19: note: 'clockIndex' declared here int i;const int clockIndex = 1; ^ OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:557:72: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? res[3] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[19]/* der(aVRTypeII.simpleLagLim.state) variable */) )) + (data->localData[0]->realVars[15]/* previous(aVRTypeII.simpleLagLim.state) variable */) - (data->localData[0]->realVars[46]/* aVRTypeII.simpleLagLim.state CLOCKED_STATE */) ; ^~~~~~~~~~~~~ clockIndex OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:484:19: note: 'clockIndex' declared here int i;const int clockIndex = 1; ^ OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:557:149: error: use of undeclared identifier 'baseClockIndex'; did you mean 'clockIndex'? res[3] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[19]/* der(aVRTypeII.simpleLagLim.state) variable */) )) + (data->localData[0]->realVars[15]/* previous(aVRTypeII.simpleLagLim.state) variable */) - (data->localData[0]->realVars[46]/* aVRTypeII.simpleLagLim.state CLOCKED_STATE */) ; ^~~~~~~~~~~~~~ clockIndex OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:484:19: note: 'clockIndex' declared here int i;const int clockIndex = 1; ^ OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:557:175: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? res[3] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[19]/* der(aVRTypeII.simpleLagLim.state) variable */) )) + (data->localData[0]->realVars[15]/* previous(aVRTypeII.simpleLagLim.state) variable */) - (data->localData[0]->realVars[46]/* aVRTypeII.simpleLagLim.state CLOCKED_STATE */) ; ^~~~~~~~~~~~~ clockIndex OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:484:19: note: 'clockIndex' declared here int i;const int clockIndex = 1; ^ 12 errors generated. make: *** [: OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.o] Error 1