Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.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.KundurSMIB.SMIB_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001317/0.001318, allocations: 98.89 kB / 15.71 MB, free: 452 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.579/1.579, allocations: 223.3 MB / 239.7 MB, free: 5.605 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.001281/0.001281, allocations: 179.5 kB / 290.9 MB, free: 2.293 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.541/0.541, allocations: 79.48 MB / 421.5 MB, free: 3.91 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004394/0.0004396, allocations: 16 kB / 0.4897 GB, free: 5.57 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.2021, allocations: 69.52 MB / 0.5576 GB, free: 0 / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB_AVR): time 0.3229/0.5251, allocations: 4.792 MB / 0.5623 GB, free: 37.44 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004172/0.5293, allocations: 1.682 MB / 0.5639 GB, free: 37.22 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004085/0.5297, allocations: 10.03 kB / 0.564 GB, free: 37.22 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003966/0.5302, allocations: 124.3 kB / 0.5641 GB, free: 37.17 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001349/0.5315, allocations: 0.5184 MB / 0.5646 GB, free: 37.02 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000902/0.5324, allocations: 386.1 kB / 0.5649 GB, free: 37 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001146/0.5336, allocations: 1.067 MB / 0.566 GB, free: 36.77 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000356/0.5339, allocations: 193.9 kB / 0.5662 GB, free: 36.72 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004907/0.5344, allocations: 408.8 kB / 0.5666 GB, free: 36.62 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000639/0.5351, allocations: 0.5168 MB / 0.5671 GB, free: 36.51 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001008/0.5352, allocations: 49.31 kB / 0.5671 GB, free: 36.51 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003733/0.5356, allocations: 170.1 kB / 0.5673 GB, free: 36.5 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001718/0.5358, allocations: 187.2 kB / 0.5675 GB, free: 36.45 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001526/0.5359, allocations: 182.1 kB / 0.5676 GB, free: 36.38 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009072/0.5368, allocations: 1.044 MB / 0.5686 GB, free: 36.24 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.5368, allocations: 6.594 kB / 0.5687 GB, free: 36.24 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.607e-06/0.5369, allocations: 0 / 0.5687 GB, free: 36.24 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.938e-06/0.5369, allocations: 3.938 kB / 0.5687 GB, free: 36.23 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: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.004746/0.5416, allocations: 1.721 MB / 0.5703 GB, free: 35.52 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.5417, allocations: 10.09 kB / 0.5703 GB, free: 35.52 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003024/0.5447, allocations: 0.531 MB / 0.5709 GB, free: 35.46 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001105/0.5458, allocations: 0.6593 MB / 0.5715 GB, free: 35.14 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002013/0.546, allocations: 152.6 kB / 0.5717 GB, free: 35.05 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/0.5462, allocations: 63.84 kB / 0.5717 GB, free: 35.05 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00148/0.5477, allocations: 0.8208 MB / 0.5725 GB, free: 34.98 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/0.5477, allocations: 0.625 kB / 0.5725 GB, free: 34.98 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.015e-05/0.5478, allocations: 26.34 kB / 0.5725 GB, free: 34.98 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.647e-05/0.5478, allocations: 11.45 kB / 0.5726 GB, free: 34.98 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001469/0.5493, allocations: 0.7258 MB / 0.5733 GB, free: 34.97 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.004564/0.5538, allocations: 2.945 MB / 0.5761 GB, free: 33.32 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01177/0.5656, allocations: 3.942 MB / 0.58 GB, free: 32.65 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001145/0.5668, allocations: 0.5224 MB / 0.5805 GB, free: 32.45 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.572e-05/0.5669, allocations: 13.08 kB / 0.5805 GB, free: 32.45 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.215e-05/0.567, allocations: 37.91 kB / 0.5805 GB, free: 32.4 MB / 430.1 MB Notification: Performance of pre-optimization done (n=64): time 2.896e-06/0.567, allocations: 0 / 0.5805 GB, free: 32.4 MB / 430.1 MB Notification: Performance of matching and sorting (n=64): time 0.01241/0.5794, allocations: 4.23 MB / 0.5847 GB, free: 31.29 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.049e-05/0.5795, allocations: 87.09 kB / 0.5848 GB, free: 31.19 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001378/0.5809, allocations: 0.7889 MB / 0.5855 GB, free: 30.83 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001155/0.581, allocations: 36.92 kB / 0.5856 GB, free: 30.79 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000271/0.5813, allocations: 375.7 kB / 0.5859 GB, free: 30.5 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002604/0.5816, allocations: 245.9 kB / 0.5862 GB, free: 30.3 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.501e-05/0.5816, allocations: 20.12 kB / 0.5862 GB, free: 30.29 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.5818, allocations: 347.7 kB / 0.5865 GB, free: 29.96 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00122/0.583, allocations: 0.5793 MB / 0.5871 GB, free: 29.74 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001308/0.5843, allocations: 0.6974 MB / 0.5878 GB, free: 29.42 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001357/0.5857, allocations: 0.6385 MB / 0.5884 GB, free: 29.14 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.5857, allocations: 0 / 0.5884 GB, free: 29.14 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.008037/0.5937, allocations: 2.859 MB / 0.5912 GB, free: 28.3 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001191/0.5939, allocations: 145.7 kB / 0.5913 GB, free: 28.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.5939, allocations: 2.906 kB / 0.5913 GB, free: 28.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00427/0.5982, allocations: 1.201 MB / 0.5925 GB, free: 27.92 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/0.5992, allocations: 173.1 kB / 0.5927 GB, free: 27.9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01027/0.6095, allocations: 5.107 MB / 0.5976 GB, free: 25.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001514/0.6111, allocations: 146.2 kB / 0.5978 GB, free: 25.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.493e-05/0.6112, allocations: 36.48 kB / 0.5978 GB, free: 25.16 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.6112, allocations: 4.312 kB / 0.5978 GB, free: 25.16 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007791/0.619, allocations: 2.728 MB / 0.6005 GB, free: 24.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/0.619, allocations: 5.531 kB / 0.6005 GB, free: 24.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004451/0.6235, allocations: 1.197 MB / 0.6017 GB, free: 24.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/0.6245, allocations: 170.9 kB / 0.6018 GB, free: 24.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01055/0.6351, allocations: 5.098 MB / 0.6068 GB, free: 21.47 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/0.6365, allocations: 123.1 kB / 0.6069 GB, free: 21.42 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/0.6366, allocations: 34.88 kB / 0.607 GB, free: 21.41 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (104): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(7,59.2%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005438/0.6372, allocations: 291.7 kB / 0.6072 GB, free: 21.16 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001699/0.6374, allocations: 87.22 kB / 0.6073 GB, free: 21.11 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006613/0.644, allocations: 2.396 MB / 0.6097 GB, free: 20.45 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.644, allocations: 6.875 kB / 0.6097 GB, free: 20.45 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.325e-05/0.644, allocations: 4.125 kB / 0.6097 GB, free: 20.45 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.765e-05/0.6441, allocations: 8.797 kB / 0.6097 GB, free: 20.45 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.008271/0.6523, allocations: 3.678 MB / 0.6133 GB, free: 18.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.6524, allocations: 11.08 kB / 0.6133 GB, free: 18.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005299/0.6529, allocations: 79.14 kB / 0.6134 GB, free: 18.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003126/0.656, allocations: 1.08 MB / 0.6144 GB, free: 17.75 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.429e-05/0.6561, allocations: 25.31 kB / 0.6144 GB, free: 17.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007216/0.6633, allocations: 4.125 MB / 0.6185 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.6634, allocations: 0 / 0.6185 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006474/0.6698, allocations: 3.061 MB / 0.6214 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004489/0.6703, allocations: 183.8 kB / 0.6216 GB, free: 10.66 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001333/0.6705, allocations: 16 kB / 0.6216 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007412/0.6712, allocations: 83.92 kB / 0.6217 GB, free: 10.56 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003502/0.6716, allocations: 124.3 kB / 0.6218 GB, free: 10.44 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.067e-05/0.6716, allocations: 19.98 kB / 0.6219 GB, free: 10.42 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007242/0.6724, allocations: 0.5264 MB / 0.6224 GB, free: 9.902 MB / 430.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6724, allocations: 4 kB / 0.6224 GB, free: 9.898 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001864/0.6742, allocations: 0.5267 MB / 0.6229 GB, free: 9.371 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (G1.machine.delta,G1.machine.w,G1.machine.e1q,G1.machine.e1d,G1.machine.e2q,G1.machine.e2d,G1.avr.vm,G1.avr.vr,G1.avr.vf1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(9,48.1%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000292/0.6745, allocations: 124.4 kB / 0.623 GB, free: 9.242 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007097/0.6816, allocations: 3.534 MB / 0.6265 GB, free: 5.602 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.6817, allocations: 4.125 kB / 0.6265 GB, free: 5.598 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002427/0.6841, allocations: 1.255 MB / 0.6277 GB, free: 4.293 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008296/0.6849, allocations: 74.84 kB / 0.6278 GB, free: 4.223 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003144/0.6881, allocations: 2.18 MB / 0.6299 GB, free: 2.043 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003643/0.6885, allocations: 0.9796 MB / 0.6308 GB, free: 1.035 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002728/0.6888, allocations: 59.42 kB / 0.6309 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of SimCode: time 1.122e-06/0.6888, allocations: 0 / 0.6309 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of Templates: time 0.02662/0.7154, allocations: 22.54 MB / 0.6529 GB, free: 10.58 MB / 462.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.makefile make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.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.KundurSMIB.SMIB_AVRCalcHelperMain.o OMCppOpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVRCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVRCalcHelperMain.o] Error 1