Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.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_Discrete,tolerance=0.001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 102.6 kB / 15.71 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 223.3 MB / 239.7 MB, free: 5.473 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.001429/0.001429, allocations: 179.5 kB / 290.9 MB, free: 2.168 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4841/0.4841, allocations: 79.47 MB / 421.5 MB, free: 3.977 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003849/0.000385, allocations: 8 kB / 0.4897 GB, free: 5.594 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.171, allocations: 69.52 MB / 0.5576 GB, free: 20 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete): time 0.3606/0.5316, allocations: 5.698 MB / 0.5632 GB, free: 37.03 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004405/0.5361, allocations: 1.815 MB / 0.565 GB, free: 36.69 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007301/0.5368, allocations: 10.81 kB / 0.565 GB, free: 36.69 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004682/0.5373, allocations: 147.9 kB / 0.5651 GB, free: 36.63 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001738/0.5391, allocations: 0.6157 MB / 0.5657 GB, free: 36.37 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001251/0.5403, allocations: 0.5011 MB / 0.5662 GB, free: 36.29 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001331/0.5417, allocations: 1.242 MB / 0.5674 GB, free: 35.98 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003773/0.542, allocations: 236 kB / 0.5676 GB, free: 35.94 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005382/0.5426, allocations: 0.497 MB / 0.5681 GB, free: 35.79 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006782/0.5433, allocations: 0.6699 MB / 0.5688 GB, free: 35.62 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001184/0.5434, allocations: 55.38 kB / 0.5688 GB, free: 35.62 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004344/0.5438, allocations: 183.5 kB / 0.569 GB, free: 35.61 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002521/0.5441, allocations: 223.5 kB / 0.5692 GB, free: 35.54 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002279/0.5443, allocations: 214 kB / 0.5694 GB, free: 35.47 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009914/0.5453, allocations: 1.098 MB / 0.5705 GB, free: 35.27 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.5454, allocations: 0 / 0.5705 GB, free: 35.27 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.5454, allocations: 0 / 0.5705 GB, free: 35.27 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.5454, allocations: 0 / 0.5705 GB, free: 35.27 MB / 430.1 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.006711/0.5521, allocations: 2.317 MB / 0.5728 GB, free: 34.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.5522, allocations: 8.531 kB / 0.5728 GB, free: 34.43 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004661/0.5568, allocations: 0.7673 MB / 0.5735 GB, free: 34.35 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001456/0.5583, allocations: 0.7474 MB / 0.5742 GB, free: 33.99 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002832/0.5586, allocations: 271 kB / 0.5745 GB, free: 33.8 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001551/0.5588, allocations: 77.78 kB / 0.5746 GB, free: 33.8 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002268/0.561, allocations: 1.254 MB / 0.5758 GB, free: 33.36 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/0.5611, allocations: 2.438 kB / 0.5758 GB, free: 33.36 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.648e-05/0.5611, allocations: 26.19 kB / 0.5758 GB, free: 33.34 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.979e-05/0.5612, allocations: 16.38 kB / 0.5758 GB, free: 33.34 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001814/0.563, allocations: 1.019 MB / 0.5768 GB, free: 33.02 MB / 430.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.005375/0.5684, allocations: 3.649 MB / 0.5804 GB, free: 30.85 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006659/0.575, allocations: 2.847 MB / 0.5832 GB, free: 30 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001264/0.5763, allocations: 0.7205 MB / 0.5839 GB, free: 29.74 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001122/0.5765, allocations: 19.27 kB / 0.5839 GB, free: 29.73 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.5765, allocations: 49.03 kB / 0.584 GB, free: 29.68 MB / 430.1 MB Notification: Performance of pre-optimization done (n=92): time 3.056e-06/0.5765, allocations: 3.938 kB / 0.584 GB, free: 29.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=92): time 0.02801/0.6045, allocations: 8.41 MB / 0.5922 GB, free: 28.2 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001149/0.6047, allocations: 98.14 kB / 0.5923 GB, free: 28.09 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001775/0.6064, allocations: 0.9529 MB / 0.5932 GB, free: 27.68 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002525/0.6067, allocations: 45.27 kB / 0.5932 GB, free: 27.63 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003756/0.6071, allocations: 456.9 kB / 0.5937 GB, free: 27.27 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003702/0.6075, allocations: 309.8 kB / 0.594 GB, free: 27.04 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.51e-05/0.6076, allocations: 33.44 kB / 0.594 GB, free: 27.01 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.6077, allocations: 360.4 kB / 0.5943 GB, free: 26.68 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001635/0.6093, allocations: 0.7502 MB / 0.5951 GB, free: 26.42 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001724/0.6111, allocations: 0.97 MB / 0.596 GB, free: 25.93 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001646/0.6127, allocations: 0.8351 MB / 0.5968 GB, free: 25.57 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.927e-06/0.6127, allocations: 1.656 kB / 0.5968 GB, free: 25.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.01473/0.6275, allocations: 4.92 MB / 0.6016 GB, free: 24.45 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.324e-05/0.6276, allocations: 8 kB / 0.6017 GB, free: 24.45 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.621e-05/0.6276, allocations: 5.438 kB / 0.6017 GB, free: 24.45 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006448/0.6341, allocations: 1.871 MB / 0.6035 GB, free: 24.14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00138/0.6355, allocations: 264.4 kB / 0.6037 GB, free: 24.11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02064/0.6561, allocations: 8.776 MB / 0.6123 GB, free: 20.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001809/0.658, allocations: 199.7 kB / 0.6125 GB, free: 19.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001183/0.6581, allocations: 54.05 kB / 0.6126 GB, free: 19.86 MB / 430.1 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 order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order4.delta:VARIABLE(flow=false start = order4.delta0 unit = "rad" fixed = true ) "Rotor angle" 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: 4 (aVRTypeII.vf,aVRTypeII.vr2,aVRTypeII.vr1,aVRTypeII.vm) * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 149 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 12} Notification: Performance of prepare postOptimizeDAE: time 0.0005654/0.6587, allocations: 260.5 kB / 0.6128 GB, free: 19.6 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009076/0.6596, allocations: 365 kB / 0.6131 GB, free: 19.28 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01088/0.6705, allocations: 4.409 MB / 0.6175 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.995e-05/0.6705, allocations: 15.95 kB / 0.6175 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-05/0.6705, allocations: 9 kB / 0.6175 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-05/0.6706, allocations: 3.984 kB / 0.6175 GB, free: 15.17 MB / 430.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.01311/0.6837, allocations: 5.983 MB / 0.6233 GB, free: 9.082 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.636e-05/0.6837, allocations: 0 / 0.6233 GB, free: 9.082 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000657/0.6844, allocations: 111.8 kB / 0.6234 GB, free: 8.973 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004938/0.6894, allocations: 1.866 MB / 0.6253 GB, free: 7.102 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001809/0.6896, allocations: 16 kB / 0.6253 GB, free: 7.086 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01713/0.7067, allocations: 10.79 MB / 0.6358 GB, free: 11.96 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.7067, allocations: 4.484 kB / 0.6358 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0145/0.7212, allocations: 5.512 MB / 0.6412 GB, free: 6.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006427/0.7219, allocations: 223.4 kB / 0.6414 GB, free: 6.172 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002032/0.7221, allocations: 16 kB / 0.6414 GB, free: 6.156 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009437/0.7231, allocations: 117 kB / 0.6415 GB, free: 6.043 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005454/0.7236, allocations: 180.6 kB / 0.6417 GB, free: 5.867 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.824e-05/0.7237, allocations: 24 kB / 0.6417 GB, free: 5.844 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009076/0.7246, allocations: 0.6356 MB / 0.6424 GB, free: 5.199 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7246, allocations: 0 / 0.6424 GB, free: 5.199 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001729/0.7264, allocations: 435.7 kB / 0.6428 GB, free: 4.773 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 4 (aVRTypeII.vm,aVRTypeII.vr1,aVRTypeII.vr2,aVRTypeII.vf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(20,23.0%) 12} * Non-linear torn systems: 1 {3 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003578/0.7268, allocations: 132.6 kB / 0.6429 GB, free: 4.637 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006336/0.7331, allocations: 2.574 MB / 0.6454 GB, free: 2.047 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.7331, allocations: 0 / 0.6454 GB, free: 2.047 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004105/0.7372, allocations: 1.535 MB / 0.6469 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001732/0.739, allocations: 374 kB / 0.6473 GB, free: 128 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004522/0.7435, allocations: 2.471 MB / 0.6497 GB, free: 13.67 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008328/0.7444, allocations: 1.081 MB / 0.6507 GB, free: 12.56 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003878/0.7448, allocations: 75.42 kB / 0.6508 GB, free: 12.48 MB / 462.1 MB Notification: Performance of SimCode: time 2.585e-06/0.7448, allocations: 0 / 0.6508 GB, free: 12.48 MB / 462.1 MB Notification: Performance of Templates: time 0.03436/0.7792, allocations: 21.31 MB / 0.6716 GB, free: 7.324 MB / 478.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.makefile make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppOpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_DiscreteCalcHelperMain.o OMCppOpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_DiscreteCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_DiscreteCalcHelperMain.o] Error 1