Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 112.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 225.6 MB / 247.7 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001925/0.001925, allocations: 198.5 kB / 303.1 MB, free: 8.684 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.511/0.511, allocations: 79.71 MB / 438.1 MB, free: 5.25 MB / 302.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="OpenIPSL_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_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002393/0.002393, allocations: 87.86 kB / 0.584 GB, free: 8.008 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1624, allocations: 72.13 MB / 0.6544 GB, free: 15.78 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous): time 0.01086/0.1733, allocations: 6.808 MB / 0.6611 GB, free: 8.934 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007083/0.1804, allocations: 2.04 MB / 0.6631 GB, free: 6.891 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00177/0.1821, allocations: 19.88 kB / 0.6631 GB, free: 6.871 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001293/0.1834, allocations: 253.9 kB / 0.6633 GB, free: 6.621 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003428/0.1869, allocations: 0.8635 MB / 0.6642 GB, free: 5.758 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.001927/0.1888, allocations: 0.6688 MB / 0.6648 GB, free: 5.094 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002983/0.1918, allocations: 1.639 MB / 0.6664 GB, free: 3.449 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005897/0.1924, allocations: 235 kB / 0.6666 GB, free: 3.203 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001377/0.1937, allocations: 0.6886 MB / 0.6673 GB, free: 2.512 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001095/0.1948, allocations: 0.8556 MB / 0.6682 GB, free: 1.652 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001991/0.195, allocations: 124 kB / 0.6683 GB, free: 1.531 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005958/0.1956, allocations: 259.9 kB / 0.6685 GB, free: 1.277 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003593/0.196, allocations: 346.6 kB / 0.6688 GB, free: 0.9375 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007584/0.1967, allocations: 0.6835 MB / 0.6695 GB, free: 256 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002475/0.1992, allocations: 1.696 MB / 0.6712 GB, free: 14.55 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1992, allocations: 0 / 0.6712 GB, free: 14.55 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1992, allocations: 0 / 0.6712 GB, free: 14.55 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.011e-05/0.1992, allocations: 0 / 0.6712 GB, free: 14.55 MB / 478.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.01017/0.2094, allocations: 2.828 MB / 0.6739 GB, free: 11.66 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/0.2095, allocations: 15.97 kB / 0.6739 GB, free: 11.65 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0054/0.2149, allocations: 0.7796 MB / 0.6747 GB, free: 10.87 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002307/0.2172, allocations: 0.8523 MB / 0.6755 GB, free: 9.969 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003719/0.2175, allocations: 260.2 kB / 0.6758 GB, free: 9.68 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001928/0.2177, allocations: 87.98 kB / 0.6759 GB, free: 9.594 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003157/0.2209, allocations: 1.4 MB / 0.6772 GB, free: 8.168 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.2209, allocations: 0 / 0.6772 GB, free: 8.168 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/0.221, allocations: 32 kB / 0.6773 GB, free: 8.137 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.874e-05/0.221, allocations: 20 kB / 0.6773 GB, free: 8.117 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002239/0.2233, allocations: 0.9967 MB / 0.6783 GB, free: 7.117 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.007075/0.2304, allocations: 3.631 MB / 0.6818 GB, free: 3.305 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008126/0.2385, allocations: 2.113 MB / 0.6839 GB, free: 1.156 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001883/0.2404, allocations: 0.6958 MB / 0.6846 GB, free: 464 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001163/0.2405, allocations: 24.7 kB / 0.6846 GB, free: 436 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001704/0.2422, allocations: 0.745 MB / 0.6853 GB, free: 15.66 MB / 494.1 MB Notification: Performance of pre-optimization done (n=115): time 3.386e-06/0.2422, allocations: 4 kB / 0.6853 GB, free: 15.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=115): time 0.03171/0.2739, allocations: 7.003 MB / 0.6921 GB, free: 8.629 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001973/0.2741, allocations: 190.7 kB / 0.6923 GB, free: 8.406 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001922/0.276, allocations: 1.095 MB / 0.6934 GB, free: 7.297 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000268/0.2763, allocations: 45.7 kB / 0.6934 GB, free: 7.246 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004898/0.2768, allocations: 493.9 kB / 0.6939 GB, free: 6.758 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004566/0.2772, allocations: 353.1 kB / 0.6942 GB, free: 6.41 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006111/0.2778, allocations: 315.4 kB / 0.6946 GB, free: 6.098 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.278, allocations: 301.1 kB / 0.6948 GB, free: 5.801 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001763/0.2797, allocations: 0.7496 MB / 0.6956 GB, free: 5.051 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002056/0.2818, allocations: 1.1 MB / 0.6966 GB, free: 3.816 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.3791/0.6609, allocations: 5.729 MB / 0.7022 GB, free: 41.06 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.993e-05/0.6609, allocations: 6.406 kB / 0.7022 GB, free: 41.06 MB / 494.1 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.01777/0.6787, allocations: 4.516 MB / 0.7067 GB, free: 40.84 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.59e-05/0.6788, allocations: 61.5 kB / 0.7067 GB, free: 40.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.281e-05/0.6788, allocations: 9.5 kB / 0.7067 GB, free: 40.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007413/0.6862, allocations: 1.63 MB / 0.7083 GB, free: 40.53 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001645/0.6879, allocations: 301.3 kB / 0.7086 GB, free: 40.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02516/0.7131, allocations: 10.29 MB / 0.7186 GB, free: 35.14 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002161/0.7152, allocations: 203.9 kB / 0.7188 GB, free: 35.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001729/0.7154, allocations: 77.03 kB / 0.7189 GB, free: 35.05 MB / 494.1 MB Warning: Assuming fixed start value for the following 3 variables: order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order4.delta:VARIABLE(flow=false start = order4.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real Warning: The initial conditions are over specified. The following 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.0007739/0.7162, allocations: 351 kB / 0.7193 GB, free: 34.8 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001954/0.7181, allocations: 0.6625 MB / 0.7199 GB, free: 34.52 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01466/0.7328, allocations: 4.12 MB / 0.7239 GB, free: 33.52 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-05/0.7328, allocations: 11.97 kB / 0.7239 GB, free: 33.52 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.167e-05/0.7328, allocations: 8.406 kB / 0.7239 GB, free: 33.52 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.678e-05/0.7329, allocations: 9.469 kB / 0.724 GB, free: 33.52 MB / 494.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01653/0.7494, allocations: 5.617 MB / 0.7294 GB, free: 30.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.09e-05/0.7494, allocations: 3.984 kB / 0.7294 GB, free: 30.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006548/0.7501, allocations: 110.3 kB / 0.7295 GB, free: 30.79 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005757/0.7558, allocations: 1.719 MB / 0.7312 GB, free: 30.03 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000194/0.756, allocations: 23.75 kB / 0.7312 GB, free: 30.01 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02137/0.7774, allocations: 11.9 MB / 0.7429 GB, free: 19.99 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/0.7774, allocations: 10.84 kB / 0.7429 GB, free: 19.98 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.015/0.7924, allocations: 5.098 MB / 0.7479 GB, free: 14.85 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000522/0.7929, allocations: 158.3 kB / 0.748 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002018/0.7931, allocations: 24 kB / 0.748 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001179/0.7943, allocations: 115.9 kB / 0.7481 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005306/0.7948, allocations: 184.7 kB / 0.7483 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.242e-05/0.7949, allocations: 31.94 kB / 0.7484 GB, free: 14.36 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00093/0.7958, allocations: 0.7355 MB / 0.7491 GB, free: 13.62 MB / 494.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.7958, allocations: 0 / 0.7491 GB, free: 13.62 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001807/0.7977, allocations: 499.1 kB / 0.7495 GB, free: 13.14 MB / 494.1 MB 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.0002713/0.7979, allocations: 144 kB / 0.7497 GB, free: 12.99 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006398/0.8043, allocations: 2.628 MB / 0.7522 GB, free: 10.31 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.8043, allocations: 1.641 kB / 0.7523 GB, free: 10.31 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003749/0.8081, allocations: 1.335 MB / 0.7536 GB, free: 8.945 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00198/0.8101, allocations: 0.584 MB / 0.7541 GB, free: 8.332 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0042/0.8143, allocations: 2.413 MB / 0.7565 GB, free: 5.914 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005173/0.8148, allocations: 1.152 MB / 0.7576 GB, free: 4.734 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003903/0.8152, allocations: 124.9 kB / 0.7577 GB, free: 4.609 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002314/0.8154, allocations: 83.42 kB / 0.7578 GB, free: 4.527 MB / 494.1 MB Notification: Performance of SimCode: time 1.403e-06/0.8154, allocations: 0 / 0.7578 GB, free: 4.527 MB / 494.1 MB Notification: Performance of Templates: time 0.04772/0.8631, allocations: 25.94 MB / 0.7831 GB, free: 10.65 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.makefile [Timeout 660] make -j1 -f OpenIPSL_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_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_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.o OpenIPSL_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_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_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_functions.o OpenIPSL_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_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_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_records.o OpenIPSL_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_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_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_01exo.o OpenIPSL_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_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_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.o OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c OpenIPSL_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_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:551:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_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_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:551:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_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_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:551:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_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_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:551:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_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_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:551:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_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_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:551:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_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_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:551:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_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_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:551:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_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_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:551:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_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_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:551:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_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_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:551:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_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_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_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.o] Error 1 [Calling os._exit(0), Time elapsed: 4.835363423451781] Failed to read output from testmodel.py, exit status != 0: 0.8718818258494139 0.8885324099999999 0.6858189339999999 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fe4048457b0>