Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.0008534/0.0008535, allocations: 100.5 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.391/1.391, 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.001252/0.001251, allocations: 184.5 kB / 290.9 MB, free: 2.289 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5074/0.5074, allocations: 79.47 MB / 421.5 MB, free: 3.969 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003897/0.0003899, allocations: 12 kB / 0.4897 GB, free: 5.605 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1923/0.1927, allocations: 69.51 MB / 0.5576 GB, free: 36 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.3853/0.578, allocations: 5.963 MB / 0.5634 GB, free: 37.29 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004892/0.583, allocations: 1.839 MB / 0.5652 GB, free: 36.86 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001029/0.5841, allocations: 11.34 kB / 0.5652 GB, free: 36.86 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005699/0.5846, allocations: 164.6 kB / 0.5654 GB, free: 36.79 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001812/0.5865, allocations: 0.5865 MB / 0.566 GB, free: 36.52 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001364/0.5878, allocations: 0.5271 MB / 0.5665 GB, free: 36.45 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001476/0.5893, allocations: 1.29 MB / 0.5678 GB, free: 36.11 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005027/0.5898, allocations: 265.4 kB / 0.568 GB, free: 36.07 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007591/0.5906, allocations: 0.5045 MB / 0.5685 GB, free: 35.92 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007316/0.5913, allocations: 0.6373 MB / 0.5691 GB, free: 35.74 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001107/0.5915, allocations: 52.88 kB / 0.5692 GB, free: 35.74 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004305/0.5919, allocations: 182.1 kB / 0.5693 GB, free: 35.73 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001801/0.5921, allocations: 213.6 kB / 0.5695 GB, free: 35.66 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000192/0.5923, allocations: 224.6 kB / 0.5698 GB, free: 35.59 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00106/0.5933, allocations: 1.094 MB / 0.5708 GB, free: 35.39 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.5934, allocations: 0 / 0.5708 GB, free: 35.39 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.5934, allocations: 1.688 kB / 0.5708 GB, free: 35.39 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.385e-05/0.5934, allocations: 0 / 0.5708 GB, free: 35.39 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.006819/0.6002, allocations: 2.403 MB / 0.5732 GB, free: 34.53 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.6003, allocations: 10 kB / 0.5732 GB, free: 34.53 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004742/0.605, allocations: 0.7947 MB / 0.574 GB, free: 34.42 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001415/0.6065, allocations: 0.7211 MB / 0.5747 GB, free: 33.91 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002717/0.6067, allocations: 271.3 kB / 0.5749 GB, free: 33.69 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001475/0.6069, allocations: 80.34 kB / 0.575 GB, free: 33.66 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002263/0.6092, allocations: 1.175 MB / 0.5762 GB, free: 33.26 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/0.6092, allocations: 0 / 0.5762 GB, free: 33.26 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.124e-05/0.6093, allocations: 31.25 kB / 0.5762 GB, free: 33.24 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.953e-05/0.6093, allocations: 22.45 kB / 0.5762 GB, free: 33.23 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002404/0.6117, allocations: 1.238 MB / 0.5774 GB, free: 32.88 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.00606/0.6178, allocations: 3.56 MB / 0.5809 GB, free: 30.9 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002045/0.6199, allocations: 1.529 MB / 0.5824 GB, free: 29.95 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00146/0.6214, allocations: 0.8651 MB / 0.5832 GB, free: 29.64 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001241/0.6215, allocations: 19.16 kB / 0.5832 GB, free: 29.64 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.6215, allocations: 44.94 kB / 0.5833 GB, free: 29.59 MB / 430.1 MB Notification: Performance of pre-optimization done (n=98): time 5.27e-06/0.6215, allocations: 4 kB / 0.5833 GB, free: 29.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=98): time 0.02664/0.6482, allocations: 8.482 MB / 0.5916 GB, free: 28.15 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.512e-05/0.6483, allocations: 62.67 kB / 0.5916 GB, free: 28.09 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001525/0.6498, allocations: 0.8881 MB / 0.5925 GB, free: 27.71 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003267/0.6502, allocations: 45.39 kB / 0.5925 GB, free: 27.66 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004069/0.6506, allocations: 0.4907 MB / 0.593 GB, free: 27.27 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003965/0.651, allocations: 348.5 kB / 0.5934 GB, free: 26.99 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.253e-05/0.6511, allocations: 20.03 kB / 0.5934 GB, free: 26.98 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.6512, allocations: 351.6 kB / 0.5937 GB, free: 26.65 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001798/0.653, allocations: 0.817 MB / 0.5945 GB, free: 26.39 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00201/0.655, allocations: 0.948 MB / 0.5954 GB, free: 26.01 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002254/0.6573, allocations: 0.8716 MB / 0.5963 GB, free: 25.67 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.493e-06/0.6573, allocations: 0 / 0.5963 GB, free: 25.67 MB / 430.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01702/0.6743, allocations: 5.238 MB / 0.6014 GB, free: 24.53 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.409e-05/0.6744, allocations: 10.62 kB / 0.6014 GB, free: 24.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.566e-05/0.6745, allocations: 3.031 kB / 0.6014 GB, free: 24.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007553/0.682, allocations: 2.087 MB / 0.6035 GB, free: 24.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00145/0.6836, allocations: 237.9 kB / 0.6037 GB, free: 24.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0226/0.7062, allocations: 9.518 MB / 0.613 GB, free: 19.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001789/0.708, allocations: 224.6 kB / 0.6132 GB, free: 19.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/0.7081, allocations: 40.73 kB / 0.6132 GB, free: 19.19 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.0005471/0.7087, allocations: 238.4 kB / 0.6135 GB, free: 18.95 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001799/0.7089, allocations: 122.5 kB / 0.6136 GB, free: 18.83 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01193/0.7208, allocations: 4.961 MB / 0.6184 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.779e-05/0.7209, allocations: 8 kB / 0.6184 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.7209, allocations: 3.938 kB / 0.6184 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.223e-05/0.7209, allocations: 3.984 kB / 0.6184 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01318/0.7341, allocations: 6.571 MB / 0.6248 GB, free: 7.641 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.652e-05/0.7342, allocations: 5.125 kB / 0.6249 GB, free: 7.637 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000784/0.735, allocations: 143.8 kB / 0.625 GB, free: 7.496 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005104/0.7401, allocations: 2.049 MB / 0.627 GB, free: 5.445 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002187/0.7403, allocations: 16 kB / 0.627 GB, free: 5.43 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01684/0.7572, allocations: 8.188 MB / 0.635 GB, free: 13.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.7572, allocations: 0 / 0.635 GB, free: 13.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01622/0.7734, allocations: 5.986 MB / 0.6408 GB, free: 7.086 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006134/0.7741, allocations: 211.4 kB / 0.6411 GB, free: 6.859 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004399/0.7746, allocations: 16 kB / 0.6411 GB, free: 6.844 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001299/0.7759, allocations: 159.9 kB / 0.6412 GB, free: 6.688 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008688/0.7768, allocations: 212.6 kB / 0.6414 GB, free: 6.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001485/0.7769, allocations: 28.88 kB / 0.6414 GB, free: 6.453 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001015/0.778, allocations: 0.5864 MB / 0.642 GB, free: 5.859 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.72e-07/0.778, allocations: 0 / 0.642 GB, free: 5.859 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002015/0.78, allocations: 447.4 kB / 0.6424 GB, free: 5.422 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.0003731/0.7804, allocations: 136 kB / 0.6426 GB, free: 5.281 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007253/0.7877, allocations: 2.782 MB / 0.6453 GB, free: 2.496 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.7877, allocations: 0 / 0.6453 GB, free: 2.496 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004757/0.7925, allocations: 1.794 MB / 0.647 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/0.7937, allocations: 86.75 kB / 0.6471 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004803/0.7985, allocations: 2.469 MB / 0.6495 GB, free: 14.14 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008419/0.7994, allocations: 1.099 MB / 0.6506 GB, free: 13.01 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003782/0.7998, allocations: 71.41 kB / 0.6507 GB, free: 12.94 MB / 462.1 MB Notification: Performance of SimCode: time 9.02e-07/0.7998, allocations: 0 / 0.6507 GB, free: 12.94 MB / 462.1 MB Notification: Performance of Templates: time 0.03377/0.8336, allocations: 19.98 MB / 0.6702 GB, free: 9.105 MB / 478.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.makefile make -j1 -f OpenIPSL_dev_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_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbationCalcHelperMain.o OMCppOpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbationCalcHelperMain.o] Error 1