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.04996/0.04996, allocations: 9.517 MB / 29.08 MB, free: 6.047 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/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.0009096/0.0009096, allocations: 91.28 kB / 35.21 MB, free: 0.5977 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.8847/0.8847, allocations: 158.6 MB / 199.9 MB, free: 7.168 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.001167/0.001167, allocations: 172.4 kB / 255.2 MB, free: 15.75 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.1999/0.1999, allocations: 59.7 MB / 370.1 MB, free: 12.49 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.522e-06/1.522e-06, allocations: 0 / 460 MB, free: 37.86 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.309e-05/1.461e-05, allocations: 4.328 kB / 460 MB, free: 37.86 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous): time 0.004584/0.004599, allocations: 6.502 MB / 466.5 MB, free: 33.63 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003162/0.007761, allocations: 1.952 MB / 468.4 MB, free: 32.3 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004453/0.008207, allocations: 15.66 kB / 468.4 MB, free: 32.3 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005521/0.008759, allocations: 251.6 kB / 468.7 MB, free: 32.16 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001339/0.0101, allocations: 0.8521 MB / 469.5 MB, free: 31.61 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.0009958/0.01109, allocations: 0.6684 MB / 470.2 MB, free: 31.28 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001157/0.01225, allocations: 1.611 MB / 471.8 MB, free: 30.46 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002992/0.01255, allocations: 224.4 kB / 472 MB, free: 30.35 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007819/0.01333, allocations: 0.918 MB / 473 MB, free: 29.93 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006743/0.01401, allocations: 0.68 MB / 473.6 MB, free: 29.7 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001899/0.0142, allocations: 124.6 kB / 473.8 MB, free: 29.7 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003941/0.01459, allocations: 249.5 kB / 474 MB, free: 29.67 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002181/0.01481, allocations: 345.9 kB / 474.3 MB, free: 29.44 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003562/0.01516, allocations: 465.7 kB / 474.8 MB, free: 29.21 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001023/0.01619, allocations: 1.231 MB / 476 MB, free: 28.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.01619, allocations: 9.125 kB / 476 MB, free: 28.56 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.01619, allocations: 0 / 476 MB, free: 28.56 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.176e-05/0.0162, allocations: 0 / 476 MB, free: 28.56 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.00472/0.02092, allocations: 2.91 MB / 478.9 MB, free: 27.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.02096, allocations: 11.11 kB / 479 MB, free: 27.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002733/0.02369, allocations: 0.9236 MB / 479.9 MB, free: 26.97 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009389/0.02463, allocations: 0.825 MB / 480.7 MB, free: 26.44 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001741/0.02481, allocations: 337.5 kB / 481 MB, free: 26.12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001376/0.02494, allocations: 86.66 kB / 481.1 MB, free: 26.09 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001418/0.02636, allocations: 0.9922 MB / 482.1 MB, free: 25.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.02638, allocations: 5.031 kB / 482.1 MB, free: 25.72 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.651e-05/0.02646, allocations: 39.28 kB / 482.2 MB, free: 25.69 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.055e-05/0.02648, allocations: 19.34 kB / 482.2 MB, free: 25.69 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000839/0.02731, allocations: 0.4935 MB / 482.7 MB, free: 25.59 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.00308/0.03039, allocations: 2.675 MB / 485.3 MB, free: 23.8 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002555/0.03295, allocations: 1.359 MB / 486.7 MB, free: 22.92 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004381/0.03339, allocations: 413.2 kB / 487.1 MB, free: 22.5 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.137e-05/0.03347, allocations: 28.62 kB / 487.1 MB, free: 22.47 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004642/0.03393, allocations: 0.497 MB / 487.6 MB, free: 21.94 MB / 362.7 MB Notification: Performance of pre-optimization done (n=115): time 2.434e-06/0.03394, allocations: 0 / 487.6 MB, free: 21.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=115): time 0.01093/0.04486, allocations: 5.081 MB / 492.7 MB, free: 16.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.082e-05/0.04495, allocations: 195.7 kB / 492.9 MB, free: 16.59 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006744/0.04562, allocations: 0.9881 MB / 493.9 MB, free: 15.59 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.72e-05/0.04569, allocations: 49.7 kB / 493.9 MB, free: 15.53 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000215/0.0459, allocations: 0.5319 MB / 494.5 MB, free: 14.99 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001563/0.04606, allocations: 341.3 kB / 494.8 MB, free: 14.66 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002758/0.04633, allocations: 277.1 kB / 495.1 MB, free: 14.38 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.232e-05/0.04641, allocations: 0.5316 MB / 495.6 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004784/0.04688, allocations: 415.2 kB / 496 MB, free: 13.42 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005419/0.04743, allocations: 0.6436 MB / 496.7 MB, free: 12.7 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.0202/0.06762, allocations: 3.386 MB / 0.4883 GB, free: 9.164 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/0.06763, allocations: 3.438 kB / 0.4883 GB, free: 9.164 MB / 362.7 MB Notification: Performance of matching and sorting (n=179) (initialization): time 0.004812/0.07244, allocations: 2.964 MB / 0.4912 GB, free: 6.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.081e-05/0.07247, allocations: 59.41 kB / 0.4913 GB, free: 6.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.07248, allocations: 7.938 kB / 0.4913 GB, free: 6.082 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003903/0.07638, allocations: 1.538 MB / 0.4928 GB, free: 4.539 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005498/0.07693, allocations: 251.6 kB / 0.493 GB, free: 4.293 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005748/0.08268, allocations: 4.351 MB / 0.4973 GB, free: 15.81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007415/0.08342, allocations: 159.2 kB / 0.4974 GB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.6e-05/0.0835, allocations: 51.97 kB / 0.4975 GB, free: 15.61 MB / 378.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.0004558/0.08396, allocations: 270.7 kB / 0.4977 GB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000966/0.08492, allocations: 0.5579 MB / 0.4983 GB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005348/0.09027, allocations: 2.768 MB / 0.501 GB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.779e-06/0.09028, allocations: 15.98 kB / 0.501 GB, free: 11.94 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.09029, allocations: 8 kB / 0.501 GB, free: 11.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.357e-06/0.0903, allocations: 3.984 kB / 0.501 GB, free: 11.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006536/0.09683, allocations: 3.798 MB / 0.5047 GB, free: 8.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.09684, allocations: 3.984 kB / 0.5047 GB, free: 8.066 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002808/0.09712, allocations: 107.8 kB / 0.5048 GB, free: 7.961 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004635/0.1018, allocations: 1.832 MB / 0.5066 GB, free: 6.117 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.716e-05/0.1018, allocations: 28.61 kB / 0.5066 GB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008846/0.1107, allocations: 9.042 MB / 0.5155 GB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.1107, allocations: 4 kB / 0.5155 GB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005938/0.1166, allocations: 3.33 MB / 0.5187 GB, free: 9.281 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005406/0.1171, allocations: 162.8 kB / 0.5189 GB, free: 9.121 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001209/0.1173, allocations: 28 kB / 0.5189 GB, free: 9.094 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004886/0.1178, allocations: 83.92 kB / 0.519 GB, free: 9.012 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003123/0.1181, allocations: 172.7 kB / 0.5191 GB, free: 8.844 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.595e-05/0.1181, allocations: 32 kB / 0.5192 GB, free: 8.812 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005524/0.1187, allocations: 0.6176 MB / 0.5198 GB, free: 8.188 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1187, allocations: 0 / 0.5198 GB, free: 8.188 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001/0.1197, allocations: 475.6 kB / 0.5202 GB, free: 7.723 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.0002197/0.1199, allocations: 140.2 kB / 0.5204 GB, free: 7.578 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002454/0.1224, allocations: 1.795 MB / 0.5221 GB, free: 5.719 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1224, allocations: 0 / 0.5221 GB, free: 5.719 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001558/0.1239, allocations: 1.073 MB / 0.5232 GB, free: 4.602 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009927/0.1249, allocations: 0.6638 MB / 0.5238 GB, free: 3.906 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003083/0.128, allocations: 2.152 MB / 0.5259 GB, free: 1.699 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001768/0.1282, allocations: 270.3 kB / 0.5262 GB, free: 1.406 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00021/0.1284, allocations: 108.3 kB / 0.5263 GB, free: 1.297 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001836/0.1286, allocations: 84.47 kB / 0.5264 GB, free: 1.215 MB / 394.7 MB Notification: Performance of SimCode: time 5.81e-07/0.1286, allocations: 0 / 0.5264 GB, free: 1.215 MB / 394.7 MB Notification: Performance of Templates: time 0.02681/0.1554, allocations: 26.42 MB / 0.5522 GB, free: 6.906 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 -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 -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 -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 -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 -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.5513520957902074]