Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09171/0.09171, allocations: 12.78 MB / 31.61 MB, free: 6.191 MB / 26.18 MB
"
[Timeout remaining time 180]
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.001313/0.001313, allocations: 111.9 kB / 37.74 MB, free: 0.7773 MB / 26.18 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.55/1.55, allocations: 207.6 MB / 251.4 MB, free: 2.758 MB / 190.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.00192/0.00192, allocations: 192.4 kB / 306.7 MB, free: 11.27 MB / 254.1 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.5362/0.5362, allocations: 79.72 MB / 441.6 MB, free: 11.27 MB / 302.1 MB
"
[Timeout remaining time 179]
Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo)
Running command: translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous")
translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous") [Timeout 660]
"Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.2856/0.2856, allocations: 139.9 kB / 0.5889 GB, free: 51.25 MB / 446.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.4301, allocations: 72.03 MB / 0.6592 GB, free: 11.58 MB / 446.1 MB
Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous): time 0.005875/0.4359, allocations: 6.87 MB / 0.666 GB, free: 4.672 MB / 446.1 MB
Notification: Performance of NFInst.instExpressions: time 0.003879/0.4398, allocations: 2.014 MB / 0.6679 GB, free: 2.648 MB / 446.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0007367/0.4406, allocations: 12 kB / 0.6679 GB, free: 2.637 MB / 446.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0007097/0.4413, allocations: 245.9 kB / 0.6682 GB, free: 2.395 MB / 446.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.001834/0.4431, allocations: 0.8672 MB / 0.669 GB, free: 1.531 MB / 446.1 MB
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation order4.xq <> order4.x1q, <> on Real numbers is only allowed inside functions.
Notification: Performance of NFTyping.typeClassSections: time 0.001293/0.4444, allocations: 0.6586 MB / 0.6697 GB, free: 0.875 MB / 446.1 MB
Notification: Performance of NFFlatten.flatten: time 0.001913/0.4463, allocations: 1.635 MB / 0.6713 GB, free: 15.23 MB / 462.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.000516/0.4468, allocations: 242.9 kB / 0.6715 GB, free: 14.98 MB / 462.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.001576/0.4484, allocations: 0.6847 MB / 0.6722 GB, free: 14.3 MB / 462.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.001455/0.4498, allocations: 0.8595 MB / 0.673 GB, free: 13.43 MB / 462.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0002512/0.4501, allocations: 124 kB / 0.6731 GB, free: 13.31 MB / 462.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0008146/0.4509, allocations: 263.9 kB / 0.6734 GB, free: 13.05 MB / 462.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0004405/0.4514, allocations: 338.6 kB / 0.6737 GB, free: 12.72 MB / 462.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0009622/0.4523, allocations: 0.6873 MB / 0.6744 GB, free: 12.03 MB / 462.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.002572/0.4549, allocations: 1.697 MB / 0.676 GB, free: 10.34 MB / 462.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.4549, allocations: 0 / 0.676 GB, free: 10.34 MB / 462.1 MB
Notification: Performance of FrontEnd: time 2.264e-06/0.4549, allocations: 0 / 0.676 GB, free: 10.34 MB / 462.1 MB
Notification: Performance of Transformations before backend: time 1.721e-05/0.4549, allocations: 0 / 0.676 GB, free: 10.34 MB / 462.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 198
 * Number of variables: 198
Notification: Performance of Generate backend data structure: time 0.009699/0.4646, allocations: 2.82 MB / 0.6788 GB, free: 7.461 MB / 462.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/0.4647, allocations: 8.031 kB / 0.6788 GB, free: 7.453 MB / 462.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005403/0.4701, allocations: 0.7913 MB / 0.6795 GB, free: 6.66 MB / 462.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001887/0.472, allocations: 0.8523 MB / 0.6804 GB, free: 5.766 MB / 462.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003185/0.4723, allocations: 260.2 kB / 0.6806 GB, free: 5.477 MB / 462.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001951/0.4725, allocations: 95.95 kB / 0.6807 GB, free: 5.383 MB / 462.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.002982/0.4755, allocations: 1.403 MB / 0.6821 GB, free: 3.961 MB / 462.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/0.4755, allocations: 4 kB / 0.6821 GB, free: 3.957 MB / 462.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001192/0.4756, allocations: 32 kB / 0.6821 GB, free: 3.926 MB / 462.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.152e-05/0.4756, allocations: 20 kB / 0.6821 GB, free: 3.906 MB / 462.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002259/0.4779, allocations: 1.001 MB / 0.6831 GB, free: 2.902 MB / 462.1 MB
Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts.
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006923/0.4848, allocations: 3.627 MB / 0.6867 GB, free: 15.09 MB / 478.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.008052/0.4928, allocations: 2.108 MB / 0.6887 GB, free: 12.95 MB / 478.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001714/0.4946, allocations: 0.7057 MB / 0.6894 GB, free: 12.23 MB / 478.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 9.892e-05/0.4947, allocations: 20.66 kB / 0.6894 GB, free: 12.21 MB / 478.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001636/0.4963, allocations: 0.7587 MB / 0.6902 GB, free: 11.43 MB / 478.1 MB
Notification: Performance of pre-optimization done (n=115): time 2.995e-06/0.4963, allocations: 0 / 0.6902 GB, free: 11.43 MB / 478.1 MB
Notification: Performance of matching and sorting (n=115): time 0.03152/0.5278, allocations: 7.001 MB / 0.697 GB, free: 4.402 MB / 478.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002118/0.528, allocations: 194.8 kB / 0.6972 GB, free: 4.176 MB / 478.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002301/0.5303, allocations: 1.091 MB / 0.6983 GB, free: 3.07 MB / 478.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0003001/0.5306, allocations: 49.7 kB / 0.6983 GB, free: 3.016 MB / 478.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0005337/0.5312, allocations: 489.9 kB / 0.6988 GB, free: 2.531 MB / 478.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0005939/0.5318, allocations: 353.2 kB / 0.6991 GB, free: 2.184 MB / 478.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007476/0.5325, allocations: 303.5 kB / 0.6994 GB, free: 1.883 MB / 478.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001259/0.5326, allocations: 309.1 kB / 0.6997 GB, free: 1.578 MB / 478.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001801/0.5344, allocations: 0.7457 MB / 0.7004 GB, free: 0.832 MB / 478.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.002116/0.5366, allocations: 1.1 MB / 0.7015 GB, free: 15.59 MB / 494.1 MB
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.02502/0.5616, allocations: 5.735 MB / 0.7071 GB, free: 9.703 MB / 494.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-05/0.5616, allocations: 8 kB / 0.7071 GB, free: 9.695 MB / 494.1 MB
Notification: Performance of matching and sorting (n=216) (initialization): time 0.01592/0.5775, allocations: 4.509 MB / 0.7115 GB, free: 5.156 MB / 494.1 MB
Notification: Performance of prepare postOptimizeDAE: time 9.224e-05/0.5776, allocations: 59.41 kB / 0.7116 GB, free: 5.086 MB / 494.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.444e-05/0.5776, allocations: 12 kB / 0.7116 GB, free: 5.074 MB / 494.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.006822/0.5845, allocations: 1.629 MB / 0.7132 GB, free: 3.438 MB / 494.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001478/0.5859, allocations: 307.5 kB / 0.7135 GB, free: 3.137 MB / 494.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02566/0.6116, allocations: 10.28 MB / 0.7235 GB, free: 8.609 MB / 0.4981 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002302/0.6139, allocations: 214.9 kB / 0.7237 GB, free: 8.398 MB / 0.4981 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003551/0.6143, allocations: 75.91 kB / 0.7238 GB, free: 8.324 MB / 0.4981 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.001187/0.6154, allocations: 360.4 kB / 0.7241 GB, free: 7.957 MB / 0.4981 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002514/0.618, allocations: 0.6618 MB / 0.7248 GB, free: 7.281 MB / 0.4981 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01534/0.6333, allocations: 4.114 MB / 0.7288 GB, free: 3.141 MB / 0.4981 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.107e-05/0.6333, allocations: 16 kB / 0.7288 GB, free: 3.125 MB / 0.4981 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.731e-05/0.6334, allocations: 8 kB / 0.7288 GB, free: 3.117 MB / 0.4981 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.288e-05/0.6334, allocations: 7.984 kB / 0.7288 GB, free: 3.109 MB / 0.4981 GB
Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts.
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02315/0.6566, allocations: 5.612 MB / 0.7343 GB, free: 13.4 MB / 0.5137 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.528e-05/0.6566, allocations: 0 / 0.7343 GB, free: 13.4 MB / 0.5137 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001058/0.6576, allocations: 119.8 kB / 0.7344 GB, free: 13.28 MB / 0.5137 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.01008/0.6677, allocations: 1.724 MB / 0.7361 GB, free: 11.55 MB / 0.5137 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003621/0.6681, allocations: 27.98 kB / 0.7361 GB, free: 11.52 MB / 0.5137 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04779/0.7159, allocations: 11.9 MB / 0.7477 GB, free: 15.27 MB / 0.5294 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.7159, allocations: 4.234 kB / 0.7477 GB, free: 15.26 MB / 0.5294 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03233/0.7482, allocations: 5.096 MB / 0.7527 GB, free: 10.12 MB / 0.5294 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0009353/0.7492, allocations: 162.9 kB / 0.7529 GB, free: 9.961 MB / 0.5294 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000384/0.7495, allocations: 31.98 kB / 0.7529 GB, free: 9.93 MB / 0.5294 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002253/0.7518, allocations: 111.8 kB / 0.753 GB, free: 9.82 MB / 0.5294 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009783/0.7528, allocations: 184.7 kB / 0.7532 GB, free: 9.641 MB / 0.5294 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001814/0.7529, allocations: 39.92 kB / 0.7532 GB, free: 9.602 MB / 0.5294 GB
Notification: Performance of sorting global known variables: time 0.002023/0.755, allocations: 0.7278 MB / 0.7539 GB, free: 8.867 MB / 0.5294 GB
Notification: Performance of sort global known variables: time 2.51e-07/0.755, allocations: 0 / 0.7539 GB, free: 8.867 MB / 0.5294 GB
Notification: Performance of remove unused functions: time 0.003164/0.7581, allocations: 495.7 kB / 0.7544 GB, free: 8.383 MB / 0.5294 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.0005247/0.7587, allocations: 152.5 kB / 0.7546 GB, free: 8.223 MB / 0.5294 GB
Notification: Performance of simCode: created initialization part: time 0.0135/0.7722, allocations: 2.625 MB / 0.7571 GB, free: 5.531 MB / 0.5294 GB
Notification: Performance of simCode: created event and clocks part: time 1.436e-05/0.7722, allocations: 4.25 kB / 0.7571 GB, free: 5.527 MB / 0.5294 GB
Notification: Performance of simCode: created simulation system equations: time 0.008274/0.7805, allocations: 1.339 MB / 0.7584 GB, free: 4.164 MB / 0.5294 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004153/0.7846, allocations: 0.582 MB / 0.759 GB, free: 3.555 MB / 0.5294 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008969/0.7936, allocations: 2.41 MB / 0.7614 GB, free: 1.121 MB / 0.5294 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001465/0.795, allocations: 1.16 MB / 0.7625 GB, free: 15.93 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 0.0009157/0.796, allocations: 116.9 kB / 0.7626 GB, free: 15.81 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005314/0.7965, allocations: 83.41 kB / 0.7627 GB, free: 15.73 MB / 0.545 GB
Notification: Performance of SimCode: time 9.92e-07/0.7965, allocations: 0 / 0.7627 GB, free: 15.73 MB / 0.545 GB
Notification: Performance of Templates: time 0.07904/0.8755, allocations: 25.93 MB / 0.788 GB, free: 5.809 MB / 0.5606 GB
"
[Timeout remaining time 659]
make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.makefile [Timeout 660]
make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.makefile clang  -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality     -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.o OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.c
clang  -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality     -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_functions.o OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_functions.c
clang  -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality     -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_records.o OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_records.c
clang  -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality     -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_01exo.o OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_01exo.c
clang  -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality     -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.o OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c
OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c: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_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:551:21: note: 'clockIndex' declared here
  int i,j;const int clockIndex = 1;
                    ^
OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c: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_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:551:21: note: 'clockIndex' declared here
  int i,j;const int clockIndex = 1;
                    ^
OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c: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_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:551:21: note: 'clockIndex' declared here
  int i,j;const int clockIndex = 1;
                    ^
OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c: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_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:551:21: note: 'clockIndex' declared here
  int i,j;const int clockIndex = 1;
                    ^
OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c: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_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:551:21: note: 'clockIndex' declared here
  int i,j;const int clockIndex = 1;
                    ^
OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c: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_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:551:21: note: 'clockIndex' declared here
  int i,j;const int clockIndex = 1;
                    ^
OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c: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_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:551:21: note: 'clockIndex' declared here
  int i,j;const int clockIndex = 1;
                    ^
OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c: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_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:551:21: note: 'clockIndex' declared here
  int i,j;const int clockIndex = 1;
                    ^
OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c: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_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:551:21: note: 'clockIndex' declared here
  int i,j;const int clockIndex = 1;
                    ^
OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c: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_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:551:21: note: 'clockIndex' declared here
  int i,j;const int clockIndex = 1;
                    ^
OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c: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_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:551:21: note: 'clockIndex' declared here
  int i,j;const int clockIndex = 1;
                    ^
OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c: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_2.0.0_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_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.o] Error 1
[Calling os._exit(0), Time elapsed: 4.772391035221517]
Failed to read output from testmodel.py, exit status != 0:
0.8859140733256936 0.901000221 0.442773557
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f55686917b0>