Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.conf.json 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.001443/0.001443, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.371/1.371, allocations: 177.2 MB / 199.4 MB, free: 8.441 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.001647/0.001647, allocations: 166 kB / 256 MB, free: 4.32 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.6119/0.6119, allocations: 80.25 MB / 392.6 MB, free: 29.69 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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) Running command: translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="OpenIPSL_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_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.5553 GB, free: 14.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.485e-05/2.654e-05, allocations: 10.22 kB / 0.5553 GB, free: 14.29 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous): time 0.006813/0.00684, allocations: 6.027 MB / 0.5612 GB, free: 10.23 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004796/0.01164, allocations: 1.979 MB / 0.5631 GB, free: 8.859 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001398/0.01303, allocations: 18.94 kB / 0.5631 GB, free: 8.852 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009042/0.01394, allocations: 243.2 kB / 0.5634 GB, free: 8.719 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003233/0.01717, allocations: 0.8631 MB / 0.5642 GB, free: 8.105 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001727/0.0189, allocations: 0.6687 MB / 0.5649 GB, free: 7.617 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002171/0.02107, allocations: 1.607 MB / 0.5664 GB, free: 6.609 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004648/0.02153, allocations: 235.5 kB / 0.5667 GB, free: 6.457 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001357/0.02289, allocations: 0.9147 MB / 0.5676 GB, free: 5.863 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008878/0.02378, allocations: 0.6713 MB / 0.5682 GB, free: 5.453 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002218/0.024, allocations: 123.4 kB / 0.5683 GB, free: 5.453 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007387/0.02474, allocations: 282.5 kB / 0.5686 GB, free: 5.379 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002676/0.02501, allocations: 338.8 kB / 0.5689 GB, free: 5.098 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005034/0.02551, allocations: 466.9 kB / 0.5694 GB, free: 4.801 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001913/0.02742, allocations: 1.758 MB / 0.5711 GB, free: 3.504 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.02743, allocations: 0 / 0.5711 GB, free: 3.504 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.02743, allocations: 1.25 kB / 0.5711 GB, free: 3.504 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.229e-05/0.02745, allocations: 0 / 0.5711 GB, free: 3.504 MB / 430.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.009996/0.03745, allocations: 2.831 MB / 0.5739 GB, free: 1.707 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/0.0375, allocations: 10 kB / 0.5739 GB, free: 1.707 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00579/0.04329, allocations: 0.797 MB / 0.5746 GB, free: 1.379 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001946/0.04524, allocations: 0.8479 MB / 0.5755 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003046/0.04554, allocations: 338.4 kB / 0.5758 GB, free: 396 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001879/0.04573, allocations: 88.81 kB / 0.5759 GB, free: 364 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003146/0.04888, allocations: 1.432 MB / 0.5773 GB, free: 15.49 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.283e-05/0.0489, allocations: 3.938 kB / 0.5773 GB, free: 15.49 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001152/0.04902, allocations: 39.77 kB / 0.5773 GB, free: 15.46 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.103e-05/0.04904, allocations: 17.94 kB / 0.5773 GB, free: 15.46 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002462/0.0515, allocations: 1.023 MB / 0.5783 GB, free: 14.5 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007484/0.05898, allocations: 2.751 MB / 0.581 GB, free: 11.69 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008518/0.0675, allocations: 2.138 MB / 0.5831 GB, free: 9.512 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001935/0.06944, allocations: 0.728 MB / 0.5838 GB, free: 8.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001142/0.06955, allocations: 12.66 kB / 0.5838 GB, free: 8.758 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001781/0.07133, allocations: 0.7799 MB / 0.5846 GB, free: 7.949 MB / 446.1 MB Notification: Performance of pre-optimization done (n=115): time 3.997e-06/0.07134, allocations: 0 / 0.5846 GB, free: 7.949 MB / 446.1 MB Notification: Performance of matching and sorting (n=115): time 0.03308/0.1044, allocations: 7.151 MB / 0.5916 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002066/0.1046, allocations: 202.7 kB / 0.5918 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002015/0.1066, allocations: 1.07 MB / 0.5928 GB, free: 15.44 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003257/0.107, allocations: 49.7 kB / 0.5929 GB, free: 15.38 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004764/0.1074, allocations: 493.8 kB / 0.5933 GB, free: 14.89 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004586/0.1079, allocations: 337.2 kB / 0.5937 GB, free: 14.56 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005237/0.1084, allocations: 259.5 kB / 0.5939 GB, free: 14.3 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001907/0.1086, allocations: 357.9 kB / 0.5942 GB, free: 13.95 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001724/0.1103, allocations: 0.7608 MB / 0.595 GB, free: 13.17 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001917/0.1123, allocations: 0.9559 MB / 0.5959 GB, free: 12.15 MB / 462.1 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendEquation.mo:2514:7-2514: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:2514:7-2514: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.0629/0.1751, allocations: 6.874 MB / 0.6026 GB, free: 5.145 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.054e-05/0.1752, allocations: 0 / 0.6026 GB, free: 5.145 MB / 462.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.01468/0.1898, allocations: 4.214 MB / 0.6067 GB, free: 0.8906 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001007/0.1899, allocations: 63.39 kB / 0.6068 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.772e-05/0.19, allocations: 4 kB / 0.6068 GB, free: 0.8125 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006094/0.196, allocations: 1.52 MB / 0.6083 GB, free: 15.29 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00139/0.1974, allocations: 247.6 kB / 0.6085 GB, free: 15.05 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02129/0.2187, allocations: 7.964 MB / 0.6163 GB, free: 6.961 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002106/0.2208, allocations: 179.3 kB / 0.6165 GB, free: 6.785 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001251/0.221, allocations: 47.98 kB / 0.6165 GB, free: 6.738 MB / 478.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 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 (147): * Single equations (assignments): 144 * 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.0008278/0.2218, allocations: 318.6 kB / 0.6168 GB, free: 6.414 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001958/0.2237, allocations: 0.6538 MB / 0.6175 GB, free: 5.746 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01531/0.2391, allocations: 4.117 MB / 0.6215 GB, free: 1.598 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.366e-05/0.2391, allocations: 15.98 kB / 0.6215 GB, free: 1.582 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.658e-05/0.2391, allocations: 8 kB / 0.6215 GB, free: 1.574 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.962e-05/0.2391, allocations: 7.969 kB / 0.6215 GB, free: 1.566 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01733/0.2564, allocations: 5.067 MB / 0.6265 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.852e-05/0.2565, allocations: 0 / 0.6265 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000661/0.2571, allocations: 111.8 kB / 0.6266 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006544/0.2637, allocations: 1.72 MB / 0.6283 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001729/0.2638, allocations: 27.98 kB / 0.6283 GB, free: 10.58 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02655/0.2904, allocations: 11.58 MB / 0.6396 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.2904, allocations: 4 kB / 0.6396 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01809/0.3085, allocations: 5.139 MB / 0.6446 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009722/0.3095, allocations: 154.9 kB / 0.6448 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002725/0.3097, allocations: 32.12 kB / 0.6448 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00135/0.3111, allocations: 119.9 kB / 0.6449 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006688/0.3118, allocations: 180.7 kB / 0.6451 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001007/0.3119, allocations: 31.98 kB / 0.6451 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001309/0.3132, allocations: 0.7192 MB / 0.6458 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.3132, allocations: 0 / 0.6458 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001778/0.3149, allocations: 471.7 kB / 0.6463 GB, free: 7.797 MB / 0.4981 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.0003883/0.3153, allocations: 151.1 kB / 0.6464 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007322/0.3227, allocations: 2.427 MB / 0.6488 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/0.3227, allocations: 0 / 0.6488 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004574/0.3272, allocations: 1.35 MB / 0.6501 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002381/0.3296, allocations: 0.5919 MB / 0.6507 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005265/0.3349, allocations: 2.292 MB / 0.6529 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007236/0.3356, allocations: 0.5644 MB / 0.6535 GB, free: 220 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004714/0.3361, allocations: 108.1 kB / 0.6536 GB, free: 108 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003022/0.3364, allocations: 76.48 kB / 0.6536 GB, free: 32 kB / 0.4981 GB Notification: Performance of SimCode: time 1.473e-06/0.3364, allocations: 0 / 0.6536 GB, free: 32 kB / 0.4981 GB Notification: Performance of Templates: time 0.04565/0.382, allocations: 25.3 MB / 0.6783 GB, free: 6.82 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.makefile [Timeout 660] make -j1 -f OpenIPSL_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_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_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.o OpenIPSL_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_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_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_functions.o OpenIPSL_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_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_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_records.o OpenIPSL_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_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_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_01exo.o OpenIPSL_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_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_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.o OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:262: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_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:208:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:262: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_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:208:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:262: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_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:208:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:262: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_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:208:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:266: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_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:208:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:266: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_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:208:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:266: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_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:208:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:266: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_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:208:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:268: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_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:208:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:268: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_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:208:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:268: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_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:208:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:268: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_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:208:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ 12 errors generated. make: *** [: OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.o] Error 1 [Calling os._exit(0), Time elapsed: 4.243067733943462] Failed to read output from testmodel.py, exit status != 0: 0.39152273163199425 0.40650644099999994 0.37598103600000005 Calling exit ...