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.09051/0.09051, allocations: 12.36 MB / 31.22 MB, free: 6.41 MB / 26.18 MB " [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.00136/0.00136, allocations: 109 kB / 37.25 MB, free: 1.102 MB / 26.18 MB " [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 1.457/1.457, allocations: 207.7 MB / 250.9 MB, free: 7.27 MB / 190.1 MB " [Timeout remaining time 178] 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.001797/0.001797, allocations: 216.3 kB / 306.1 MB, free: 284 kB / 238.1 MB " [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.3373/0.3373, allocations: 79.72 MB / 440.9 MB, free: 12.27 MB / 318.1 MB " [Timeout remaining time 179] 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: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.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.1.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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004641/0.004641, allocations: 147.8 kB / 0.588 GB, free: 6.941 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3813/0.386, allocations: 71.95 MB / 0.6583 GB, free: 2.945 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous): time 0.007254/0.3932, allocations: 6.021 MB / 0.6641 GB, free: 14.88 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004957/0.3982, allocations: 1.908 MB / 0.666 GB, free: 13.55 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000865/0.3991, allocations: 14.81 kB / 0.666 GB, free: 13.55 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008755/0.3999, allocations: 235.3 kB / 0.6662 GB, free: 13.42 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002858/0.4028, allocations: 0.8546 MB / 0.6671 GB, free: 12.86 MB / 462.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.001988/0.4048, allocations: 0.6612 MB / 0.6677 GB, free: 12.52 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002892/0.4077, allocations: 1.638 MB / 0.6693 GB, free: 11.72 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00049/0.4082, allocations: 228.7 kB / 0.6695 GB, free: 11.59 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001328/0.4095, allocations: 0.6825 MB / 0.6702 GB, free: 11.27 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001173/0.4107, allocations: 0.7787 MB / 0.671 GB, free: 10.94 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002417/0.4109, allocations: 128.5 kB / 0.6711 GB, free: 10.93 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006405/0.4115, allocations: 247.8 kB / 0.6713 GB, free: 10.9 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004046/0.412, allocations: 339 kB / 0.6717 GB, free: 10.65 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006571/0.4126, allocations: 0.5602 MB / 0.6722 GB, free: 10.25 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002519/0.4151, allocations: 1.714 MB / 0.6739 GB, free: 8.969 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4151, allocations: 5.156 kB / 0.6739 GB, free: 8.965 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.4151, allocations: 0 / 0.6739 GB, free: 8.965 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.657e-05/0.4152, allocations: 0 / 0.6739 GB, free: 8.965 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.009897/0.4251, allocations: 2.821 MB / 0.6766 GB, free: 7.188 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.4251, allocations: 12.81 kB / 0.6766 GB, free: 7.184 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005148/0.4303, allocations: 0.7831 MB / 0.6774 GB, free: 6.859 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001958/0.4322, allocations: 0.8475 MB / 0.6782 GB, free: 6.188 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003948/0.4326, allocations: 346.8 kB / 0.6786 GB, free: 5.855 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000189/0.4328, allocations: 88.58 kB / 0.6787 GB, free: 5.824 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003053/0.4358, allocations: 1.433 MB / 0.6801 GB, free: 4.973 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.304e-05/0.4359, allocations: 0 / 0.6801 GB, free: 4.973 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/0.436, allocations: 30.72 kB / 0.6801 GB, free: 4.949 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.808e-05/0.436, allocations: 24.5 kB / 0.6801 GB, free: 4.945 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002203/0.4382, allocations: 1.025 MB / 0.6811 GB, free: 4.43 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.006339/0.4445, allocations: 2.71 MB / 0.6838 GB, free: 2.461 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00775/0.4523, allocations: 2.143 MB / 0.6858 GB, free: 1.441 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00168/0.454, allocations: 0.7207 MB / 0.6865 GB, free: 1.047 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.987e-05/0.4541, allocations: 13.88 kB / 0.6866 GB, free: 1.047 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00167/0.4557, allocations: 0.7809 MB / 0.6873 GB, free: 0.5469 MB / 462.1 MB Notification: Performance of pre-optimization done (n=115): time 4.588e-06/0.4557, allocations: 0 / 0.6873 GB, free: 0.5469 MB / 462.1 MB Notification: Performance of matching and sorting (n=115): time 0.03077/0.4865, allocations: 7.051 MB / 0.6942 GB, free: 13.03 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002158/0.4867, allocations: 199.2 kB / 0.6944 GB, free: 12.82 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002012/0.4887, allocations: 1.066 MB / 0.6954 GB, free: 11.98 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000268/0.489, allocations: 49.7 kB / 0.6955 GB, free: 11.93 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004755/0.4895, allocations: 497.8 kB / 0.696 GB, free: 11.44 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004627/0.4899, allocations: 357.1 kB / 0.6963 GB, free: 11.09 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005604/0.4905, allocations: 291.5 kB / 0.6966 GB, free: 10.8 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.4906, allocations: 301.1 kB / 0.6969 GB, free: 10.5 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001787/0.4924, allocations: 0.792 MB / 0.6976 GB, free: 9.695 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002126/0.4946, allocations: 1.142 MB / 0.6988 GB, free: 8.41 MB / 478.1 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendEquation.mo:2528:7-2528: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:2528:7-2528: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.06234/0.5569, allocations: 6.951 MB / 0.7055 GB, free: 1.242 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-05/0.5569, allocations: 0 / 0.7055 GB, free: 1.242 MB / 478.1 MB Notification: Performance of matching and sorting (n=209) (initialization): time 0.01449/0.5714, allocations: 4.433 MB / 0.7099 GB, free: 12.77 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.586e-05/0.5715, allocations: 66.84 kB / 0.7099 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.254e-05/0.5715, allocations: 8 kB / 0.7099 GB, free: 12.69 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005853/0.5774, allocations: 1.527 MB / 0.7114 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001398/0.5788, allocations: 307.5 kB / 0.7117 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02086/0.5996, allocations: 7.96 MB / 0.7195 GB, free: 2.777 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002073/0.6017, allocations: 199.2 kB / 0.7197 GB, free: 2.582 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001304/0.6018, allocations: 67.92 kB / 0.7198 GB, free: 2.516 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.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: 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): 176 * 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 {(19,12,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007008/0.6025, allocations: 335.5 kB / 0.7201 GB, free: 2.172 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001982/0.6045, allocations: 0.6656 MB / 0.7207 GB, free: 1.492 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01468/0.6192, allocations: 4.105 MB / 0.7247 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.119e-05/0.6192, allocations: 16 kB / 0.7248 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.953e-05/0.6192, allocations: 11.98 kB / 0.7248 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-05/0.6193, allocations: 3.984 kB / 0.7248 GB, free: 13.33 MB / 0.4981 GB 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.01737/0.6366, allocations: 5.069 MB / 0.7297 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.897e-06/0.6366, allocations: 3.938 kB / 0.7297 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006004/0.6372, allocations: 107.8 kB / 0.7298 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006503/0.6437, allocations: 1.72 MB / 0.7315 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001592/0.6439, allocations: 27.94 kB / 0.7315 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0258/0.6697, allocations: 11.59 MB / 0.7428 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.6697, allocations: 0 / 0.7428 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01723/0.6869, allocations: 5.147 MB / 0.7479 GB, free: 5.227 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005934/0.6875, allocations: 162.8 kB / 0.748 GB, free: 5.066 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003799/0.6879, allocations: 24 kB / 0.7481 GB, free: 5.043 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001414/0.6893, allocations: 119.9 kB / 0.7482 GB, free: 4.926 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005773/0.6899, allocations: 192.5 kB / 0.7483 GB, free: 4.738 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001204/0.69, allocations: 35.98 kB / 0.7484 GB, free: 4.703 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001275/0.6913, allocations: 0.7114 MB / 0.7491 GB, free: 3.984 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6913, allocations: 0 / 0.7491 GB, free: 3.984 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001866/0.6932, allocations: 495.7 kB / 0.7496 GB, free: 3.5 MB / 0.5137 GB 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.0003115/0.6935, allocations: 143.2 kB / 0.7497 GB, free: 3.352 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006872/0.7003, allocations: 2.522 MB / 0.7522 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.7004, allocations: 0 / 0.7522 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004401/0.7048, allocations: 1.361 MB / 0.7535 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002331/0.7071, allocations: 0.5889 MB / 0.7541 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005146/0.7122, allocations: 2.417 MB / 0.7564 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007164/0.7129, allocations: 0.5647 MB / 0.757 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000492/0.7134, allocations: 120.8 kB / 0.7571 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003155/0.7138, allocations: 83.41 kB / 0.7572 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of SimCode: time 1.243e-06/0.7138, allocations: 0 / 0.7572 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of Templates: time 0.04587/0.7596, allocations: 27.03 MB / 0.7836 GB, free: 0.5 MB / 0.545 GB " [Timeout remaining time 659] 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 -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=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 -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=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 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=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 -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=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 -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=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:260: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[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:206: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:260: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[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:206: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:260: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[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:206: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:260: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[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:206: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:264: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[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:206: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:264: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[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:206: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:264: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[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:206: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:264: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[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:206: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:266: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[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:206: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:266: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[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:206: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:266: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[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:206: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:266: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[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:206: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 [Calling os._exit(0), Time elapsed: 4.429867587983608] Failed to read output from testmodel.py, exit status != 0: 0.7690602410584688 0.783525444 0.365159579 Calling exit ...