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.0008677/0.0008679, 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.48/1.48, allocations: 223.2 MB / 239.7 MB, free: 5.648 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.001356/0.001356, allocations: 176.5 kB / 290.9 MB, free: 2.328 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5845/0.5845, allocations: 78.56 MB / 420.6 MB, free: 4.398 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000386/0.000386, allocations: 11.94 kB / 0.4887 GB, free: 6.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1542, allocations: 69.38 MB / 0.5564 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed): time 0.3117/0.466, allocations: 4.877 MB / 0.5612 GB, free: 37.57 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003439/0.4695, allocations: 1.571 MB / 0.5627 GB, free: 37.34 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000606/0.4701, allocations: 11.72 kB / 0.5627 GB, free: 37.34 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004658/0.4706, allocations: 133.8 kB / 0.5629 GB, free: 37.29 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001559/0.4721, allocations: 0.5188 MB / 0.5634 GB, free: 37.14 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001102/0.4732, allocations: 439 kB / 0.5638 GB, free: 37.11 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001388/0.4746, allocations: 0.9906 MB / 0.5648 GB, free: 36.87 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003908/0.475, allocations: 211.9 kB / 0.565 GB, free: 36.84 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006029/0.4757, allocations: 402 kB / 0.5653 GB, free: 36.74 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006112/0.4763, allocations: 0.5409 MB / 0.5659 GB, free: 36.62 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.81e-05/0.4764, allocations: 42.41 kB / 0.5659 GB, free: 36.62 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00044/0.4768, allocations: 172.3 kB / 0.5661 GB, free: 36.61 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001656/0.477, allocations: 190 kB / 0.5663 GB, free: 36.57 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001495/0.4772, allocations: 181.2 kB / 0.5664 GB, free: 36.5 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000916/0.4781, allocations: 0.9246 MB / 0.5673 GB, free: 36.4 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.4781, allocations: 0 / 0.5673 GB, free: 36.4 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.4781, allocations: 7.875 kB / 0.5673 GB, free: 36.39 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.4781, allocations: 1.219 kB / 0.5673 GB, free: 36.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: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.005857/0.484, allocations: 2.051 MB / 0.5693 GB, free: 35.65 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/0.4841, allocations: 8.844 kB / 0.5694 GB, free: 35.65 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003946/0.488, allocations: 0.6483 MB / 0.57 GB, free: 35.59 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001226/0.4893, allocations: 0.6154 MB / 0.5706 GB, free: 35.29 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001958/0.4895, allocations: 189.1 kB / 0.5708 GB, free: 35.16 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001633/0.4896, allocations: 60.5 kB / 0.5708 GB, free: 35.16 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001884/0.4915, allocations: 0.9493 MB / 0.5718 GB, free: 35.11 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.4916, allocations: 1.406 kB / 0.5718 GB, free: 35.11 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.745e-05/0.4917, allocations: 25.47 kB / 0.5718 GB, free: 35.11 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.796e-05/0.4917, allocations: 14 kB / 0.5718 GB, free: 35.11 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001971/0.4937, allocations: 1.001 MB / 0.5728 GB, free: 35.09 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.004238/0.4979, allocations: 2.544 MB / 0.5753 GB, free: 34.42 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001893/0.4998, allocations: 1.182 MB / 0.5764 GB, free: 33.9 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001229/0.5011, allocations: 0.7199 MB / 0.5771 GB, free: 33.63 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001062/0.5012, allocations: 14.61 kB / 0.5771 GB, free: 33.63 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.5012, allocations: 46.5 kB / 0.5772 GB, free: 33.58 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 3.276e-06/0.5012, allocations: 0 / 0.5772 GB, free: 33.58 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.02075/0.522, allocations: 6.673 MB / 0.5837 GB, free: 32.38 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.266e-05/0.5221, allocations: 64.16 kB / 0.5837 GB, free: 32.32 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001218/0.5233, allocations: 0.7615 MB / 0.5845 GB, free: 31.98 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002311/0.5235, allocations: 40.7 kB / 0.5845 GB, free: 31.94 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003089/0.5238, allocations: 399.4 kB / 0.5849 GB, free: 31.63 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003254/0.5242, allocations: 298.6 kB / 0.5852 GB, free: 31.4 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.481e-05/0.5243, allocations: 20.38 kB / 0.5852 GB, free: 31.39 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.5244, allocations: 341.5 kB / 0.5855 GB, free: 31.07 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001452/0.5258, allocations: 0.6833 MB / 0.5862 GB, free: 30.84 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001534/0.5274, allocations: 0.7914 MB / 0.587 GB, free: 30.52 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002295/0.5297, allocations: 0.7343 MB / 0.5877 GB, free: 30.23 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/0.5297, allocations: 5.281 kB / 0.5877 GB, free: 30.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01242/0.5421, allocations: 4.392 MB / 0.592 GB, free: 29.24 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.261e-05/0.5422, allocations: 10.12 kB / 0.592 GB, free: 29.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-05/0.5422, allocations: 2.625 kB / 0.592 GB, free: 29.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006499/0.5488, allocations: 1.83 MB / 0.5938 GB, free: 28.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001051/0.5498, allocations: 174 kB / 0.594 GB, free: 28.92 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02068/0.5705, allocations: 8.635 MB / 0.6024 GB, free: 25.01 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001721/0.5723, allocations: 181.3 kB / 0.6026 GB, free: 24.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/0.5725, allocations: 35.91 kB / 0.6026 GB, free: 24.94 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 mixed.y:VARIABLE(start = 0.0 fixed = true protected = true ) 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 (94): * Single equations (assignments): 93 * 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 {19 19} Notification: Performance of prepare postOptimizeDAE: time 0.0005299/0.573, allocations: 226.5 kB / 0.6028 GB, free: 24.76 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001744/0.5732, allocations: 97.84 kB / 0.6029 GB, free: 24.71 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01242/0.5856, allocations: 4.14 MB / 0.6069 GB, free: 23.82 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.64e-05/0.5857, allocations: 9.734 kB / 0.607 GB, free: 23.82 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.5857, allocations: 5.375 kB / 0.607 GB, free: 23.81 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.915e-05/0.5858, allocations: 7.344 kB / 0.607 GB, free: 23.81 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.01473/0.6005, allocations: 5.509 MB / 0.6123 GB, free: 20.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.008e-05/0.6006, allocations: 4 kB / 0.6124 GB, free: 20.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006594/0.6012, allocations: 99.88 kB / 0.6124 GB, free: 20.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005101/0.6064, allocations: 1.778 MB / 0.6142 GB, free: 18.74 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001903/0.6066, allocations: 15.98 kB / 0.6142 GB, free: 18.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01354/0.6201, allocations: 7.397 MB / 0.6214 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.6202, allocations: 4.547 kB / 0.6214 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01153/0.6317, allocations: 5.073 MB / 0.6264 GB, free: 6.102 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004517/0.6322, allocations: 187.7 kB / 0.6266 GB, free: 5.898 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/0.6324, allocations: 19.98 kB / 0.6266 GB, free: 5.879 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008054/0.6332, allocations: 115.9 kB / 0.6267 GB, free: 5.766 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005599/0.6337, allocations: 168.7 kB / 0.6268 GB, free: 5.602 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-05/0.6338, allocations: 20.88 kB / 0.6269 GB, free: 5.582 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005935/0.6344, allocations: 0.5146 MB / 0.6274 GB, free: 5.07 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6344, allocations: 0 / 0.6274 GB, free: 5.07 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001301/0.6357, allocations: 379.7 kB / 0.6277 GB, free: 4.699 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 (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 {20 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002804/0.636, allocations: 134 kB / 0.6279 GB, free: 4.559 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005106/0.6411, allocations: 2.34 MB / 0.6301 GB, free: 2.207 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.6412, allocations: 0 / 0.6301 GB, free: 2.207 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003344/0.6445, allocations: 1.51 MB / 0.6316 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008714/0.6454, allocations: 75.81 kB / 0.6317 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003584/0.649, allocations: 2.099 MB / 0.6337 GB, free: 14.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008017/0.6498, allocations: 1.025 MB / 0.6347 GB, free: 13.46 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000296/0.6501, allocations: 55.41 kB / 0.6348 GB, free: 13.41 MB / 446.1 MB Notification: Performance of SimCode: time 1.082e-06/0.6501, allocations: 0.8438 kB / 0.6348 GB, free: 13.41 MB / 446.1 MB Notification: Performance of Templates: time 0.02641/0.6765, allocations: 16.69 MB / 0.6511 GB, free: 12.88 MB / 462.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.makefile make -j1 -f OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.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.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