Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_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.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008455/0.0008459, 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.466/1.466, allocations: 223.3 MB / 239.7 MB, free: 5.641 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.002436/0.002436, allocations: 180.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.5372/0.5372, allocations: 78.56 MB / 420.6 MB, free: 4.352 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004764/0.0004766, allocations: 23.88 kB / 0.4887 GB, free: 6.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1668, allocations: 69.36 MB / 0.5564 GB, free: 1 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.3069/0.4738, allocations: 5.912 MB / 0.5622 GB, free: 37.34 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004165/0.478, allocations: 1.799 MB / 0.5639 GB, free: 37.08 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008474/0.4789, allocations: 17.34 kB / 0.564 GB, free: 37.08 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005174/0.4794, allocations: 158.9 kB / 0.5641 GB, free: 37.02 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001696/0.4811, allocations: 0.5888 MB / 0.5647 GB, free: 36.83 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001256/0.4824, allocations: 0.5179 MB / 0.5652 GB, free: 36.8 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001395/0.4838, allocations: 1.282 MB / 0.5664 GB, free: 36.47 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004403/0.4843, allocations: 263.8 kB / 0.5667 GB, free: 36.43 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000612/0.4849, allocations: 0.502 MB / 0.5672 GB, free: 36.29 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007/0.4856, allocations: 0.6389 MB / 0.5678 GB, free: 36.11 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001147/0.4857, allocations: 54.19 kB / 0.5679 GB, free: 36.11 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004633/0.4862, allocations: 180 kB / 0.568 GB, free: 36.09 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000184/0.4864, allocations: 222.7 kB / 0.5682 GB, free: 36.02 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001934/0.4866, allocations: 221.7 kB / 0.5685 GB, free: 35.95 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001097/0.4877, allocations: 1.092 MB / 0.5695 GB, free: 35.75 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/0.4877, allocations: 4.5 kB / 0.5695 GB, free: 35.75 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.995e-06/0.4877, allocations: 1.281 kB / 0.5695 GB, free: 35.75 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.381e-05/0.4877, allocations: 0 / 0.5695 GB, free: 35.75 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.006985/0.4947, allocations: 2.409 MB / 0.5719 GB, free: 34.89 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.4948, allocations: 8.75 kB / 0.5719 GB, free: 34.89 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004838/0.4996, allocations: 0.7913 MB / 0.5727 GB, free: 34.79 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001548/0.5012, allocations: 0.7265 MB / 0.5734 GB, free: 34.43 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002727/0.5015, allocations: 275.1 kB / 0.5736 GB, free: 34.23 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001427/0.5017, allocations: 80.28 kB / 0.5737 GB, free: 34.23 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00232/0.504, allocations: 1.161 MB / 0.5748 GB, free: 34.16 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.504, allocations: 0 / 0.5748 GB, free: 34.16 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.271e-05/0.5041, allocations: 28.94 kB / 0.5749 GB, free: 34.16 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.117e-05/0.5041, allocations: 21.56 kB / 0.5749 GB, free: 34.16 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002554/0.5067, allocations: 1.242 MB / 0.5761 GB, free: 34 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.005479/0.5122, allocations: 3.519 MB / 0.5795 GB, free: 32.03 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002026/0.5142, allocations: 1.515 MB / 0.581 GB, free: 31.09 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001484/0.5157, allocations: 0.8784 MB / 0.5819 GB, free: 30.78 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001157/0.5159, allocations: 12.8 kB / 0.5819 GB, free: 30.77 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.5159, allocations: 50.28 kB / 0.5819 GB, free: 30.72 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 3.897e-06/0.5159, allocations: 0 / 0.5819 GB, free: 30.72 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.02559/0.5415, allocations: 8.157 MB / 0.5899 GB, free: 29.31 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.642e-05/0.5416, allocations: 61.06 kB / 0.59 GB, free: 29.24 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001363/0.543, allocations: 0.8956 MB / 0.5908 GB, free: 28.86 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002459/0.5432, allocations: 41.77 kB / 0.5909 GB, free: 28.82 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003374/0.5436, allocations: 0.4896 MB / 0.5914 GB, free: 28.42 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003456/0.5439, allocations: 347.6 kB / 0.5917 GB, free: 28.15 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.295e-05/0.544, allocations: 25.94 kB / 0.5917 GB, free: 28.13 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.739e-05/0.5441, allocations: 346.3 kB / 0.592 GB, free: 27.81 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001866/0.546, allocations: 0.8079 MB / 0.5928 GB, free: 27.55 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002007/0.548, allocations: 0.9426 MB / 0.5938 GB, free: 27.17 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002053/0.5501, allocations: 0.8564 MB / 0.5946 GB, free: 26.84 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/0.5501, allocations: 1.469 kB / 0.5946 GB, free: 26.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01741/0.5675, allocations: 5.212 MB / 0.5997 GB, free: 25.71 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.242e-05/0.5676, allocations: 7.672 kB / 0.5997 GB, free: 25.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.15e-05/0.5677, allocations: 6.125 kB / 0.5997 GB, free: 25.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007536/0.5752, allocations: 2.097 MB / 0.6017 GB, free: 25.37 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001415/0.5767, allocations: 237.2 kB / 0.602 GB, free: 25.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02378/0.6005, allocations: 9.529 MB / 0.6113 GB, free: 21.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002421/0.603, allocations: 225 kB / 0.6115 GB, free: 20.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001328/0.6031, allocations: 40.27 kB / 0.6115 GB, free: 20.86 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 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 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 (112): * Single equations (assignments): 111 * 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 {25 11} Notification: Performance of prepare postOptimizeDAE: time 0.0007144/0.6038, allocations: 245.6 kB / 0.6118 GB, free: 20.62 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002374/0.6041, allocations: 118.5 kB / 0.6119 GB, free: 20.5 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0133/0.6174, allocations: 4.948 MB / 0.6167 GB, free: 16.2 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.755e-05/0.6175, allocations: 12 kB / 0.6167 GB, free: 16.18 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.6175, allocations: 0 / 0.6167 GB, free: 16.18 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.894e-05/0.6175, allocations: 3.984 kB / 0.6167 GB, free: 16.18 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01352/0.631, allocations: 6.557 MB / 0.6231 GB, free: 9.484 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.258e-05/0.6311, allocations: 6.531 kB / 0.6231 GB, free: 9.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007379/0.6319, allocations: 143.8 kB / 0.6233 GB, free: 9.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005109/0.637, allocations: 2.053 MB / 0.6253 GB, free: 7.285 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002044/0.6372, allocations: 19.94 kB / 0.6253 GB, free: 7.266 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01614/0.6534, allocations: 8.217 MB / 0.6333 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.279e-06/0.6534, allocations: 3.953 kB / 0.6333 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01689/0.6703, allocations: 5.986 MB / 0.6392 GB, free: 8.895 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007787/0.6712, allocations: 203.4 kB / 0.6394 GB, free: 8.676 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006011/0.6718, allocations: 20 kB / 0.6394 GB, free: 8.656 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001654/0.6735, allocations: 164.9 kB / 0.6395 GB, free: 8.496 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001138/0.6747, allocations: 216.6 kB / 0.6397 GB, free: 8.285 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000172/0.6748, allocations: 20.75 kB / 0.6398 GB, free: 8.266 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001195/0.6761, allocations: 0.5969 MB / 0.6403 GB, free: 7.656 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6761, allocations: 0 / 0.6403 GB, free: 7.656 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002338/0.6784, allocations: 443.4 kB / 0.6408 GB, free: 7.223 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q) * 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 (64): * Single equations (assignments): 63 * 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.0004264/0.6789, allocations: 128.2 kB / 0.6409 GB, free: 7.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007639/0.6865, allocations: 2.773 MB / 0.6436 GB, free: 4.312 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/0.6866, allocations: 4 kB / 0.6436 GB, free: 4.309 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005119/0.6917, allocations: 1.795 MB / 0.6454 GB, free: 2.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001597/0.6933, allocations: 90.44 kB / 0.6454 GB, free: 2.414 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005181/0.6985, allocations: 2.4 MB / 0.6478 GB, free: 20 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00102/0.6996, allocations: 1.095 MB / 0.6489 GB, free: 14.89 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004368/0.7, allocations: 71.41 kB / 0.6489 GB, free: 14.82 MB / 462.1 MB Notification: Performance of SimCode: time 1.192e-06/0.7, allocations: 0 / 0.6489 GB, free: 14.82 MB / 462.1 MB Notification: Performance of Templates: time 0.03559/0.7356, allocations: 20.06 MB / 0.6685 GB, free: 10.91 MB / 478.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.makefile make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_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_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbationCalcHelperMain.o OMCppOpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbationCalcHelperMain.o] Error 1