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.0009064/0.0009066, allocations: 99.42 kB / 16.02 MB, free: 76 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.373/1.373, allocations: 223.3 MB / 240 MB, free: 5.527 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.0009819/0.0009819, allocations: 168.6 kB / 291.2 MB, free: 2.207 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4941/0.4941, allocations: 78.54 MB / 420.9 MB, free: 4.254 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003904/0.0003905, allocations: 12 kB / 0.4893 GB, free: 6.035 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1503, allocations: 69.36 MB / 0.557 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.3039/0.4542, allocations: 6.349 MB / 0.5632 GB, free: 35.93 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004103/0.4583, allocations: 1.893 MB / 0.5651 GB, free: 35.15 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008294/0.4592, allocations: 13.09 kB / 0.5651 GB, free: 35.15 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005335/0.4597, allocations: 184.1 kB / 0.5653 GB, free: 35.08 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001664/0.4614, allocations: 0.6146 MB / 0.5659 GB, free: 34.79 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.001261/0.4627, allocations: 0.5753 MB / 0.5664 GB, free: 34.69 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001288/0.464, allocations: 1.355 MB / 0.5677 GB, free: 34.36 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004048/0.4644, allocations: 288.6 kB / 0.568 GB, free: 34.31 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005651/0.465, allocations: 0.5182 MB / 0.5685 GB, free: 34.15 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006596/0.4656, allocations: 0.6649 MB / 0.5692 GB, free: 33.94 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001119/0.4658, allocations: 53.72 kB / 0.5692 GB, free: 33.94 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004064/0.4662, allocations: 187 kB / 0.5694 GB, free: 33.93 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001631/0.4663, allocations: 223.5 kB / 0.5696 GB, free: 33.86 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004152/0.4668, allocations: 0.5894 MB / 0.5702 GB, free: 33.59 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008663/0.4676, allocations: 1.098 MB / 0.5713 GB, free: 33.39 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.4676, allocations: 0 / 0.5713 GB, free: 33.39 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.4677, allocations: 3.938 kB / 0.5713 GB, free: 33.38 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.243e-05/0.4677, allocations: 2.125 kB / 0.5713 GB, free: 33.38 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.007027/0.4747, allocations: 2.395 MB / 0.5736 GB, free: 32.52 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.4748, allocations: 8.719 kB / 0.5736 GB, free: 32.52 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004728/0.4795, allocations: 0.7882 MB / 0.5744 GB, free: 32.42 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001177/0.4807, allocations: 0.7682 MB / 0.5751 GB, free: 32.01 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002595/0.481, allocations: 274 kB / 0.5754 GB, free: 31.81 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001447/0.4811, allocations: 79.73 kB / 0.5755 GB, free: 31.81 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002242/0.4834, allocations: 1.169 MB / 0.5766 GB, free: 31.74 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.4834, allocations: 3.938 kB / 0.5766 GB, free: 31.74 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.134e-05/0.4835, allocations: 30.38 kB / 0.5767 GB, free: 31.74 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.771e-05/0.4835, allocations: 22.3 kB / 0.5767 GB, free: 31.73 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002395/0.4859, allocations: 1.24 MB / 0.5779 GB, free: 31.71 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.005294/0.4912, allocations: 3.534 MB / 0.5813 GB, free: 30.7 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002079/0.4933, allocations: 1.526 MB / 0.5828 GB, free: 29.95 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001518/0.4949, allocations: 0.8761 MB / 0.5837 GB, free: 29.63 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.795e-05/0.495, allocations: 18.41 kB / 0.5837 GB, free: 29.62 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.495, allocations: 45.72 kB / 0.5837 GB, free: 29.58 MB / 430.1 MB Notification: Performance of pre-optimization done (n=98): time 3.687e-06/0.495, allocations: 4 kB / 0.5837 GB, free: 29.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=98): time 0.02829/0.5233, allocations: 8.208 MB / 0.5918 GB, free: 28.14 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.5234, allocations: 65.62 kB / 0.5918 GB, free: 28.07 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001368/0.5248, allocations: 0.8931 MB / 0.5927 GB, free: 27.7 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002789/0.5251, allocations: 44.3 kB / 0.5927 GB, free: 27.65 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003323/0.5254, allocations: 491 kB / 0.5932 GB, free: 27.27 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003515/0.5258, allocations: 356.9 kB / 0.5935 GB, free: 26.98 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001669/0.5259, allocations: 104.1 kB / 0.5936 GB, free: 26.93 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.307e-05/0.526, allocations: 351.6 kB / 0.594 GB, free: 26.61 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001812/0.5279, allocations: 0.8224 MB / 0.5948 GB, free: 26.34 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001876/0.5297, allocations: 0.9541 MB / 0.5957 GB, free: 25.96 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01994/0.5497, allocations: 5.419 MB / 0.601 GB, free: 24.56 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-05/0.5497, allocations: 1.656 kB / 0.601 GB, free: 24.56 MB / 430.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01612/0.5659, allocations: 5.224 MB / 0.6061 GB, free: 23.41 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.39e-05/0.566, allocations: 6.75 kB / 0.6061 GB, free: 23.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.048e-05/0.566, allocations: 4.062 kB / 0.6061 GB, free: 23.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006823/0.5728, allocations: 2.04 MB / 0.6081 GB, free: 23.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0013/0.5741, allocations: 240.7 kB / 0.6083 GB, free: 23.05 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02/0.5942, allocations: 9.322 MB / 0.6174 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001682/0.5959, allocations: 231.4 kB / 0.6177 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002221/0.5961, allocations: 43.98 kB / 0.6177 GB, free: 15.42 MB / 430.1 MB Warning: Assuming fixed start value for the following 1 variables: Generator.e1q:VARIABLE(start = Generator.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: 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 (117): * Single equations (assignments): 116 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0006451/0.5968, allocations: 229.7 kB / 0.6179 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003222/0.5971, allocations: 124.3 kB / 0.618 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01299/0.6101, allocations: 4.963 MB / 0.6229 GB, free: 10.08 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2e-05/0.6102, allocations: 9.125 kB / 0.6229 GB, free: 10.07 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.6102, allocations: 0 / 0.6229 GB, free: 10.07 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.218e-05/0.6102, allocations: 3.984 kB / 0.6229 GB, free: 10.07 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01564/0.6259, allocations: 6.547 MB / 0.6293 GB, free: 3.383 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-05/0.6259, allocations: 9.641 kB / 0.6293 GB, free: 3.375 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00081/0.6268, allocations: 147.8 kB / 0.6295 GB, free: 3.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005801/0.6326, allocations: 2.052 MB / 0.6315 GB, free: 1.176 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00025/0.6329, allocations: 17.45 kB / 0.6315 GB, free: 1.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02074/0.6536, allocations: 8.215 MB / 0.6395 GB, free: 8.805 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/0.6537, allocations: 0 / 0.6395 GB, free: 8.805 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01791/0.6716, allocations: 5.987 MB / 0.6453 GB, free: 2.793 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006049/0.6723, allocations: 203.4 kB / 0.6455 GB, free: 2.574 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000465/0.6727, allocations: 17 kB / 0.6456 GB, free: 2.559 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001501/0.6743, allocations: 163.8 kB / 0.6457 GB, free: 2.398 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008822/0.6752, allocations: 216.6 kB / 0.6459 GB, free: 2.184 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001602/0.6753, allocations: 20 kB / 0.6459 GB, free: 2.164 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00113/0.6765, allocations: 0.6008 MB / 0.6465 GB, free: 1.555 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/0.6765, allocations: 1.312 kB / 0.6465 GB, free: 1.555 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002049/0.6786, allocations: 439.5 kB / 0.6469 GB, free: 1.125 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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003888/0.679, allocations: 127.1 kB / 0.6471 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007997/0.687, allocations: 2.781 MB / 0.6498 GB, free: 14.2 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.687, allocations: 0 / 0.6498 GB, free: 14.2 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005448/0.6925, allocations: 1.802 MB / 0.6515 GB, free: 12.39 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001266/0.6937, allocations: 85.41 kB / 0.6516 GB, free: 12.3 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004943/0.6987, allocations: 2.598 MB / 0.6542 GB, free: 9.715 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008339/0.6996, allocations: 1.095 MB / 0.6552 GB, free: 8.594 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003784/0.7, allocations: 75.41 kB / 0.6553 GB, free: 8.52 MB / 462.1 MB Notification: Performance of SimCode: time 1.763e-06/0.7, allocations: 0 / 0.6553 GB, free: 8.52 MB / 462.1 MB Notification: Performance of Templates: time 0.0316/0.7316, allocations: 19.94 MB / 0.6748 GB, free: 4.711 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++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/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