Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.00126/0.00126, allocations: 80.36 kB / 19.18 MB, free: 2.527 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.295/1.295, allocations: 177.1 MB / 199.4 MB, free: 8.453 MB / 190.1 MB " [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.001572/0.001572, allocations: 162.8 kB / 256 MB, free: 4.32 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.5284/0.5284, allocations: 80.35 MB / 392.7 MB, free: 29.65 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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_dev_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_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.5555 GB, free: 14.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.046e-05/2.185e-05, allocations: 6.469 kB / 0.5555 GB, free: 14.15 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous): time 0.005724/0.005746, allocations: 6.033 MB / 0.5614 GB, free: 10.08 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00376/0.009506, allocations: 1.981 MB / 0.5633 GB, free: 8.711 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007196/0.01023, allocations: 10.34 kB / 0.5633 GB, free: 8.711 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006906/0.01092, allocations: 244.6 kB / 0.5635 GB, free: 8.578 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001989/0.01291, allocations: 0.8751 MB / 0.5644 GB, free: 7.992 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001313/0.01422, allocations: 0.6587 MB / 0.565 GB, free: 7.512 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001518/0.01574, allocations: 1.617 MB / 0.5666 GB, free: 6.492 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000386/0.01612, allocations: 224.1 kB / 0.5668 GB, free: 6.352 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001062/0.01718, allocations: 0.9218 MB / 0.5677 GB, free: 5.75 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008284/0.01801, allocations: 0.6799 MB / 0.5684 GB, free: 5.332 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002387/0.01825, allocations: 123.2 kB / 0.5685 GB, free: 5.332 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006362/0.01889, allocations: 266.4 kB / 0.5688 GB, free: 5.273 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000269/0.01916, allocations: 342.5 kB / 0.5691 GB, free: 4.988 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004662/0.01962, allocations: 467.3 kB / 0.5695 GB, free: 4.691 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001765/0.02139, allocations: 1.755 MB / 0.5713 GB, free: 3.398 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.02139, allocations: 3.938 kB / 0.5713 GB, free: 3.395 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.0214, allocations: 4 kB / 0.5713 GB, free: 3.391 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.251e-05/0.02142, allocations: 0 / 0.5713 GB, free: 3.391 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.009556/0.03097, allocations: 2.828 MB / 0.574 GB, free: 1.598 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.03102, allocations: 9.406 kB / 0.574 GB, free: 1.598 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005111/0.03613, allocations: 0.7975 MB / 0.5748 GB, free: 1.27 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001475/0.03761, allocations: 0.8484 MB / 0.5756 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002589/0.03787, allocations: 342.2 kB / 0.576 GB, free: 280 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001613/0.03803, allocations: 89.25 kB / 0.5761 GB, free: 248 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002758/0.04079, allocations: 1.431 MB / 0.5774 GB, free: 15.38 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/0.04081, allocations: 0 / 0.5774 GB, free: 15.38 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/0.04091, allocations: 35.66 kB / 0.5775 GB, free: 15.36 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.017e-05/0.04093, allocations: 26.33 kB / 0.5775 GB, free: 15.35 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002181/0.04312, allocations: 1.018 MB / 0.5785 GB, free: 14.4 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.006131/0.04925, allocations: 2.759 MB / 0.5812 GB, free: 11.57 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007892/0.05714, allocations: 2.131 MB / 0.5833 GB, free: 9.402 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001695/0.05883, allocations: 0.7252 MB / 0.584 GB, free: 8.66 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001037/0.05894, allocations: 24.64 kB / 0.584 GB, free: 8.637 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001597/0.06053, allocations: 0.7682 MB / 0.5848 GB, free: 7.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=115): time 3.717e-06/0.06054, allocations: 0 / 0.5848 GB, free: 7.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=115): time 0.03094/0.09148, allocations: 7.151 MB / 0.5917 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001819/0.09166, allocations: 194.8 kB / 0.5919 GB, free: 432 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00178/0.09344, allocations: 1.074 MB / 0.593 GB, free: 15.33 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001683/0.09361, allocations: 49.7 kB / 0.593 GB, free: 15.27 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004284/0.09404, allocations: 497.8 kB / 0.5935 GB, free: 14.78 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003655/0.0944, allocations: 333.2 kB / 0.5938 GB, free: 14.45 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004772/0.09488, allocations: 259.5 kB / 0.5941 GB, free: 14.19 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001892/0.09507, allocations: 353.9 kB / 0.5944 GB, free: 13.84 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001657/0.09672, allocations: 0.7684 MB / 0.5952 GB, free: 13.06 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001809/0.09853, allocations: 0.9442 MB / 0.5961 GB, free: 12.05 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.06243/0.161, allocations: 6.886 MB / 0.6028 GB, free: 5.031 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.093e-05/0.161, allocations: 4 kB / 0.6028 GB, free: 5.027 MB / 462.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.01453/0.1755, allocations: 4.21 MB / 0.6069 GB, free: 0.7773 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.033e-05/0.1756, allocations: 63.41 kB / 0.607 GB, free: 0.7031 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/0.1756, allocations: 4 kB / 0.607 GB, free: 0.6992 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005948/0.1815, allocations: 1.516 MB / 0.6085 GB, free: 15.18 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/0.1828, allocations: 243.6 kB / 0.6087 GB, free: 14.94 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02093/0.2037, allocations: 7.971 MB / 0.6165 GB, free: 6.852 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001791/0.2055, allocations: 183.3 kB / 0.6167 GB, free: 6.672 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001266/0.2056, allocations: 55.97 kB / 0.6167 GB, free: 6.617 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.0006542/0.2063, allocations: 308.7 kB / 0.617 GB, free: 6.305 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001978/0.2083, allocations: 0.6578 MB / 0.6176 GB, free: 5.633 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01479/0.223, allocations: 4.113 MB / 0.6217 GB, free: 1.492 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.78e-05/0.2231, allocations: 16 kB / 0.6217 GB, free: 1.477 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.364e-05/0.2231, allocations: 8 kB / 0.6217 GB, free: 1.469 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-05/0.2231, allocations: 7.984 kB / 0.6217 GB, free: 1.461 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.0165/0.2396, allocations: 5.067 MB / 0.6266 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.379e-05/0.2396, allocations: 4 kB / 0.6266 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006123/0.2402, allocations: 107.8 kB / 0.6267 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006405/0.2466, allocations: 1.72 MB / 0.6284 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001488/0.2468, allocations: 27.98 kB / 0.6284 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02503/0.2718, allocations: 11.58 MB / 0.6398 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.2718, allocations: 0 / 0.6398 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0166/0.2884, allocations: 5.128 MB / 0.6448 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004601/0.2889, allocations: 166.9 kB / 0.6449 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001989/0.2891, allocations: 20 kB / 0.6449 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001223/0.2903, allocations: 116 kB / 0.6451 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005547/0.2908, allocations: 188.6 kB / 0.6452 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-05/0.2909, allocations: 36.08 kB / 0.6453 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0011/0.292, allocations: 0.7192 MB / 0.646 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.292, allocations: 0 / 0.646 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001395/0.2934, allocations: 475.7 kB / 0.6464 GB, free: 7.688 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.0003077/0.2937, allocations: 149.8 kB / 0.6466 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006508/0.3002, allocations: 2.432 MB / 0.6489 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.3003, allocations: 0 / 0.6489 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004296/0.3045, allocations: 1.345 MB / 0.6503 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001888/0.3064, allocations: 0.5896 MB / 0.6508 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00418/0.3106, allocations: 2.292 MB / 0.6531 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005414/0.3112, allocations: 0.5644 MB / 0.6536 GB, free: 112 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003581/0.3115, allocations: 112.2 kB / 0.6537 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002665/0.3118, allocations: 80.48 kB / 0.6538 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of SimCode: time 7.52e-07/0.3118, allocations: 3.938 kB / 0.6538 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of Templates: time 0.03897/0.3508, allocations: 25.3 MB / 0.6785 GB, free: 6.738 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.makefile [Timeout 660] make -j1 -f OpenIPSL_dev_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_dev_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_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.o OpenIPSL_dev_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_dev_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_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_functions.o OpenIPSL_dev_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_dev_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_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_records.o OpenIPSL_dev_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_dev_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_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_01exo.o OpenIPSL_dev_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_dev_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_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.o OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c OpenIPSL_dev_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_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:208:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_dev_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_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:208:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_dev_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_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:208:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_dev_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_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:208:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_dev_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_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:208:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_dev_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_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:208:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_dev_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_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:208:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_dev_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_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:208:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_dev_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_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:208:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_dev_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_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:208:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_dev_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_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:208:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_dev_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_dev_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_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.o] Error 1 [Calling os._exit(0), Time elapsed: 3.7939347364008427] Failed to read output from testmodel.py, exit status != 0: 0.3583882004022598 0.37213617499999996 0.34794441899999995 Calling exit ...