Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.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.0.1/package.mo", uses=false) 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.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009564/0.0009564, allocations: 99.44 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.51/1.51, allocations: 223.3 MB / 239.7 MB, free: 5.656 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.001173/0.001173, allocations: 188.5 kB / 290.9 MB, free: 2.332 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5383/0.5383, allocations: 78.57 MB / 420.6 MB, free: 4.391 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005131/0.0005131, allocations: 12 kB / 0.4887 GB, free: 6.43 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1841, allocations: 69.36 MB / 0.5564 GB, free: 1.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.3707/0.5549, allocations: 5.957 MB / 0.5622 GB, free: 37.66 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004999/0.56, allocations: 1.803 MB / 0.564 GB, free: 37.4 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001274/0.5613, allocations: 15.12 kB / 0.564 GB, free: 37.4 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007244/0.5621, allocations: 158.8 kB / 0.5642 GB, free: 37.34 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002548/0.5646, allocations: 0.5915 MB / 0.5647 GB, free: 37.15 MB / 430.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 Generator.xq <> Generator.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.00154/0.5662, allocations: 0.5159 MB / 0.5652 GB, free: 37.12 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00188/0.5681, allocations: 1.294 MB / 0.5665 GB, free: 36.8 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004958/0.5686, allocations: 266.5 kB / 0.5668 GB, free: 36.77 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006888/0.5693, allocations: 0.5061 MB / 0.5673 GB, free: 36.63 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006545/0.5699, allocations: 0.637 MB / 0.5679 GB, free: 36.45 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001121/0.5701, allocations: 52.53 kB / 0.5679 GB, free: 36.45 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004559/0.5705, allocations: 175.2 kB / 0.5681 GB, free: 36.44 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001917/0.5707, allocations: 223.3 kB / 0.5683 GB, free: 36.37 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001878/0.5709, allocations: 223.8 kB / 0.5685 GB, free: 36.3 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001144/0.5721, allocations: 1.092 MB / 0.5696 GB, free: 36.1 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.5721, allocations: 0 / 0.5696 GB, free: 36.1 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.5721, allocations: 1.656 kB / 0.5696 GB, free: 36.1 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.405e-05/0.5721, allocations: 2.25 kB / 0.5696 GB, free: 36.1 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.006998/0.5791, allocations: 2.407 MB / 0.5719 GB, free: 35.24 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.5792, allocations: 9.031 kB / 0.572 GB, free: 35.24 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004702/0.5839, allocations: 0.7889 MB / 0.5727 GB, free: 35.14 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001449/0.5854, allocations: 0.7274 MB / 0.5734 GB, free: 34.77 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002975/0.5857, allocations: 265.6 kB / 0.5737 GB, free: 34.58 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001536/0.5858, allocations: 85.06 kB / 0.5738 GB, free: 34.57 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002432/0.5883, allocations: 1.171 MB / 0.5749 GB, free: 34.5 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/0.5883, allocations: 0 / 0.5749 GB, free: 34.5 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.246e-05/0.5884, allocations: 32.39 kB / 0.5749 GB, free: 34.5 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.368e-05/0.5884, allocations: 17.03 kB / 0.575 GB, free: 34.5 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002613/0.5911, allocations: 1.237 MB / 0.5762 GB, free: 34.34 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.005813/0.5969, allocations: 3.532 MB / 0.5796 GB, free: 32.36 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00198/0.5989, allocations: 1.518 MB / 0.5811 GB, free: 31.42 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00151/0.6004, allocations: 0.8797 MB / 0.582 GB, free: 31.11 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001198/0.6005, allocations: 11.19 kB / 0.582 GB, free: 31.1 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.6006, allocations: 46.53 kB / 0.582 GB, free: 31.05 MB / 430.1 MB Notification: Performance of pre-optimization done (n=98): time 3.597e-06/0.6006, allocations: 0 / 0.582 GB, free: 31.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=98): time 0.0267/0.6273, allocations: 8.175 MB / 0.59 GB, free: 29.63 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.267e-05/0.6274, allocations: 70.06 kB / 0.5901 GB, free: 29.56 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001629/0.6291, allocations: 0.8801 MB / 0.5909 GB, free: 29.19 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002749/0.6293, allocations: 45.52 kB / 0.591 GB, free: 29.14 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004084/0.6298, allocations: 499 kB / 0.5914 GB, free: 28.75 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003968/0.6302, allocations: 352.5 kB / 0.5918 GB, free: 28.47 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.19e-05/0.6303, allocations: 22.38 kB / 0.5918 GB, free: 28.46 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.6304, allocations: 350.3 kB / 0.5921 GB, free: 28.13 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001864/0.6323, allocations: 0.8208 MB / 0.5929 GB, free: 27.86 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001933/0.6342, allocations: 0.9492 MB / 0.5939 GB, free: 27.48 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001954/0.6362, allocations: 0.8659 MB / 0.5947 GB, free: 27.15 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/0.6362, allocations: 1.938 kB / 0.5947 GB, free: 27.15 MB / 430.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01615/0.6523, allocations: 5.25 MB / 0.5998 GB, free: 26 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.017e-05/0.6524, allocations: 7.016 kB / 0.5998 GB, free: 26 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/0.6524, allocations: 2.312 kB / 0.5998 GB, free: 26 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007072/0.6595, allocations: 2.086 MB / 0.6019 GB, free: 25.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/0.6609, allocations: 234.8 kB / 0.6021 GB, free: 25.63 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02322/0.6841, allocations: 9.518 MB / 0.6114 GB, free: 21.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001897/0.686, allocations: 225 kB / 0.6116 GB, free: 20.88 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/0.6862, allocations: 40.17 kB / 0.6117 GB, free: 20.84 MB / 430.1 MB Warning: Assuming fixed start value for the following 1 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (115): * Single equations (assignments): 114 * 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 {24 13} Notification: Performance of prepare postOptimizeDAE: time 0.0005921/0.6868, allocations: 243 kB / 0.6119 GB, free: 20.6 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002786/0.687, allocations: 127.3 kB / 0.612 GB, free: 20.48 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01246/0.6995, allocations: 4.951 MB / 0.6168 GB, free: 16.1 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.835e-05/0.6996, allocations: 8 kB / 0.6169 GB, free: 16.09 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.6996, allocations: 0 / 0.6169 GB, free: 16.09 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.71e-05/0.6996, allocations: 3.984 kB / 0.6169 GB, free: 16.09 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01362/0.7132, allocations: 6.552 MB / 0.6233 GB, free: 9.395 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-05/0.7133, allocations: 1.125 kB / 0.6233 GB, free: 9.395 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008049/0.7141, allocations: 143.9 kB / 0.6234 GB, free: 9.254 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005208/0.7193, allocations: 2.05 MB / 0.6254 GB, free: 7.203 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002332/0.7196, allocations: 19.98 kB / 0.6254 GB, free: 7.184 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01567/0.7353, allocations: 8.189 MB / 0.6334 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.204e-06/0.7353, allocations: 5.047 kB / 0.6334 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01603/0.7514, allocations: 5.974 MB / 0.6393 GB, free: 8.852 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000619/0.752, allocations: 207.9 kB / 0.6394 GB, free: 8.629 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001754/0.7522, allocations: 20 kB / 0.6395 GB, free: 8.609 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/0.7532, allocations: 151.9 kB / 0.6396 GB, free: 8.461 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008065/0.754, allocations: 220.5 kB / 0.6398 GB, free: 8.242 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-05/0.7541, allocations: 27.98 kB / 0.6398 GB, free: 8.215 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008783/0.755, allocations: 0.5867 MB / 0.6404 GB, free: 7.621 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.755, allocations: 0 / 0.6404 GB, free: 7.621 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001575/0.7566, allocations: 447.4 kB / 0.6408 GB, free: 7.184 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * 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 (65): * Single equations (assignments): 64 * 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 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002825/0.7569, allocations: 135.7 kB / 0.641 GB, free: 7.043 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007085/0.764, allocations: 2.786 MB / 0.6437 GB, free: 4.254 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.764, allocations: 0 / 0.6437 GB, free: 4.254 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004855/0.7689, allocations: 1.804 MB / 0.6455 GB, free: 2.434 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.77, allocations: 89.06 kB / 0.6455 GB, free: 2.348 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004176/0.7741, allocations: 2.463 MB / 0.648 GB, free: 15.89 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007066/0.7749, allocations: 1.095 MB / 0.649 GB, free: 14.76 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003234/0.7752, allocations: 71.34 kB / 0.6491 GB, free: 14.7 MB / 462.1 MB Notification: Performance of SimCode: time 1.242e-06/0.7752, allocations: 0 / 0.6491 GB, free: 14.7 MB / 462.1 MB Notification: Performance of Templates: time 0.03392/0.8091, allocations: 19.99 MB / 0.6686 GB, free: 10.85 MB / 478.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.makefile make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.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_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbationCalcHelperMain.o OMCppOpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbationCalcHelperMain.o] Error 1