Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 96.14 kB / 15.87 MB, free: 16 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.452/1.452, allocations: 222.9 MB / 239.5 MB, free: 4.758 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.001561/0.001561, allocations: 192.5 kB / 289.8 MB, free: 2.496 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5718/0.5718, allocations: 78.52 MB / 418.4 MB, free: 3.277 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 79.88 kB / 497.4 MB, free: 6.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1674, allocations: 68.16 MB / 0.5523 GB, free: 2.586 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.3593/0.5267, allocations: 6.134 MB / 0.5583 GB, free: 36.36 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003257/0.53, allocations: 1.786 MB / 0.56 GB, free: 35.83 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004453/0.5304, allocations: 14.72 kB / 0.5601 GB, free: 35.82 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000502/0.531, allocations: 164.2 kB / 0.5602 GB, free: 35.82 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001466/0.5325, allocations: 0.6048 MB / 0.5608 GB, free: 35.68 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.001178/0.5337, allocations: 0.5337 MB / 0.5613 GB, free: 35.6 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001265/0.5349, allocations: 1.196 MB / 0.5625 GB, free: 35.54 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003845/0.5353, allocations: 236.4 kB / 0.5627 GB, free: 35.49 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006359/0.536, allocations: 495.3 kB / 0.5632 GB, free: 35.37 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000556/0.5365, allocations: 0.6201 MB / 0.5638 GB, free: 35.21 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001061/0.5367, allocations: 57.31 kB / 0.5639 GB, free: 35.21 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004591/0.5371, allocations: 181.3 kB / 0.564 GB, free: 35.2 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001965/0.5373, allocations: 212.6 kB / 0.5642 GB, free: 35.15 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004125/0.5378, allocations: 0.5264 MB / 0.5647 GB, free: 34.95 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009706/0.5387, allocations: 1.021 MB / 0.5657 GB, free: 34.79 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.361e-06/0.5387, allocations: 0 / 0.5657 GB, free: 34.79 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.5388, allocations: 0 / 0.5657 GB, free: 34.79 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.69e-05/0.5388, allocations: 3.062 kB / 0.5657 GB, free: 34.79 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.007713/0.5465, allocations: 2.342 MB / 0.568 GB, free: 33.96 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.328e-05/0.5466, allocations: 9.75 kB / 0.568 GB, free: 33.96 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004697/0.5513, allocations: 0.7626 MB / 0.5688 GB, free: 33.89 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/0.5523, allocations: 0.6955 MB / 0.5695 GB, free: 33.54 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002465/0.5526, allocations: 257.7 kB / 0.5697 GB, free: 33.35 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/0.5527, allocations: 68.19 kB / 0.5698 GB, free: 33.35 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001917/0.5546, allocations: 0.9584 MB / 0.5707 GB, free: 33.29 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.5547, allocations: 3.938 kB / 0.5707 GB, free: 33.29 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-05/0.5548, allocations: 29.12 kB / 0.5707 GB, free: 33.29 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.749e-05/0.5548, allocations: 18.36 kB / 0.5708 GB, free: 33.29 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001973/0.5568, allocations: 0.9767 MB / 0.5717 GB, free: 33.27 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.005393/0.5622, allocations: 3.178 MB / 0.5748 GB, free: 32.32 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001964/0.5641, allocations: 1.31 MB / 0.5761 GB, free: 31.73 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00129/0.5654, allocations: 0.7112 MB / 0.5768 GB, free: 31.7 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001242/0.5656, allocations: 19.92 kB / 0.5768 GB, free: 31.7 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.5656, allocations: 40.38 kB / 0.5768 GB, free: 31.66 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 3.386e-06/0.5656, allocations: 0 / 0.5768 GB, free: 31.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.02728/0.5929, allocations: 6.477 MB / 0.5832 GB, free: 30.57 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.593, allocations: 63.5 kB / 0.5832 GB, free: 30.51 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001323/0.5943, allocations: 0.7899 MB / 0.584 GB, free: 30.18 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001707/0.5945, allocations: 41.86 kB / 0.584 GB, free: 30.14 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002861/0.5948, allocations: 434 kB / 0.5845 GB, free: 29.79 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003183/0.5951, allocations: 298.4 kB / 0.5847 GB, free: 29.56 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003881/0.5955, allocations: 193.3 kB / 0.5849 GB, free: 29.46 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.4e-05/0.5956, allocations: 344.4 kB / 0.5853 GB, free: 29.14 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001455/0.5971, allocations: 0.6597 MB / 0.5859 GB, free: 28.9 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001607/0.5987, allocations: 0.788 MB / 0.5867 GB, free: 28.55 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01932/0.618, allocations: 4.522 MB / 0.5911 GB, free: 27.3 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.259e-05/0.6181, allocations: 0 / 0.5911 GB, free: 27.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01485/0.633, allocations: 4.079 MB / 0.5951 GB, free: 26.34 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.186e-05/0.6331, allocations: 6.219 kB / 0.5951 GB, free: 26.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.254e-05/0.6331, allocations: 3.094 kB / 0.5951 GB, free: 26.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006684/0.6398, allocations: 1.736 MB / 0.5968 GB, free: 26.04 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/0.641, allocations: 189.2 kB / 0.597 GB, free: 26.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02123/0.6623, allocations: 8.325 MB / 0.6051 GB, free: 22.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00169/0.664, allocations: 156.5 kB / 0.6052 GB, free: 22.04 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/0.6641, allocations: 35.39 kB / 0.6053 GB, free: 22.03 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 (101): * Single equations (assignments): 100 * 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.0005535/0.6647, allocations: 224.3 kB / 0.6055 GB, free: 21.84 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002134/0.6649, allocations: 107.9 kB / 0.6056 GB, free: 21.79 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0126/0.6775, allocations: 3.814 MB / 0.6093 GB, free: 20.12 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.291e-05/0.6776, allocations: 8.812 kB / 0.6093 GB, free: 20.12 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.6776, allocations: 0.8125 kB / 0.6093 GB, free: 20.12 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-05/0.6777, allocations: 6.766 kB / 0.6093 GB, free: 20.12 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01363/0.6913, allocations: 5.385 MB / 0.6146 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.681e-05/0.6914, allocations: 1.453 kB / 0.6146 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005683/0.692, allocations: 87.89 kB / 0.6147 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005256/0.6972, allocations: 1.744 MB / 0.6164 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001706/0.6974, allocations: 16 kB / 0.6164 GB, free: 13.51 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01547/0.7129, allocations: 7.341 MB / 0.6236 GB, free: 6.031 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.713, allocations: 4.719 kB / 0.6236 GB, free: 6.027 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01334/0.7263, allocations: 4.739 MB / 0.6282 GB, free: 1.266 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004993/0.7269, allocations: 195.6 kB / 0.6284 GB, free: 1.055 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001499/0.727, allocations: 8 kB / 0.6284 GB, free: 1.047 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009068/0.7279, allocations: 93.02 kB / 0.6285 GB, free: 0.957 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000765/0.7287, allocations: 192.7 kB / 0.6287 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.465e-05/0.7288, allocations: 31.92 kB / 0.6287 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006762/0.7295, allocations: 0.5303 MB / 0.6292 GB, free: 216 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.7295, allocations: 0.5625 kB / 0.6292 GB, free: 216 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.001593/0.7311, allocations: 407.6 kB / 0.6296 GB, free: 15.81 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 (50): * Single equations (assignments): 49 * 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.00036/0.7315, allocations: 131.1 kB / 0.6297 GB, free: 15.67 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006761/0.7382, allocations: 2.262 MB / 0.6319 GB, free: 13.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.7383, allocations: 1.031 kB / 0.6319 GB, free: 13.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004398/0.7427, allocations: 1.466 MB / 0.6334 GB, free: 11.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009254/0.7436, allocations: 82.86 kB / 0.6334 GB, free: 11.85 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003947/0.7476, allocations: 2.188 MB / 0.6356 GB, free: 9.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006542/0.7482, allocations: 1.033 MB / 0.6366 GB, free: 8.602 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002659/0.7485, allocations: 59.98 kB / 0.6366 GB, free: 8.543 MB / 446.1 MB Notification: Performance of SimCode: time 1.453e-06/0.7485, allocations: 0 / 0.6366 GB, free: 8.543 MB / 446.1 MB Notification: Performance of Templates: time 0.02562/0.7741, allocations: 17.8 MB / 0.654 GB, free: 6.895 MB / 462.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.makefile make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.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.Order4test2CalcHelperMain.o OMCppOpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2CalcHelperMain.o] Error 1