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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) 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=4000,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=4000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006568/0.006568, allocations: 100.6 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 222.9 MB / 239.4 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 184.5 kB / 289.7 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5033/0.5033, allocations: 91.9 MB / 431.8 MB, free: 9.141 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 73.67 kB / 0.5727 GB, free: 33.46 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1649, allocations: 71.3 MB / 0.6424 GB, free: 3.535 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous): time 0.008016/0.173, allocations: 6.777 MB / 0.649 GB, free: 12.73 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005018/0.178, allocations: 2.021 MB / 0.651 GB, free: 10.71 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007595/0.1788, allocations: 15.94 kB / 0.651 GB, free: 10.69 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008627/0.1797, allocations: 245.9 kB / 0.6512 GB, free: 10.45 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002114/0.1819, allocations: 0.7957 MB / 0.652 GB, free: 9.652 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001499/0.1834, allocations: 0.6638 MB / 0.6526 GB, free: 8.992 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001556/0.185, allocations: 1.612 MB / 0.6542 GB, free: 7.375 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004759/0.1854, allocations: 338.5 kB / 0.6545 GB, free: 7.035 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006768/0.1861, allocations: 0.6613 MB / 0.6552 GB, free: 6.371 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009479/0.1871, allocations: 0.8439 MB / 0.656 GB, free: 5.523 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001924/0.1873, allocations: 124 kB / 0.6561 GB, free: 5.402 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005316/0.1878, allocations: 263.8 kB / 0.6564 GB, free: 5.145 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002945/0.1881, allocations: 330.6 kB / 0.6567 GB, free: 4.82 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005707/0.1887, allocations: 0.6796 MB / 0.6573 GB, free: 4.137 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001745/0.1905, allocations: 1.696 MB / 0.659 GB, free: 2.434 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1905, allocations: 4 kB / 0.659 GB, free: 2.43 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1905, allocations: 0 / 0.659 GB, free: 2.43 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.215e-05/0.1905, allocations: 0 / 0.659 GB, free: 2.43 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.009321/0.1998, allocations: 2.753 MB / 0.6617 GB, free: 15.61 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.1999, allocations: 8.031 kB / 0.6617 GB, free: 15.6 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005232/0.2051, allocations: 0.7874 MB / 0.6625 GB, free: 14.81 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002061/0.2072, allocations: 0.9205 MB / 0.6634 GB, free: 13.84 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000334/0.2076, allocations: 264.1 kB / 0.6636 GB, free: 13.54 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001724/0.2077, allocations: 84 kB / 0.6637 GB, free: 13.46 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002893/0.2107, allocations: 1.404 MB / 0.6651 GB, free: 12.02 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.193e-05/0.2107, allocations: 4 kB / 0.6651 GB, free: 12.02 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.681e-05/0.2108, allocations: 32 kB / 0.6651 GB, free: 11.99 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.848e-05/0.2108, allocations: 16 kB / 0.6651 GB, free: 11.97 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002179/0.213, allocations: 0.9967 MB / 0.6661 GB, free: 10.98 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007281/0.2203, allocations: 3.705 MB / 0.6697 GB, free: 7.082 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00764/0.228, allocations: 2.574 MB / 0.6722 GB, free: 4.383 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001613/0.2296, allocations: 0.7729 MB / 0.673 GB, free: 3.602 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001139/0.2297, allocations: 16.64 kB / 0.673 GB, free: 3.582 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001595/0.2313, allocations: 0.7587 MB / 0.6737 GB, free: 2.801 MB / 478.1 MB Notification: Performance of pre-optimization done (n=115): time 4.188e-06/0.2314, allocations: 0 / 0.6737 GB, free: 2.801 MB / 478.1 MB Notification: Performance of matching and sorting (n=115): time 0.03041/0.2618, allocations: 7.308 MB / 0.6809 GB, free: 11.43 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002119/0.262, allocations: 194.8 kB / 0.6811 GB, free: 11.2 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002178/0.2642, allocations: 1.091 MB / 0.6821 GB, free: 10.1 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002904/0.2645, allocations: 45.7 kB / 0.6822 GB, free: 10.05 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005065/0.2651, allocations: 489.9 kB / 0.6826 GB, free: 9.562 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005676/0.2656, allocations: 353.2 kB / 0.683 GB, free: 9.215 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007915/0.2664, allocations: 307.5 kB / 0.6833 GB, free: 8.906 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.2666, allocations: 301.1 kB / 0.6836 GB, free: 8.609 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001735/0.2683, allocations: 0.7496 MB / 0.6843 GB, free: 7.859 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001975/0.2703, allocations: 1.092 MB / 0.6853 GB, free: 6.637 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.02396/0.2943, allocations: 5.957 MB / 0.6912 GB, free: 464 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.096e-05/0.2943, allocations: 8 kB / 0.6912 GB, free: 456 kB / 494.1 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.01535/0.3097, allocations: 4.536 MB / 0.6956 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.774e-05/0.3098, allocations: 60.5 kB / 0.6957 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.259e-05/0.3099, allocations: 12 kB / 0.6957 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006438/0.3163, allocations: 1.641 MB / 0.6973 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001414/0.3177, allocations: 299.5 kB / 0.6976 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02415/0.3419, allocations: 10.48 MB / 0.7078 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002084/0.344, allocations: 207 kB / 0.708 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003309/0.3444, allocations: 67.97 kB / 0.7081 GB, free: 14.81 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.001123/0.3455, allocations: 360.8 kB / 0.7084 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002277/0.3478, allocations: 0.6695 MB / 0.7091 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01436/0.3622, allocations: 4.144 MB / 0.7131 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.142e-05/0.3623, allocations: 16 kB / 0.7131 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.864e-05/0.3623, allocations: 4 kB / 0.7131 GB, free: 9.574 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.309e-05/0.3623, allocations: 15.91 kB / 0.7131 GB, free: 9.559 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.01751/0.3798, allocations: 5.691 MB / 0.7187 GB, free: 3.754 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-05/0.3799, allocations: 4 kB / 0.7187 GB, free: 3.75 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000624/0.3805, allocations: 111.9 kB / 0.7188 GB, free: 3.641 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006214/0.3868, allocations: 1.724 MB / 0.7205 GB, free: 1.906 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002118/0.387, allocations: 27.98 kB / 0.7205 GB, free: 1.879 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02521/0.4122, allocations: 12.19 MB / 0.7324 GB, free: 5.262 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.224e-06/0.4123, allocations: 4 kB / 0.7324 GB, free: 5.258 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01772/0.43, allocations: 5.128 MB / 0.7374 GB, free: 92 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007755/0.4309, allocations: 247.9 kB / 0.7377 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005186/0.4314, allocations: 24 kB / 0.7377 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001638/0.4331, allocations: 115.8 kB / 0.7378 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000804/0.4339, allocations: 172.8 kB / 0.738 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001952/0.4341, allocations: 35.98 kB / 0.738 GB, free: 15.48 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001725/0.4358, allocations: 0.7278 MB / 0.7387 GB, free: 14.75 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.81e-07/0.4359, allocations: 0 / 0.7387 GB, free: 14.75 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003036/0.4389, allocations: 499.7 kB / 0.7392 GB, free: 14.26 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.0004811/0.4394, allocations: 143.1 kB / 0.7393 GB, free: 14.11 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007295/0.4467, allocations: 2.777 MB / 0.742 GB, free: 11.27 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.4467, allocations: 0 / 0.742 GB, free: 11.27 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004368/0.4511, allocations: 1.391 MB / 0.7434 GB, free: 9.859 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002625/0.4537, allocations: 0.6013 MB / 0.744 GB, free: 9.234 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005307/0.4591, allocations: 2.407 MB / 0.7463 GB, free: 6.789 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009883/0.4601, allocations: 1.156 MB / 0.7475 GB, free: 5.605 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004958/0.4606, allocations: 116.9 kB / 0.7476 GB, free: 5.488 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003274/0.4609, allocations: 83.42 kB / 0.7477 GB, free: 5.406 MB / 0.545 GB Notification: Performance of SimCode: time 7.91e-07/0.4609, allocations: 0 / 0.7477 GB, free: 5.406 MB / 0.545 GB Notification: Performance of Templates: time 0.3514/0.8124, allocations: 24.69 MB / 0.7718 GB, free: 115.3 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.makefile 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[16] /* der(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */))) + (data->localData[0]->realVars[12] /* previous(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */) - (data->localData[0]->realVars[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[16] /* der(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */))) + (data->localData[0]->realVars[12] /* previous(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */) - (data->localData[0]->realVars[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[16] /* der(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */))) + (data->localData[0]->realVars[12] /* previous(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */) - (data->localData[0]->realVars[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[16] /* der(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */))) + (data->localData[0]->realVars[12] /* previous(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */) - (data->localData[0]->realVars[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[17] /* der(aVRTypeII.derivativeBlock.x) variable */))) + (data->localData[0]->realVars[13] /* previous(aVRTypeII.derivativeBlock.x) variable */) - (data->localData[0]->realVars[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[17] /* der(aVRTypeII.derivativeBlock.x) variable */))) + (data->localData[0]->realVars[13] /* previous(aVRTypeII.derivativeBlock.x) variable */) - (data->localData[0]->realVars[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[17] /* der(aVRTypeII.derivativeBlock.x) variable */))) + (data->localData[0]->realVars[13] /* previous(aVRTypeII.derivativeBlock.x) variable */) - (data->localData[0]->realVars[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[17] /* der(aVRTypeII.derivativeBlock.x) variable */))) + (data->localData[0]->realVars[13] /* previous(aVRTypeII.derivativeBlock.x) variable */) - (data->localData[0]->realVars[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[19] /* der(aVRTypeII.simpleLagLim.state) variable */))) + (data->localData[0]->realVars[15] /* previous(aVRTypeII.simpleLagLim.state) variable */) - (data->localData[0]->realVars[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[19] /* der(aVRTypeII.simpleLagLim.state) variable */))) + (data->localData[0]->realVars[15] /* previous(aVRTypeII.simpleLagLim.state) variable */) - (data->localData[0]->realVars[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[19] /* der(aVRTypeII.simpleLagLim.state) variable */))) + (data->localData[0]->realVars[15] /* previous(aVRTypeII.simpleLagLim.state) variable */) - (data->localData[0]->realVars[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[19] /* der(aVRTypeII.simpleLagLim.state) variable */))) + (data->localData[0]->realVars[15] /* previous(aVRTypeII.simpleLagLim.state) variable */) - (data->localData[0]->realVars[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: *** [: OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.o] Error 1