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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.05725/0.05725, allocations: 9.518 MB / 29.62 MB, free: 324 kB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/WorkInProgress.mo:11:9-20:24:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/WorkInProgress.mo:130:9-144:24:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008266/0.0008266, allocations: 87.52 kB / 35.68 MB, free: 0.8242 MB / 24.77 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/WorkInProgress.mo:11:9-20:24:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/WorkInProgress.mo:130:9-144:24:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8814/0.8814, allocations: 158.6 MB / 200.3 MB, free: 7.164 MB / 186.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/WorkInProgress.mo:11:9-20:24:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/WorkInProgress.mo:130:9-144:24:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 172.4 kB / 255.5 MB, free: 15.82 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/WorkInProgress.mo:11:9-20:24:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/WorkInProgress.mo:130:9-144:24:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2374/0.2374, allocations: 59.71 MB / 370.4 MB, free: 12.58 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/WorkInProgress.mo:11:9-20:24:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/WorkInProgress.mo:130:9-144:24:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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=2000,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=2000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 459.9 MB, free: 38.25 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.325e-05/2.449e-05, allocations: 6.141 kB / 459.9 MB, free: 38.25 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous): time 0.00479/0.004815, allocations: 6.484 MB / 466.4 MB, free: 34.01 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002535/0.00735, allocations: 1.954 MB / 468.3 MB, free: 32.68 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000306/0.007656, allocations: 10.31 kB / 468.3 MB, free: 32.68 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005208/0.008177, allocations: 243.2 kB / 468.6 MB, free: 32.54 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001132/0.009309, allocations: 0.8547 MB / 469.4 MB, free: 31.99 MB / 362.7 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 operands is deprecated in non-function contexts. Notification: Performance of NFTyping.typeClassSections: time 0.0007606/0.01007, allocations: 0.6642 MB / 470.1 MB, free: 31.66 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001034/0.0111, allocations: 1.611 MB / 471.7 MB, free: 30.84 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003233/0.01143, allocations: 226.5 kB / 471.9 MB, free: 30.73 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007069/0.01213, allocations: 0.9155 MB / 472.8 MB, free: 30.31 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006563/0.01279, allocations: 0.6806 MB / 473.5 MB, free: 30.08 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001526/0.01294, allocations: 131.6 kB / 473.6 MB, free: 30.08 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000358/0.0133, allocations: 248.3 kB / 473.9 MB, free: 30.05 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002224/0.01352, allocations: 337.6 kB / 474.2 MB, free: 29.83 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003476/0.01387, allocations: 468.9 kB / 474.7 MB, free: 29.59 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001084/0.01495, allocations: 1.227 MB / 475.9 MB, free: 28.96 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.01496, allocations: 0 / 475.9 MB, free: 28.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.01496, allocations: 3.938 kB / 475.9 MB, free: 28.95 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.19e-05/0.01497, allocations: 3.938 kB / 475.9 MB, free: 28.95 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.005026/0.02, allocations: 2.911 MB / 478.8 MB, free: 27.57 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.02004, allocations: 15.3 kB / 478.8 MB, free: 27.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003165/0.0232, allocations: 0.9165 MB / 479.8 MB, free: 27.36 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009811/0.02418, allocations: 0.8279 MB / 480.6 MB, free: 26.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000161/0.02434, allocations: 334.6 kB / 480.9 MB, free: 26.51 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001251/0.02447, allocations: 85.23 kB / 481 MB, free: 26.48 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001419/0.02589, allocations: 0.9934 MB / 482 MB, free: 26.12 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.02591, allocations: 1.344 kB / 482 MB, free: 26.12 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-05/0.02598, allocations: 38.19 kB / 482 MB, free: 26.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.033e-05/0.026, allocations: 26.09 kB / 482.1 MB, free: 26.08 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008614/0.02686, allocations: 0.4944 MB / 482.5 MB, free: 25.98 MB / 362.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003106/0.02997, allocations: 2.675 MB / 485.2 MB, free: 24.1 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002697/0.03266, allocations: 1.364 MB / 486.6 MB, free: 23.36 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004433/0.03311, allocations: 419.8 kB / 487 MB, free: 22.93 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.323e-05/0.03318, allocations: 24.64 kB / 487 MB, free: 22.91 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004748/0.03366, allocations: 0.4971 MB / 487.5 MB, free: 22.38 MB / 362.7 MB Notification: Performance of pre-optimization done (n=115): time 2.304e-06/0.03366, allocations: 0 / 487.5 MB, free: 22.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=115): time 0.01117/0.04482, allocations: 5.081 MB / 492.6 MB, free: 17.26 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.477e-05/0.0449, allocations: 203.6 kB / 492.8 MB, free: 17.02 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006722/0.04557, allocations: 0.9803 MB / 493.8 MB, free: 16.03 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.922e-05/0.04564, allocations: 49.7 kB / 493.8 MB, free: 15.97 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002039/0.04584, allocations: 0.5396 MB / 494.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001504/0.04599, allocations: 333.2 kB / 494.7 MB, free: 15.1 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002669/0.04626, allocations: 277.1 kB / 495 MB, free: 14.82 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.908e-05/0.04633, allocations: 0.5316 MB / 495.5 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004746/0.0468, allocations: 415.2 kB / 495.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005377/0.04734, allocations: 0.6437 MB / 496.5 MB, free: 13.14 MB / 362.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendEquation.mo:2515:7-2515:76:writable] Error: Internal error function solveEquation failed Error: Initialization problem is structural singular. Please, check the initial conditions. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendEquation.mo:2515:7-2515:76:writable] Error: Internal error function solveEquation failed Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.02068/0.06802, allocations: 3.386 MB / 499.9 MB, free: 9.605 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.06803, allocations: 0 / 499.9 MB, free: 9.605 MB / 362.7 MB Notification: Performance of matching and sorting (n=179) (initialization): time 0.004912/0.07294, allocations: 2.956 MB / 0.4911 GB, free: 6.609 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.45e-05/0.07297, allocations: 67.33 kB / 0.4912 GB, free: 6.531 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.07298, allocations: 8 kB / 0.4912 GB, free: 6.523 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004035/0.07702, allocations: 1.53 MB / 0.4927 GB, free: 4.988 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005705/0.07759, allocations: 247.6 kB / 0.4929 GB, free: 4.746 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00588/0.08347, allocations: 4.37 MB / 0.4972 GB, free: 256 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007728/0.08424, allocations: 151.2 kB / 0.4973 GB, free: 104 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.57e-05/0.08431, allocations: 55.97 kB / 0.4974 GB, free: 48 kB / 362.7 MB Warning: Assuming fixed start value for the following 3 variables: order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order4.delta:VARIABLE(flow=false start = order4.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: aVRTypeII.ExcitationSystem.y = aVRTypeII.ExcitationSystem.y_start aVRTypeII.simpleLagLim.state = aVRTypeII.simpleLagLim.y_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * 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 (149): * Single equations (assignments): 146 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004651/0.08477, allocations: 278.9 kB / 0.4976 GB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001028/0.0858, allocations: 0.554 MB / 0.4982 GB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005384/0.09119, allocations: 2.768 MB / 0.5009 GB, free: 12.4 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.699e-06/0.0912, allocations: 16 kB / 0.5009 GB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.0912, allocations: 8 kB / 0.5009 GB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.457e-06/0.09121, allocations: 11.92 kB / 0.5009 GB, free: 12.37 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006383/0.0976, allocations: 3.794 MB / 0.5046 GB, free: 8.508 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.0976, allocations: 4.031 kB / 0.5046 GB, free: 8.504 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002895/0.09789, allocations: 107.9 kB / 0.5047 GB, free: 8.398 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004775/0.1027, allocations: 1.828 MB / 0.5065 GB, free: 6.559 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-05/0.1027, allocations: 32.61 kB / 0.5065 GB, free: 6.527 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009161/0.1119, allocations: 9.03 MB / 0.5154 GB, free: 13.12 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.1119, allocations: 4 kB / 0.5154 GB, free: 13.12 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006129/0.118, allocations: 3.326 MB / 0.5186 GB, free: 9.727 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003102/0.1183, allocations: 158.8 kB / 0.5188 GB, free: 9.57 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001356/0.1185, allocations: 35.98 kB / 0.5188 GB, free: 9.535 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000498/0.119, allocations: 75.94 kB / 0.5189 GB, free: 9.461 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003578/0.1193, allocations: 172.7 kB / 0.519 GB, free: 9.293 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.509e-05/0.1194, allocations: 31.98 kB / 0.5191 GB, free: 9.262 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006059/0.12, allocations: 0.6215 MB / 0.5197 GB, free: 8.633 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.12, allocations: 3.938 kB / 0.5197 GB, free: 8.629 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001196/0.1212, allocations: 475.6 kB / 0.5201 GB, free: 8.164 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 4 (aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002498/0.1214, allocations: 143 kB / 0.5203 GB, free: 8.02 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002718/0.1242, allocations: 1.792 MB / 0.522 GB, free: 6.164 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1242, allocations: 0 / 0.522 GB, free: 6.164 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001596/0.1258, allocations: 1.08 MB / 0.5231 GB, free: 5.039 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.1268, allocations: 0.6673 MB / 0.5237 GB, free: 4.34 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003356/0.1301, allocations: 2.151 MB / 0.5258 GB, free: 2.133 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000217/0.1304, allocations: 270.3 kB / 0.5261 GB, free: 1.84 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002466/0.1306, allocations: 112.3 kB / 0.5262 GB, free: 1.727 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001757/0.1308, allocations: 80.48 kB / 0.5263 GB, free: 1.648 MB / 394.7 MB Notification: Performance of SimCode: time 1.072e-06/0.1308, allocations: 0 / 0.5263 GB, free: 1.648 MB / 394.7 MB Notification: Performance of Templates: time 0.02804/0.1588, allocations: 26.41 MB / 0.5521 GB, free: 7.344 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.makefile [Timeout 660] make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -DOM_HAVE_PTHREADS -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=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -DOMC_RUST_SIMULATION_RUNTIME -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 -DOM_HAVE_PTHREADS -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=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -DOMC_RUST_SIMULATION_RUNTIME -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 OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_functions.c:39:11: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 39 | if((_y0 == 0.0)) | ~~~~^~~~~~ OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_functions.c:39:11: note: remove extraneous parentheses around the comparison to silence this warning 39 | if((_y0 == 0.0)) | ~ ^ ~ OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_functions.c:39:11: note: use '=' to turn this equality comparison into an assignment 39 | if((_y0 == 0.0)) | ^~ | = 1 warning generated. clang -Os -DOM_HAVE_PTHREADS -fPIC -DOM_HAVE_PTHREADS -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=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -DOMC_RUST_SIMULATION_RUNTIME -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 -DOM_HAVE_PTHREADS -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=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -DOMC_RUST_SIMULATION_RUNTIME -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 -DOM_HAVE_PTHREADS -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=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -DOMC_RUST_SIMULATION_RUNTIME -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:262:46: error: use of undeclared identifier 'baseClockIndex' 262 | 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[data->simulationInfo->realVarsIndex[16]] /* der(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */))) + ((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[12]] /* previous(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[27]] /* aVRTypeII.ExcitationSystem.x_scaled[1] CLOCKED_STATE */)); | ^~~~~~~~~~~~~~ OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:262:72: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? 262 | 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[data->simulationInfo->realVarsIndex[16]] /* der(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */))) + ((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[12]] /* previous(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[27]] /* aVRTypeII.ExcitationSystem.x_scaled[1] CLOCKED_STATE */)); | ^~~~~~~~~~~~~ | clockIndex OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:208:21: note: 'clockIndex' declared here 208 | int i,j;const int clockIndex = 1; | ^ OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:262:149: error: use of undeclared identifier 'baseClockIndex' 262 | 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[data->simulationInfo->realVarsIndex[16]] /* der(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */))) + ((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[12]] /* previous(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[27]] /* aVRTypeII.ExcitationSystem.x_scaled[1] CLOCKED_STATE */)); | ^~~~~~~~~~~~~~ OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:262:175: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? 262 | 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[data->simulationInfo->realVarsIndex[16]] /* der(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */))) + ((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[12]] /* previous(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[27]] /* aVRTypeII.ExcitationSystem.x_scaled[1] CLOCKED_STATE */)); | ^~~~~~~~~~~~~ | clockIndex OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:208:21: note: 'clockIndex' declared here 208 | int i,j;const int clockIndex = 1; | ^ OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:266:46: error: use of undeclared identifier 'baseClockIndex' 266 | 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[data->simulationInfo->realVarsIndex[17]] /* der(aVRTypeII.derivativeBlock.x) variable */))) + ((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[13]] /* previous(aVRTypeII.derivativeBlock.x) variable */) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[35]] /* aVRTypeII.derivativeBlock.x CLOCKED_STATE */)); | ^~~~~~~~~~~~~~ OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:266:72: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? 266 | 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[data->simulationInfo->realVarsIndex[17]] /* der(aVRTypeII.derivativeBlock.x) variable */))) + ((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[13]] /* previous(aVRTypeII.derivativeBlock.x) variable */) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[35]] /* aVRTypeII.derivativeBlock.x CLOCKED_STATE */)); | ^~~~~~~~~~~~~ | clockIndex OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:208:21: note: 'clockIndex' declared here 208 | int i,j;const int clockIndex = 1; | ^ OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:266:149: error: use of undeclared identifier 'baseClockIndex' 266 | 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[data->simulationInfo->realVarsIndex[17]] /* der(aVRTypeII.derivativeBlock.x) variable */))) + ((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[13]] /* previous(aVRTypeII.derivativeBlock.x) variable */) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[35]] /* aVRTypeII.derivativeBlock.x CLOCKED_STATE */)); | ^~~~~~~~~~~~~~ OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:266:175: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? 266 | 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[data->simulationInfo->realVarsIndex[17]] /* der(aVRTypeII.derivativeBlock.x) variable */))) + ((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[13]] /* previous(aVRTypeII.derivativeBlock.x) variable */) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[35]] /* aVRTypeII.derivativeBlock.x CLOCKED_STATE */)); | ^~~~~~~~~~~~~ | clockIndex OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:208:21: note: 'clockIndex' declared here 208 | int i,j;const int clockIndex = 1; | ^ OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:268:46: error: use of undeclared identifier 'baseClockIndex' 268 | 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[data->simulationInfo->realVarsIndex[19]] /* der(aVRTypeII.simpleLagLim.state) variable */))) + ((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[15]] /* previous(aVRTypeII.simpleLagLim.state) variable */) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[46]] /* aVRTypeII.simpleLagLim.state CLOCKED_STATE */)); | ^~~~~~~~~~~~~~ OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:268:72: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? 268 | 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[data->simulationInfo->realVarsIndex[19]] /* der(aVRTypeII.simpleLagLim.state) variable */))) + ((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[15]] /* previous(aVRTypeII.simpleLagLim.state) variable */) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[46]] /* aVRTypeII.simpleLagLim.state CLOCKED_STATE */)); | ^~~~~~~~~~~~~ | clockIndex OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:208:21: note: 'clockIndex' declared here 208 | int i,j;const int clockIndex = 1; | ^ OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:268:149: error: use of undeclared identifier 'baseClockIndex' 268 | 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[data->simulationInfo->realVarsIndex[19]] /* der(aVRTypeII.simpleLagLim.state) variable */))) + ((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[15]] /* previous(aVRTypeII.simpleLagLim.state) variable */) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[46]] /* aVRTypeII.simpleLagLim.state CLOCKED_STATE */)); | ^~~~~~~~~~~~~~ OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:268:175: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? 268 | 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[data->simulationInfo->realVarsIndex[19]] /* der(aVRTypeII.simpleLagLim.state) variable */))) + ((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[15]] /* previous(aVRTypeII.simpleLagLim.state) variable */) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[46]] /* aVRTypeII.simpleLagLim.state CLOCKED_STATE */)); | ^~~~~~~~~~~~~ | clockIndex OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:208:21: note: 'clockIndex' declared here 208 | 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 [Calling os._exit(0), Time elapsed: 2.5925498369615525]