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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 113.9 kB / 18.94 MB, free: 2.953 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 225.6 MB / 247.7 MB, free: 13.27 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 196.5 kB / 303.1 MB, free: 8.66 MB / 238.1 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5543/0.5543, allocations: 99.64 MB / 458 MB, free: 3.91 MB / 318.1 MB
"
[Timeout remaining time 179]
Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002497/0.002497, allocations: 83.86 kB / 0.6129 GB, free: 6.59 MB / 414.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1537, allocations: 76.99 MB / 0.6881 GB, free: 9.43 MB / 494.1 MB
Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous): time 0.009092/0.1627, allocations: 6.844 MB / 0.6948 GB, free: 2.551 MB / 494.1 MB
Notification: Performance of NFInst.instExpressions: time 0.004711/0.1675, allocations: 2.048 MB / 0.6968 GB, free: 0.4961 MB / 494.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001003/0.1685, allocations: 15.94 kB / 0.6968 GB, free: 492 kB / 494.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0009877/0.1694, allocations: 237.9 kB / 0.697 GB, free: 252 kB / 494.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.2774/0.4468, allocations: 0.8419 MB / 0.6979 GB, free: 10 MB / 494.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001704/0.4485, allocations: 0.6702 MB / 0.6985 GB, free: 10 MB / 494.1 MB
Notification: Performance of NFFlatten.flatten: time 0.002248/0.4508, allocations: 1.649 MB / 0.7001 GB, free: 9.996 MB / 494.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.00042/0.4512, allocations: 232.7 kB / 0.7004 GB, free: 9.957 MB / 494.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.001016/0.4522, allocations: 0.6822 MB / 0.701 GB, free: 9.84 MB / 494.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0008823/0.4531, allocations: 0.8596 MB / 0.7019 GB, free: 9.676 MB / 494.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001895/0.4533, allocations: 126 kB / 0.702 GB, free: 9.676 MB / 494.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0005614/0.4539, allocations: 260.3 kB / 0.7022 GB, free: 9.672 MB / 494.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0002506/0.4541, allocations: 339.1 kB / 0.7026 GB, free: 9.617 MB / 494.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0005031/0.4546, allocations: 0.6804 MB / 0.7032 GB, free: 9.398 MB / 494.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.002022/0.4566, allocations: 1.695 MB / 0.7049 GB, free: 9.121 MB / 494.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.4566, allocations: 0.5156 kB / 0.7049 GB, free: 9.121 MB / 494.1 MB
Notification: Performance of FrontEnd: time 1.774e-06/0.4566, allocations: 2.438 kB / 0.7049 GB, free: 9.121 MB / 494.1 MB
Notification: Performance of Transformations before backend: time 4.975e-05/0.4567, allocations: 3.938 kB / 0.7049 GB, free: 9.117 MB / 494.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.01036/0.467, allocations: 2.82 MB / 0.7076 GB, free: 8.008 MB / 494.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/0.4671, allocations: 13.39 kB / 0.7076 GB, free: 8.004 MB / 494.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005398/0.4725, allocations: 0.7863 MB / 0.7084 GB, free: 7.848 MB / 494.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.002491/0.475, allocations: 0.8534 MB / 0.7092 GB, free: 7.328 MB / 494.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003206/0.4753, allocations: 262.2 kB / 0.7095 GB, free: 7.105 MB / 494.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002585/0.4756, allocations: 84.83 kB / 0.7096 GB, free: 7.078 MB / 494.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.002938/0.4785, allocations: 1.402 MB / 0.7109 GB, free: 6.535 MB / 494.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.275e-05/0.4785, allocations: 0 / 0.7109 GB, free: 6.535 MB / 494.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.633e-05/0.4786, allocations: 29.97 kB / 0.711 GB, free: 6.512 MB / 494.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/0.4786, allocations: 18.66 kB / 0.711 GB, free: 6.512 MB / 494.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001974/0.4806, allocations: 1 MB / 0.712 GB, free: 6.184 MB / 494.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.007289/0.4879, allocations: 3.673 MB / 0.7156 GB, free: 4.043 MB / 494.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.008183/0.4961, allocations: 2.102 MB / 0.7176 GB, free: 3.574 MB / 494.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001945/0.498, allocations: 0.71 MB / 0.7183 GB, free: 3.293 MB / 494.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.000124/0.4982, allocations: 19.94 kB / 0.7183 GB, free: 3.293 MB / 494.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001973/0.5001, allocations: 0.7491 MB / 0.7191 GB, free: 2.992 MB / 494.1 MB
Notification: Performance of pre-optimization done (n=115): time 4.799e-06/0.5001, allocations: 0 / 0.7191 GB, free: 2.992 MB / 494.1 MB
Notification: Performance of matching and sorting (n=115): time 0.03167/0.5318, allocations: 7.115 MB / 0.726 GB, free: 272 kB / 494.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001549/0.532, allocations: 191.8 kB / 0.7262 GB, free: 64 kB / 494.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002559/0.5345, allocations: 1.105 MB / 0.7273 GB, free: 15.44 MB / 0.4981 GB
Notification: Performance of collectPreVariables (initialization): time 0.000529/0.535, allocations: 47.89 kB / 0.7273 GB, free: 15.39 MB / 0.4981 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0006508/0.5357, allocations: 493.7 kB / 0.7278 GB, free: 14.96 MB / 0.4981 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0008728/0.5366, allocations: 345.8 kB / 0.7281 GB, free: 14.68 MB / 0.4981 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008349/0.5374, allocations: 310.5 kB / 0.7284 GB, free: 14.49 MB / 0.4981 GB
Notification: Performance of setup shared object (initialization): time 0.0001676/0.5376, allocations: 306.1 kB / 0.7287 GB, free: 14.19 MB / 0.4981 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001789/0.5394, allocations: 0.7491 MB / 0.7294 GB, free: 13.82 MB / 0.4981 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.002079/0.5414, allocations: 1.101 MB / 0.7305 GB, free: 13.02 MB / 0.4981 GB
Error: Initialization problem is structural singular. Please, check the initial conditions.
Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet.
Notification: Performance of analyzeInitialSystem (initialization): time 0.02685/0.5683, allocations: 5.727 MB / 0.7361 GB, free: 9.934 MB / 0.4981 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-05/0.5683, allocations: 2.75 kB / 0.7361 GB, free: 9.934 MB / 0.4981 GB
Notification: Performance of matching and sorting (n=216) (initialization): time 0.01715/0.5855, allocations: 4.507 MB / 0.7405 GB, free: 7.676 MB / 0.4981 GB
Notification: Performance of prepare postOptimizeDAE: time 0.0001047/0.5856, allocations: 63.47 kB / 0.7406 GB, free: 7.613 MB / 0.4981 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.983e-05/0.5856, allocations: 9.406 kB / 0.7406 GB, free: 7.613 MB / 0.4981 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.00729/0.5929, allocations: 1.64 MB / 0.7422 GB, free: 6.875 MB / 0.4981 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001621/0.5945, allocations: 302.6 kB / 0.7425 GB, free: 6.684 MB / 0.4981 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02757/0.6221, allocations: 10.28 MB / 0.7525 GB, free: 12.19 MB / 0.5137 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002581/0.6246, allocations: 211 kB / 0.7527 GB, free: 11.98 MB / 0.5137 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004975/0.6251, allocations: 75.91 kB / 0.7528 GB, free: 11.91 MB / 0.5137 GB
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.simpleLagLim.state = aVRTypeII.simpleLagLim.y_start
         order4.delta0 = Modelica.Math.atan3(order4.Vt0.im + (order4.ra * order4.I0.im + order4.xq0 * order4.I0.re) * order4.Z_MBtoSB, order4.Vt0.re + (order4.ra * order4.I0.re - order4.xq0 * order4.I0.im) * order4.Z_MBtoSB, 0.0).
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): 175
 * Array equations: 0
 * Algorithm blocks: 2
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 2
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 1 system
   {(18,13,25.9%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(1,7)}
Notification: Performance of prepare postOptimizeDAE: time 0.001696/0.6268, allocations: 360.4 kB / 0.7531 GB, free: 11.54 MB / 0.5137 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002901/0.6297, allocations: 0.6619 MB / 0.7538 GB, free: 10.87 MB / 0.5137 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01623/0.646, allocations: 4.11 MB / 0.7578 GB, free: 6.73 MB / 0.5137 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.838e-05/0.646, allocations: 19.94 kB / 0.7578 GB, free: 6.711 MB / 0.5137 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.838e-05/0.646, allocations: 8 kB / 0.7578 GB, free: 6.703 MB / 0.5137 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.49e-05/0.6461, allocations: 7.984 kB / 0.7578 GB, free: 6.695 MB / 0.5137 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.01899/0.6651, allocations: 5.623 MB / 0.7633 GB, free: 0.9844 MB / 0.5137 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-05/0.6651, allocations: 0 / 0.7633 GB, free: 0.9844 MB / 0.5137 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007418/0.6658, allocations: 119.8 kB / 0.7634 GB, free: 0.8672 MB / 0.5137 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.007118/0.6729, allocations: 1.717 MB / 0.7651 GB, free: 15.15 MB / 0.5294 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003697/0.6733, allocations: 27.94 kB / 0.7651 GB, free: 15.12 MB / 0.5294 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02857/0.7019, allocations: 11.9 MB / 0.7767 GB, free: 2.895 MB / 0.5294 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.7019, allocations: 4 kB / 0.7767 GB, free: 2.891 MB / 0.5294 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01849/0.7204, allocations: 5.081 MB / 0.7817 GB, free: 13.77 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.000621/0.721, allocations: 170.9 kB / 0.7819 GB, free: 13.6 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005176/0.7215, allocations: 27.94 kB / 0.7819 GB, free: 13.57 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001656/0.7232, allocations: 111.8 kB / 0.782 GB, free: 13.46 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000724/0.7239, allocations: 188.7 kB / 0.7822 GB, free: 13.28 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001909/0.7241, allocations: 32 kB / 0.7822 GB, free: 13.25 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 0.001598/0.7257, allocations: 0.7316 MB / 0.7829 GB, free: 12.51 MB / 0.545 GB
Notification: Performance of sort global known variables: time 1.01e-07/0.7257, allocations: 0 / 0.7829 GB, free: 12.51 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.002377/0.7281, allocations: 499.7 kB / 0.7834 GB, free: 12.02 MB / 0.545 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.0004364/0.7285, allocations: 153.7 kB / 0.7835 GB, free: 11.86 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.008017/0.7365, allocations: 2.618 MB / 0.7861 GB, free: 9.18 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.7365, allocations: 192 / 0.7861 GB, free: 9.18 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 0.00483/0.7413, allocations: 1.328 MB / 0.7874 GB, free: 7.824 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003036/0.7444, allocations: 0.58 MB / 0.788 GB, free: 7.219 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006723/0.7511, allocations: 2.422 MB / 0.7903 GB, free: 4.789 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001487/0.7526, allocations: 1.156 MB / 0.7915 GB, free: 3.602 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 0.0007705/0.7534, allocations: 112.9 kB / 0.7916 GB, free: 3.488 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000431/0.7538, allocations: 79.42 kB / 0.7916 GB, free: 3.41 MB / 0.545 GB
Notification: Performance of SimCode: time 1.443e-06/0.7538, allocations: 0 / 0.7916 GB, free: 3.41 MB / 0.545 GB
Notification: Performance of Templates: time 0.04958/0.8034, allocations: 25.94 MB / 0.817 GB, free: 9.566 MB / 0.5762 GB
"
[Timeout remaining time 659]
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=3 -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=3 -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=3 -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=3 -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=3 -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:621: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:551:21: note: 'clockIndex' declared here
  int i,j;const int clockIndex = 1;
                    ^
OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:621: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:551:21: note: 'clockIndex' declared here
  int i,j;const int clockIndex = 1;
                    ^
OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:621: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:551:21: note: 'clockIndex' declared here
  int i,j;const int clockIndex = 1;
                    ^
OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:621: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:551:21: note: 'clockIndex' declared here
  int i,j;const int clockIndex = 1;
                    ^
OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:625: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:551:21: note: 'clockIndex' declared here
  int i,j;const int clockIndex = 1;
                    ^
OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:625: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:551:21: note: 'clockIndex' declared here
  int i,j;const int clockIndex = 1;
                    ^
OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:625: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:551:21: note: 'clockIndex' declared here
  int i,j;const int clockIndex = 1;
                    ^
OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:625: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:551:21: note: 'clockIndex' declared here
  int i,j;const int clockIndex = 1;
                    ^
OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:627: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:551:21: note: 'clockIndex' declared here
  int i,j;const int clockIndex = 1;
                    ^
OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:627: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:551:21: note: 'clockIndex' declared here
  int i,j;const int clockIndex = 1;
                    ^
OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:627: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:551:21: note: 'clockIndex' declared here
  int i,j;const int clockIndex = 1;
                    ^
OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:627: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:551:21: note: 'clockIndex' declared here
  int i,j;const int clockIndex = 1;
                    ^
12 errors generated.
make: *** [<builtin>: OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.o] Error 1
[Calling os._exit(0), Time elapsed: 4.71249910723418]
Failed to read output from testmodel.py, exit status != 0:
0.8132101055234671 0.830261629 0.37013198599999997
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7effd1c457b0>