Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete,tolerance=0.001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete") translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete,tolerance=0.001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008954/0.0008955, allocations: 175.3 kB / 16.08 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.27/1.27, allocations: 222.9 MB / 239.7 MB, free: 10.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007962/0.0007963, allocations: 102.5 kB / 290.5 MB, free: 11.01 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4154/0.4154, allocations: 78.42 MB / 419.6 MB, free: 9.719 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003423/0.0003423, allocations: 12 kB / 499.1 MB, free: 10.62 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2518, allocations: 68.74 MB / 0.5545 GB, free: 20.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete): time 0.004891/0.2568, allocations: 6.505 MB / 0.5609 GB, free: 13.67 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002341/0.2591, allocations: 1.904 MB / 0.5627 GB, free: 11.77 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003258/0.2595, allocations: 12 kB / 0.5627 GB, free: 11.75 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003547/0.2598, allocations: 166.9 kB / 0.5629 GB, free: 11.59 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001195/0.261, allocations: 0.6705 MB / 0.5636 GB, free: 10.92 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.0008473/0.2619, allocations: 0.5483 MB / 0.5641 GB, free: 10.38 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007615/0.2627, allocations: 1.308 MB / 0.5654 GB, free: 9.062 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002738/0.2629, allocations: 264.5 kB / 0.5656 GB, free: 8.797 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000387/0.2633, allocations: 0.5132 MB / 0.5661 GB, free: 8.281 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000493/0.2638, allocations: 0.6881 MB / 0.5668 GB, free: 7.59 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001085/0.264, allocations: 56 kB / 0.5668 GB, free: 7.535 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000303/0.2643, allocations: 187.8 kB / 0.567 GB, free: 7.352 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001363/0.2644, allocations: 238.8 kB / 0.5673 GB, free: 7.117 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002831/0.2647, allocations: 0.5472 MB / 0.5678 GB, free: 6.566 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007777/0.2655, allocations: 1.403 MB / 0.5692 GB, free: 5.16 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2655, allocations: 0 / 0.5692 GB, free: 5.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2655, allocations: 3.938 kB / 0.5692 GB, free: 5.156 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.244e-05/0.2655, allocations: 0 / 0.5692 GB, free: 5.156 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.006407/0.2719, allocations: 2.248 MB / 0.5714 GB, free: 2.855 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.272, allocations: 12.03 kB / 0.5714 GB, free: 2.844 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004477/0.2765, allocations: 0.7672 MB / 0.5721 GB, free: 2.074 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009678/0.2774, allocations: 0.7852 MB / 0.5729 GB, free: 1.23 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002026/0.2777, allocations: 260.1 kB / 0.5731 GB, free: 0.9414 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001328/0.2778, allocations: 80 kB / 0.5732 GB, free: 0.8633 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001964/0.2798, allocations: 1.17 MB / 0.5743 GB, free: 15.67 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/0.2798, allocations: 3.938 kB / 0.5744 GB, free: 15.66 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.752e-05/0.2799, allocations: 28 kB / 0.5744 GB, free: 15.64 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/0.2799, allocations: 20 kB / 0.5744 GB, free: 15.62 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001848/0.2818, allocations: 0.9498 MB / 0.5753 GB, free: 14.67 MB / 394.7 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.005412/0.2872, allocations: 3.546 MB / 0.5788 GB, free: 10.93 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00678/0.294, allocations: 2.307 MB / 0.581 GB, free: 8.527 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001217/0.2952, allocations: 0.6595 MB / 0.5817 GB, free: 7.863 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001036/0.2953, allocations: 16.62 kB / 0.5817 GB, free: 7.848 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/0.2954, allocations: 43.22 kB / 0.5817 GB, free: 7.797 MB / 394.7 MB Notification: Performance of pre-optimization done (n=92): time 3.296e-06/0.2954, allocations: 4 kB / 0.5817 GB, free: 7.793 MB / 394.7 MB Notification: Performance of matching and sorting (n=92): time 0.0246/0.32, allocations: 6.753 MB / 0.5883 GB, free: 0.9844 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.3201, allocations: 89.77 kB / 0.5884 GB, free: 0.8789 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/0.3213, allocations: 0.9617 MB / 0.5894 GB, free: 15.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001057/0.3214, allocations: 45.7 kB / 0.5894 GB, free: 15.85 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003326/0.3218, allocations: 456.8 kB / 0.5898 GB, free: 15.39 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002876/0.3221, allocations: 303.8 kB / 0.5901 GB, free: 15.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001863/0.3223, allocations: 129.6 kB / 0.5903 GB, free: 14.96 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.3224, allocations: 361.9 kB / 0.5906 GB, free: 14.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001404/0.3238, allocations: 0.691 MB / 0.5913 GB, free: 13.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00151/0.3253, allocations: 0.9107 MB / 0.5922 GB, free: 12.93 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02087/0.3462, allocations: 5.055 MB / 0.5971 GB, free: 7.801 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.415e-05/0.3463, allocations: 4 kB / 0.5971 GB, free: 7.797 MB / 410.7 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.01262/0.3589, allocations: 4.117 MB / 0.6011 GB, free: 3.664 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.701e-05/0.359, allocations: 12 kB / 0.6011 GB, free: 3.652 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.588e-05/0.359, allocations: 4 kB / 0.6011 GB, free: 3.648 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00532/0.3643, allocations: 1.504 MB / 0.6026 GB, free: 2.141 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/0.3655, allocations: 259.5 kB / 0.6029 GB, free: 1.887 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01722/0.3827, allocations: 7.627 MB / 0.6103 GB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/0.3842, allocations: 170.9 kB / 0.6105 GB, free: 9.949 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001484/0.3844, allocations: 51.98 kB / 0.6105 GB, free: 9.898 MB / 426.7 MB Warning: Assuming fixed start value for the following 4 variables: order4.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 146 * Array equations: 0 * Algorithm blocks: 0 * 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 {(18,13,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005498/0.385, allocations: 270.1 kB / 0.6108 GB, free: 9.629 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002459/0.3852, allocations: 122.4 kB / 0.6109 GB, free: 9.508 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0114/0.3966, allocations: 3.588 MB / 0.6144 GB, free: 5.898 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.107e-05/0.3967, allocations: 3.984 kB / 0.6144 GB, free: 5.895 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.3967, allocations: 3.938 kB / 0.6144 GB, free: 5.891 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004442/0.3971, allocations: 207.5 kB / 0.6146 GB, free: 5.668 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000305/0.3975, allocations: 16 kB / 0.6146 GB, free: 5.652 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001273/0.3987, allocations: 87.91 kB / 0.6147 GB, free: 5.566 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001148/0.3999, allocations: 400.2 kB / 0.6151 GB, free: 5.172 MB / 426.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006011/0.4059, allocations: 2.087 MB / 0.6171 GB, free: 3.074 MB / 426.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003997/0.41, allocations: 2.136 MB / 0.6192 GB, free: 0.9219 MB / 426.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001132/0.4111, allocations: 0.5354 MB / 0.6197 GB, free: 396 kB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009453/0.4121, allocations: 0.6474 MB / 0.6204 GB, free: 15.73 MB / 442.7 MB Notification: Performance of Backend: time 4.21e-07/0.4121, allocations: 0 / 0.6204 GB, free: 15.73 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005354/0.4174, allocations: 1.873 MB / 0.6222 GB, free: 13.84 MB / 442.7 MB Notification: Performance of SimCode: time 0.003533/0.421, allocations: 2.992 MB / 0.6251 GB, free: 10.79 MB / 442.7 MB Notification: Performance of Templates: time 0.02855/0.4496, allocations: 18.38 MB / 0.6431 GB, free: 8.41 MB / 458.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.makefile make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discrete -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.o OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discrete -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete_functions.o OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete_functions.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discrete -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete_records.o OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete_records.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discrete -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete_01exo.o OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete_01exo.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discrete -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete_02nls.o OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete_02nls.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discrete -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete_03lsy.o OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete_03lsy.c OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete_03lsy.c:512:49: warning: incompatible pointer types assigning to 'int (*)(void *, threadData_t *, ANALYTIC_JACOBIAN *)' (aka 'int (*)(void *, struct threadData_s *, struct ANALYTIC_JACOBIAN *)') from 'int (DATA *, threadData_t *, ANALYTIC_JACOBIAN *)' (aka 'int (struct DATA *, struct threadData_s *, struct ANALYTIC_JACOBIAN *)') [-Wincompatible-pointer-types] linearSystemData[0].initialAnalyticalJacobian = OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discrete_initialAnalyticJacobianLSJac0; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete_03lsy.c:516:46: warning: incompatible pointer types assigning to 'void (*)(void *, threadData_t *, void *, modelica_boolean)' (aka 'void (*)(void *, struct threadData_s *, void *, signed char)') from 'void (DATA *, threadData_t *, void *, modelica_boolean)' (aka 'void (struct DATA *, struct threadData_s *, void *, signed char)') [-Wincompatible-pointer-types] linearSystemData[0].initializeStaticLSData = initializeStaticLSData144; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discrete -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete_04set.o OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete_04set.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discrete -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete_05evt.o OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete_05evt.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discrete -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete_06inz.o OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete_06inz.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discrete -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete_07dly.o OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete_07dly.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discrete -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete_08bnd.o OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete_08bnd.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discrete -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete_09alg.o OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete_09alg.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discrete -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete_10asr.o OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete_10asr.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discrete -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete_11mix.o OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete_11mix.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discrete -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete_12jac.o OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete_12jac.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discrete -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete_13opt.o OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete_13opt.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discrete -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete_14lnz.o OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete_14lnz.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discrete -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete_15syn.o OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete_15syn.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discrete -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete_16dae.o OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete_16dae.c OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete_16dae.c:33:92: error: use of undeclared identifier '_omcQ_24CLKPRE' (data->simulationInfo->daeModeData->residualVars[3]) /* $DAEres41 DAE_RESIDUAL_VAR */ = (_omcQ_24CLKPRE._aVRTypeII._vr2 - (data->localData[0]->realVars[18]/* aVRTypeII.vr2 variable */) ) * ((data->simulationInfo->realParameter[9]/* aVRTypeII.Tf PARAM */) ) - (data->localData[0]->realVars[18]/* aVRTypeII.vr2 variable */) - (((data->localData[0]->realVars[14]/* aVRTypeII.vf variable */) ) * (DIVISION((data->simulationInfo->realParameter[6]/* aVRTypeII.Kf PARAM */) ,(data->simulationInfo->realParameter[9]/* aVRTypeII.Tf PARAM */) ,"aVRTypeII.Tf"))); ^ OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete_16dae.c:114:157: error: use of undeclared identifier '_omcQ_24CLKPRE' (data->simulationInfo->daeModeData->residualVars[1]) /* $DAEres39 DAE_RESIDUAL_VAR */ = (data->localData[0]->realVars[16]/* aVRTypeII.vr variable */) + (_omcQ_24CLKPRE._aVRTypeII._vf - (data->localData[0]->realVars[14]/* aVRTypeII.vf variable */) ) * ((data->simulationInfo->realParameter[8]/* aVRTypeII.Te PARAM */) ) - (((data->localData[0]->realVars[14]/* aVRTypeII.vf variable */) ) * ((data->simulationInfo->realParameter[5]/* aVRTypeII.Ke PARAM */) + (data->localData[0]->realVars[12]/* aVRTypeII.Se variable */) )); ^ OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete_16dae.c:203:78: error: use of undeclared identifier '_omcQ_24CLKPRE' (data->localData[0]->realVars[15]/* aVRTypeII.vm variable */) = DIVISION((_omcQ_24CLKPRE._aVRTypeII._vm) * ((data->simulationInfo->realParameter[10]/* aVRTypeII.Tr PARAM */) ) + (data->localData[0]->realVars[13]/* aVRTypeII.v variable */) ,(data->simulationInfo->realParameter[10]/* aVRTypeII.Tr PARAM */) + 1.0,"aVRTypeII.Tr + 1.0"); ^ OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete_16dae.c:203:78: error: use of undeclared identifier '_omcQ_24CLKPRE' OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete_16dae.c:215:593: error: use of undeclared identifier '_omcQ_24CLKPRE' (data->simulationInfo->daeModeData->residualVars[4]) /* $DAEres42 DAE_RESIDUAL_VAR */ = ((data->simulationInfo->realParameter[4]/* aVRTypeII.Ka PARAM */) ) * ((data->localData[0]->realVars[19]/* aVRTypeII.vref variable */) + ((-(data->localData[0]->realVars[14]/* aVRTypeII.vf variable */) )) * (DIVISION((data->simulationInfo->realParameter[6]/* aVRTypeII.Kf PARAM */) ,(data->simulationInfo->realParameter[9]/* aVRTypeII.Tf PARAM */) ,"aVRTypeII.Tf")) - (data->localData[0]->realVars[15]/* aVRTypeII.vm variable */) - (data->localData[0]->realVars[18]/* aVRTypeII.vr2 variable */) ) + (_omcQ_24CLKPRE._aVRTypeII._vr1 - (data->localData[0]->realVars[17]/* aVRTypeII.vr1 variable */) ) * ((data->simulationInfo->realParameter[7]/* aVRTypeII.Ta PARAM */) ) - (data->localData[0]->realVars[17]/* aVRTypeII.vr1 variable */) ; ^ 5 errors generated. make: *** [: OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete_16dae.o] Error 1