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.00183/0.00183, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.501/1.501, allocations: 230.6 MB / 252.7 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001772/0.001772, allocations: 219.3 kB / 309.2 MB, free: 2.93 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.604/0.604, allocations: 107.3 MB / 473 MB, free: 4.402 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: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002671/0.002671, allocations: 83.86 kB / 0.6337 GB, free: 4.391 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.455/0.4576, allocations: 80.15 MB / 0.712 GB, free: 4.418 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous): time 0.006636/0.4643, allocations: 6.033 MB / 0.7179 GB, free: 360 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00485/0.4691, allocations: 1.99 MB / 0.7198 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008421/0.47, allocations: 15.34 kB / 0.7199 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00087/0.4708, allocations: 243 kB / 0.7201 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002648/0.4735, allocations: 0.8442 MB / 0.7209 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001754/0.4752, allocations: 0.6594 MB / 0.7216 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002249/0.4775, allocations: 1.632 MB / 0.7232 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004876/0.478, allocations: 224.6 kB / 0.7234 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00114/0.4791, allocations: 0.688 MB / 0.724 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001109/0.4802, allocations: 0.7778 MB / 0.7248 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002029/0.4804, allocations: 127.9 kB / 0.7249 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006456/0.4811, allocations: 274.8 kB / 0.7252 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003795/0.4814, allocations: 337.2 kB / 0.7255 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006175/0.4821, allocations: 0.5564 MB / 0.726 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002302/0.4844, allocations: 1.727 MB / 0.7277 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.4844, allocations: 1.188 kB / 0.7277 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4844, allocations: 0 / 0.7277 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.048e-05/0.4844, allocations: 0 / 0.7277 GB, free: 10.99 MB / 0.4981 GB 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.01068/0.4951, allocations: 2.85 MB / 0.7305 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.4951, allocations: 9.312 kB / 0.7305 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0055/0.5006, allocations: 0.7991 MB / 0.7313 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002111/0.5027, allocations: 0.8552 MB / 0.7321 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004108/0.5031, allocations: 341.8 kB / 0.7325 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002109/0.5034, allocations: 88.33 kB / 0.7326 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003172/0.5065, allocations: 1.43 MB / 0.7339 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.423e-05/0.5066, allocations: 0 / 0.7339 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/0.5067, allocations: 38.81 kB / 0.734 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.59e-05/0.5067, allocations: 18.28 kB / 0.734 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00231/0.509, allocations: 1.017 MB / 0.735 GB, free: 7.168 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 preOpt removeSimpleEquations (simulation): time 0.006758/0.5158, allocations: 2.746 MB / 0.7377 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007541/0.5233, allocations: 2.137 MB / 0.7398 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001868/0.5252, allocations: 0.7266 MB / 0.7405 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001052/0.5253, allocations: 17.97 kB / 0.7405 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001657/0.5269, allocations: 0.7724 MB / 0.7412 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=115): time 3.817e-06/0.5269, allocations: 4.969 kB / 0.7413 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of matching and sorting (n=115): time 0.0304/0.5573, allocations: 7.17 MB / 0.7483 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001918/0.5575, allocations: 196.8 kB / 0.7484 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001976/0.5595, allocations: 1.065 MB / 0.7495 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002271/0.5597, allocations: 55.3 kB / 0.7495 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004651/0.5602, allocations: 494.6 kB / 0.75 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004763/0.5607, allocations: 343.6 kB / 0.7503 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005645/0.5612, allocations: 301.3 kB / 0.7506 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.5614, allocations: 302 kB / 0.7509 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001727/0.5631, allocations: 0.7917 MB / 0.7517 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00204/0.5651, allocations: 1.135 MB / 0.7528 GB, free: 12.37 MB / 0.5137 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendEquation.mo:2528:7-2528:76:writable] Error: Internal error function solveEquation failed Error: Initialization problem is structural singular. Please, check the initial conditions. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendEquation.mo:2528:7-2528:76:writable] Error: Internal error function solveEquation failed Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.06221/0.6274, allocations: 7.171 MB / 0.7598 GB, free: 5.457 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.787e-05/0.6274, allocations: 4 kB / 0.7598 GB, free: 5.453 MB / 0.5137 GB Notification: Performance of matching and sorting (n=209) (initialization): time 0.01503/0.6424, allocations: 4.422 MB / 0.7641 GB, free: 0.9922 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.663e-05/0.6425, allocations: 63.41 kB / 0.7642 GB, free: 0.918 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.174e-05/0.6425, allocations: 12 kB / 0.7642 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00578/0.6483, allocations: 1.525 MB / 0.7657 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001615/0.6499, allocations: 303.5 kB / 0.766 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.021/0.6709, allocations: 7.971 MB / 0.7738 GB, free: 6.996 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002726/0.6737, allocations: 207.1 kB / 0.7739 GB, free: 6.793 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001953/0.6739, allocations: 67.97 kB / 0.774 GB, free: 6.727 MB / 0.5294 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.ExcitationSystem.y = aVRTypeII.ExcitationSystem.y_start aVRTypeII.simpleLagLim.state = aVRTypeII.simpleLagLim.y_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 4 (aVRTypeII.firstOrder2.y,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.simpleLagLim.state,aVRTypeII.derivativeBlock.x) * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(19,12,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001098/0.675, allocations: 336.1 kB / 0.7743 GB, free: 6.383 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002148/0.6771, allocations: 0.6539 MB / 0.775 GB, free: 5.715 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01375/0.6909, allocations: 4.11 MB / 0.779 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.137e-05/0.6909, allocations: 12 kB / 0.779 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.679e-05/0.6909, allocations: 8 kB / 0.779 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.569e-05/0.6909, allocations: 7.969 kB / 0.779 GB, free: 1.555 MB / 0.5294 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.01627/0.7072, allocations: 5.078 MB / 0.784 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-05/0.7072, allocations: 0 / 0.784 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007029/0.7079, allocations: 107.9 kB / 0.7841 GB, free: 12.31 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006307/0.7142, allocations: 1.722 MB / 0.7858 GB, free: 10.58 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001947/0.7144, allocations: 27.98 kB / 0.7858 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02532/0.7397, allocations: 11.59 MB / 0.7971 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.7397, allocations: 3.938 kB / 0.7971 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01646/0.7562, allocations: 5.135 MB / 0.8021 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007419/0.7569, allocations: 162.9 kB / 0.8023 GB, free: 9.289 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000243/0.7572, allocations: 24 kB / 0.8023 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00125/0.7584, allocations: 115.9 kB / 0.8024 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000567/0.759, allocations: 188.6 kB / 0.8026 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.083e-05/0.7591, allocations: 31.98 kB / 0.8026 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001224/0.7603, allocations: 0.7153 MB / 0.8033 GB, free: 8.211 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.7603, allocations: 0 / 0.8033 GB, free: 8.211 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001784/0.7621, allocations: 487.7 kB / 0.8038 GB, free: 7.734 MB / 0.5606 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.0003446/0.7624, allocations: 153.4 kB / 0.8039 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006862/0.7693, allocations: 2.526 MB / 0.8064 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.7693, allocations: 0 / 0.8064 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004248/0.7736, allocations: 1.357 MB / 0.8077 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002191/0.7758, allocations: 0.5869 MB / 0.8083 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00476/0.7805, allocations: 2.398 MB / 0.8106 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006355/0.7811, allocations: 0.5724 MB / 0.8112 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004872/0.7816, allocations: 116.8 kB / 0.8113 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002752/0.7819, allocations: 87.34 kB / 0.8114 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of SimCode: time 1.122e-06/0.7819, allocations: 0 / 0.8114 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of Templates: time 0.04467/0.8266, allocations: 27.09 MB / 0.8379 GB, free: 4.762 MB / 0.5919 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=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:260:46: error: use of undeclared identifier 'baseClockIndex'; did you mean 'clockIndex'? res[0] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[data->simulationInfo->realVarsIndex[16]] /* der(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */))) + (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[12]] /* previous(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[27]] /* aVRTypeII.ExcitationSystem.x_scaled[1] CLOCKED_STATE */); ^~~~~~~~~~~~~~ clockIndex OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:206:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:260:72: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? res[0] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[data->simulationInfo->realVarsIndex[16]] /* der(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */))) + (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[12]] /* previous(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[27]] /* aVRTypeII.ExcitationSystem.x_scaled[1] CLOCKED_STATE */); ^~~~~~~~~~~~~ clockIndex OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:206:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:260:149: error: use of undeclared identifier 'baseClockIndex'; did you mean 'clockIndex'? res[0] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[data->simulationInfo->realVarsIndex[16]] /* der(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */))) + (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[12]] /* previous(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[27]] /* aVRTypeII.ExcitationSystem.x_scaled[1] CLOCKED_STATE */); ^~~~~~~~~~~~~~ clockIndex OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:206:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:260:175: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? res[0] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[data->simulationInfo->realVarsIndex[16]] /* der(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */))) + (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[12]] /* previous(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[27]] /* aVRTypeII.ExcitationSystem.x_scaled[1] CLOCKED_STATE */); ^~~~~~~~~~~~~ clockIndex OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:206:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:264:46: error: use of undeclared identifier 'baseClockIndex'; did you mean 'clockIndex'? res[2] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[data->simulationInfo->realVarsIndex[17]] /* der(aVRTypeII.derivativeBlock.x) variable */))) + (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[13]] /* previous(aVRTypeII.derivativeBlock.x) variable */) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[35]] /* aVRTypeII.derivativeBlock.x CLOCKED_STATE */); ^~~~~~~~~~~~~~ clockIndex OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:206:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:264:72: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? res[2] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[data->simulationInfo->realVarsIndex[17]] /* der(aVRTypeII.derivativeBlock.x) variable */))) + (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[13]] /* previous(aVRTypeII.derivativeBlock.x) variable */) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[35]] /* aVRTypeII.derivativeBlock.x CLOCKED_STATE */); ^~~~~~~~~~~~~ clockIndex OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:206:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:264:149: error: use of undeclared identifier 'baseClockIndex'; did you mean 'clockIndex'? res[2] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[data->simulationInfo->realVarsIndex[17]] /* der(aVRTypeII.derivativeBlock.x) variable */))) + (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[13]] /* previous(aVRTypeII.derivativeBlock.x) variable */) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[35]] /* aVRTypeII.derivativeBlock.x CLOCKED_STATE */); ^~~~~~~~~~~~~~ clockIndex OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:206:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:264:175: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? res[2] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[data->simulationInfo->realVarsIndex[17]] /* der(aVRTypeII.derivativeBlock.x) variable */))) + (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[13]] /* previous(aVRTypeII.derivativeBlock.x) variable */) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[35]] /* aVRTypeII.derivativeBlock.x CLOCKED_STATE */); ^~~~~~~~~~~~~ clockIndex OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:206: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[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:206: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[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:206: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[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:206: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[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:206: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: 4.8570403680205345] Failed to read output from testmodel.py, exit status != 0: 0.8363313041627407 0.850768869 0.36309471600000004 Calling exit ...