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.0847/0.0847, allocations: 12.59 MB / 28.23 MB, free: 1.07 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.00108/0.00108, allocations: 115.4 kB / 31.84 MB, free: 4.008 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 / 240.4 MB, free: 12.36 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.001394/0.001394, allocations: 188.5 kB / 290.7 MB, free: 10.95 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4628/0.4628, allocations: 78.5 MB / 419.3 MB, free: 10.76 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.002505/0.002505, allocations: 135.8 kB / 0.5559 GB, free: 17.28 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1592, allocations: 68.13 MB / 0.6224 GB, free: 13.12 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous): time 0.008562/0.1678, allocations: 6.801 MB / 0.6291 GB, free: 6.281 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004984/0.1728, allocations: 1.982 MB / 0.631 GB, free: 4.293 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001099/0.1739, allocations: 19.94 kB / 0.631 GB, free: 4.273 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001042/0.175, allocations: 245.8 kB / 0.6312 GB, free: 4.031 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002849/0.1779, allocations: 0.8618 MB / 0.6321 GB, free: 3.172 MB / 446.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.001809/0.1797, allocations: 0.6548 MB / 0.6327 GB, free: 2.52 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002526/0.1823, allocations: 1.608 MB / 0.6343 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007241/0.183, allocations: 342.4 kB / 0.6346 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001311/0.1843, allocations: 0.673 MB / 0.6353 GB, free: 15.88 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001427/0.1858, allocations: 0.8284 MB / 0.6361 GB, free: 15.05 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000486/0.1863, allocations: 128 kB / 0.6362 GB, free: 14.93 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009128/0.1872, allocations: 255.9 kB / 0.6365 GB, free: 14.68 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005253/0.1877, allocations: 338.6 kB / 0.6368 GB, free: 14.34 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001053/0.1888, allocations: 0.6874 MB / 0.6375 GB, free: 13.65 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002687/0.1915, allocations: 1.696 MB / 0.6391 GB, free: 11.95 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1915, allocations: 0 / 0.6391 GB, free: 11.95 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.1915, allocations: 0 / 0.6391 GB, free: 11.95 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.194e-05/0.1915, allocations: 0 / 0.6391 GB, free: 11.95 MB / 462.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.009022/0.2006, allocations: 2.757 MB / 0.6418 GB, free: 9.125 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.2006, allocations: 11.98 kB / 0.6418 GB, free: 9.113 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005021/0.2057, allocations: 0.7912 MB / 0.6426 GB, free: 8.32 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001857/0.2075, allocations: 0.9168 MB / 0.6435 GB, free: 7.348 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003395/0.2079, allocations: 260.2 kB / 0.6437 GB, free: 7.059 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001918/0.2081, allocations: 87.95 kB / 0.6438 GB, free: 6.973 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002845/0.2109, allocations: 1.404 MB / 0.6452 GB, free: 5.543 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.211, allocations: 4 kB / 0.6452 GB, free: 5.539 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.61e-05/0.2111, allocations: 28 kB / 0.6452 GB, free: 5.512 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.857e-05/0.2111, allocations: 24 kB / 0.6452 GB, free: 5.488 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002004/0.2131, allocations: 1.001 MB / 0.6462 GB, free: 4.488 MB / 462.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.006152/0.2193, allocations: 3.666 MB / 0.6498 GB, free: 0.6328 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007459/0.2268, allocations: 2.572 MB / 0.6523 GB, free: 13.93 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0017/0.2285, allocations: 0.7719 MB / 0.6531 GB, free: 13.15 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001042/0.2286, allocations: 20.64 kB / 0.6531 GB, free: 13.13 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001463/0.2301, allocations: 0.7587 MB / 0.6538 GB, free: 12.35 MB / 478.1 MB Notification: Performance of pre-optimization done (n=115): time 2.945e-06/0.2301, allocations: 0 / 0.6538 GB, free: 12.35 MB / 478.1 MB Notification: Performance of matching and sorting (n=115): time 0.02876/0.2589, allocations: 7.173 MB / 0.6608 GB, free: 5.113 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000183/0.2591, allocations: 199.3 kB / 0.661 GB, free: 4.879 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00211/0.2613, allocations: 1.091 MB / 0.6621 GB, free: 3.773 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002609/0.2615, allocations: 57.64 kB / 0.6621 GB, free: 3.711 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004702/0.262, allocations: 481.9 kB / 0.6626 GB, free: 3.234 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005567/0.2626, allocations: 353.2 kB / 0.6629 GB, free: 2.887 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007734/0.2634, allocations: 307.5 kB / 0.6632 GB, free: 2.582 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.2635, allocations: 305.1 kB / 0.6635 GB, free: 2.281 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001661/0.2652, allocations: 0.7535 MB / 0.6643 GB, free: 1.527 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001914/0.2671, allocations: 1.092 MB / 0.6653 GB, free: 304 kB / 478.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.02341/0.2905, allocations: 5.965 MB / 0.6711 GB, free: 10.11 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.908e-05/0.2906, allocations: 4 kB / 0.6711 GB, free: 10.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.01484/0.3054, allocations: 4.533 MB / 0.6756 GB, free: 5.547 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001002/0.3056, allocations: 67.41 kB / 0.6756 GB, free: 5.469 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.11e-05/0.3056, allocations: 11.98 kB / 0.6756 GB, free: 5.457 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006246/0.3119, allocations: 1.635 MB / 0.6772 GB, free: 3.816 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001559/0.3135, allocations: 299.5 kB / 0.6775 GB, free: 3.523 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4053/0.7188, allocations: 10.48 MB / 0.6878 GB, free: 49.81 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002119/0.721, allocations: 207.5 kB / 0.688 GB, free: 49.78 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001679/0.7211, allocations: 69.34 kB / 0.688 GB, free: 49.77 MB / 494.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.0007841/0.7219, allocations: 366.9 kB / 0.6884 GB, free: 49.53 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002079/0.724, allocations: 0.6739 MB / 0.689 GB, free: 49.35 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01485/0.7389, allocations: 4.154 MB / 0.6931 GB, free: 48.42 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.703e-05/0.7389, allocations: 16.16 kB / 0.6931 GB, free: 48.42 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.009e-05/0.739, allocations: 8.672 kB / 0.6931 GB, free: 48.42 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.727e-05/0.739, allocations: 6.859 kB / 0.6931 GB, free: 48.42 MB / 494.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.01589/0.7549, allocations: 5.678 MB / 0.6987 GB, free: 46.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.366e-05/0.755, allocations: 9.031 kB / 0.6987 GB, free: 46.58 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006481/0.7556, allocations: 113.7 kB / 0.6988 GB, free: 46.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006046/0.7617, allocations: 1.725 MB / 0.7005 GB, free: 46.24 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001819/0.7619, allocations: 27.27 kB / 0.7005 GB, free: 46.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02262/0.7845, allocations: 12.19 MB / 0.7124 GB, free: 38.28 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/0.7846, allocations: 4.547 kB / 0.7124 GB, free: 38.28 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01443/0.799, allocations: 5.138 MB / 0.7174 GB, free: 35.61 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00058/0.7996, allocations: 236.2 kB / 0.7177 GB, free: 35.41 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003622/0.8, allocations: 23.84 kB / 0.7177 GB, free: 35.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001368/0.8014, allocations: 114.3 kB / 0.7178 GB, free: 35.35 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005809/0.802, allocations: 177.2 kB / 0.718 GB, free: 35.24 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/0.8021, allocations: 30.81 kB / 0.718 GB, free: 35.23 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001192/0.8033, allocations: 0.7337 MB / 0.7187 GB, free: 34.82 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.062e-06/0.8033, allocations: 0 / 0.7187 GB, free: 34.82 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002332/0.8057, allocations: 0.4888 MB / 0.7192 GB, free: 34.75 MB / 494.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.0003454/0.806, allocations: 148.3 kB / 0.7193 GB, free: 34.63 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006933/0.813, allocations: 2.759 MB / 0.722 GB, free: 31.83 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.813, allocations: 2.297 kB / 0.722 GB, free: 31.83 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004207/0.8172, allocations: 1.387 MB / 0.7234 GB, free: 30.41 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002956/0.8202, allocations: 0.6006 MB / 0.724 GB, free: 29.79 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005596/0.8258, allocations: 2.41 MB / 0.7263 GB, free: 27.39 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001067/0.8269, allocations: 1.16 MB / 0.7274 GB, free: 26.2 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005782/0.8275, allocations: 116.9 kB / 0.7276 GB, free: 26.08 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003713/0.8279, allocations: 87.42 kB / 0.7276 GB, free: 25.99 MB / 494.1 MB Notification: Performance of SimCode: time 1.483e-06/0.8279, allocations: 0 / 0.7276 GB, free: 25.99 MB / 494.1 MB Notification: Performance of Templates: time 0.03723/0.8652, allocations: 24.72 MB / 0.7518 GB, free: 1.352 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:621: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:551: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:621: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:551: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:621: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:551: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:621: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:551: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:625: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:551: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:625: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:551: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:625: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:551: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:625: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:551: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:627: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:551: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:627: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:551: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:627: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:551: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:627: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:551: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