Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.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.Loads.PSAT.LoadTestMixed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed") translateModel(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01063/0.01063, allocations: 101.1 kB / 15.88 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 222.9 MB / 239.5 MB, free: 4.773 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.001376/0.001376, allocations: 192.5 kB / 289.8 MB, free: 2.512 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5282/0.5282, allocations: 78.52 MB / 418.4 MB, free: 3.305 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 75.89 kB / 497.4 MB, free: 6.828 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1677, allocations: 68.18 MB / 0.5523 GB, free: 2.613 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed): time 0.3184/0.4861, allocations: 5.611 MB / 0.5578 GB, free: 36.59 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003301/0.4895, allocations: 1.68 MB / 0.5594 GB, free: 36.08 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000396/0.4899, allocations: 11.16 kB / 0.5594 GB, free: 36.08 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005194/0.4905, allocations: 144.9 kB / 0.5596 GB, free: 36.07 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001297/0.4918, allocations: 0.5676 MB / 0.5601 GB, free: 35.95 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009534/0.4928, allocations: 473.2 kB / 0.5606 GB, free: 35.88 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009178/0.4937, allocations: 1.054 MB / 0.5616 GB, free: 35.82 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003947/0.4941, allocations: 238.3 kB / 0.5618 GB, free: 35.78 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004744/0.4946, allocations: 439.8 kB / 0.5623 GB, free: 35.67 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005526/0.4951, allocations: 0.5897 MB / 0.5628 GB, free: 35.52 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001155/0.4953, allocations: 57.06 kB / 0.5629 GB, free: 35.52 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003908/0.4957, allocations: 190.9 kB / 0.5631 GB, free: 35.51 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002295/0.4959, allocations: 208.6 kB / 0.5633 GB, free: 35.46 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004633/0.4964, allocations: 487.1 kB / 0.5637 GB, free: 35.28 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001081/0.4975, allocations: 0.9448 MB / 0.5647 GB, free: 35.13 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.4975, allocations: 0 / 0.5647 GB, free: 35.13 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.4975, allocations: 0 / 0.5647 GB, free: 35.13 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.154e-05/0.4975, allocations: 0 / 0.5647 GB, free: 35.13 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: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.006648/0.5042, allocations: 2.177 MB / 0.5668 GB, free: 34.33 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.5043, allocations: 10.78 kB / 0.5668 GB, free: 34.33 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003924/0.5082, allocations: 0.6452 MB / 0.5674 GB, free: 34.26 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001074/0.5093, allocations: 0.6565 MB / 0.5681 GB, free: 33.91 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001656/0.5095, allocations: 181.1 kB / 0.5682 GB, free: 33.79 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/0.5096, allocations: 62.09 kB / 0.5683 GB, free: 33.79 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001786/0.5114, allocations: 0.8848 MB / 0.5692 GB, free: 33.73 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/0.5114, allocations: 4.781 kB / 0.5692 GB, free: 33.73 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.289e-05/0.5115, allocations: 25.53 kB / 0.5692 GB, free: 33.73 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.569e-05/0.5115, allocations: 18.75 kB / 0.5692 GB, free: 33.73 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001857/0.5134, allocations: 0.9261 MB / 0.5701 GB, free: 33.72 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.00394/0.5173, allocations: 2.478 MB / 0.5725 GB, free: 33.07 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001759/0.5191, allocations: 1.124 MB / 0.5736 GB, free: 32.66 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001169/0.5203, allocations: 0.6547 MB / 0.5743 GB, free: 32.63 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.586e-05/0.5204, allocations: 19.61 kB / 0.5743 GB, free: 32.63 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.5204, allocations: 41.5 kB / 0.5743 GB, free: 32.59 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 2.715e-06/0.5204, allocations: 0 / 0.5743 GB, free: 32.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.02575/0.5462, allocations: 5.526 MB / 0.5797 GB, free: 32.2 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.331e-05/0.5463, allocations: 60.72 kB / 0.5798 GB, free: 32.14 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001486/0.5478, allocations: 0.7624 MB / 0.5805 GB, free: 31.82 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002375/0.548, allocations: 41.23 kB / 0.5806 GB, free: 31.77 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003357/0.5484, allocations: 398.7 kB / 0.581 GB, free: 31.46 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004507/0.5489, allocations: 302.5 kB / 0.5812 GB, free: 31.22 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005522/0.5494, allocations: 186.9 kB / 0.5814 GB, free: 31.13 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.5495, allocations: 351.2 kB / 0.5818 GB, free: 30.8 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001457/0.551, allocations: 0.6181 MB / 0.5824 GB, free: 30.59 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001644/0.5527, allocations: 0.7262 MB / 0.5831 GB, free: 30.27 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01969/0.5724, allocations: 4.218 MB / 0.5872 GB, free: 29.13 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-05/0.5724, allocations: 0 / 0.5872 GB, free: 29.13 MB / 430.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01373/0.5862, allocations: 3.588 MB / 0.5907 GB, free: 28.29 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.168e-05/0.5863, allocations: 7.406 kB / 0.5907 GB, free: 28.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.5863, allocations: 5.844 kB / 0.5907 GB, free: 28.29 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006317/0.5926, allocations: 1.503 MB / 0.5922 GB, free: 28.03 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001133/0.5938, allocations: 186.6 kB / 0.5924 GB, free: 28.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02269/0.6165, allocations: 7.509 MB / 0.5997 GB, free: 24.37 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0018/0.6183, allocations: 148.3 kB / 0.5998 GB, free: 24.31 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000312/0.6187, allocations: 37 kB / 0.5999 GB, free: 24.3 MB / 430.1 MB Warning: Assuming fixed start value for the following 3 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_Inputs_Outputs1.e1q:VARIABLE(start = order3_Inputs_Outputs1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real mixed.x:VARIABLE(start = -mixed.v_0 / mixed.Tfv fixed = true protected = true ) type: Real 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 (97): * Single equations (assignments): 96 * 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 {(19,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0008809/0.6196, allocations: 233.6 kB / 0.6001 GB, free: 24.12 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003771/0.62, allocations: 98.2 kB / 0.6002 GB, free: 24.07 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01258/0.6325, allocations: 3.406 MB / 0.6035 GB, free: 23.3 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.473e-05/0.6326, allocations: 8.844 kB / 0.6035 GB, free: 23.3 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.6326, allocations: 0 / 0.6035 GB, free: 23.3 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.119e-05/0.6326, allocations: 5.906 kB / 0.6035 GB, free: 23.3 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.0143/0.6469, allocations: 4.777 MB / 0.6082 GB, free: 20.78 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.487e-05/0.647, allocations: 1.062 kB / 0.6082 GB, free: 20.78 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006711/0.6477, allocations: 96.69 kB / 0.6083 GB, free: 20.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005698/0.6534, allocations: 1.535 MB / 0.6098 GB, free: 20.08 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002015/0.6536, allocations: 20.61 kB / 0.6098 GB, free: 20.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01449/0.6681, allocations: 6.704 MB / 0.6163 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.6682, allocations: 7.984 kB / 0.6164 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01207/0.6803, allocations: 4.279 MB / 0.6205 GB, free: 9.23 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004638/0.6808, allocations: 183.7 kB / 0.6207 GB, free: 9.031 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002878/0.6811, allocations: 17.12 kB / 0.6207 GB, free: 9.016 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001097/0.6822, allocations: 79.91 kB / 0.6208 GB, free: 8.938 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000636/0.6828, allocations: 172.6 kB / 0.621 GB, free: 8.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.625e-05/0.6829, allocations: 20 kB / 0.621 GB, free: 8.75 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007497/0.6837, allocations: 0.5146 MB / 0.6215 GB, free: 8.238 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6837, allocations: 0 / 0.6215 GB, free: 8.238 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00153/0.6853, allocations: 387.4 kB / 0.6219 GB, free: 7.863 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,mixed.x,mixed.y) * 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 (49): * Single equations (assignments): 48 * 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 {(20,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002946/0.6856, allocations: 123.2 kB / 0.622 GB, free: 7.734 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005432/0.691, allocations: 2.088 MB / 0.624 GB, free: 5.633 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.691, allocations: 0 / 0.624 GB, free: 5.633 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003494/0.6945, allocations: 1.323 MB / 0.6253 GB, free: 4.305 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.6956, allocations: 71.31 kB / 0.6254 GB, free: 4.238 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003734/0.6993, allocations: 2.139 MB / 0.6275 GB, free: 2.098 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004975/0.6998, allocations: 1.026 MB / 0.6285 GB, free: 1.043 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002896/0.7001, allocations: 55.41 kB / 0.6285 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of SimCode: time 1.333e-06/0.7002, allocations: 0 / 0.6285 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of Templates: time 0.02764/0.7278, allocations: 16.71 MB / 0.6448 GB, free: 464 kB / 446.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.makefile make -j1 -f OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.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.Loads.PSAT.LoadTestMixedCalcHelperMain.o OMCppOpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixedCalcHelperMain.o] Error 1