Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.1013/0.1013, allocations: 12.2 MB / 27.81 MB, free: 1.059 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008846/0.0008846, allocations: 107.5 kB / 31.32 MB, free: 4.633 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.592/1.592, allocations: 205.4 MB / 240.1 MB, free: 11.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001629/0.001629, allocations: 180.2 kB / 291.2 MB, free: 13.41 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.5075/0.5075, allocations: 78.53 MB / 420.8 MB, free: 48.59 MB / 334.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009036/0.000904, allocations: 32 kB / 0.4901 GB, free: 2.629 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4224/0.4233, allocations: 69.23 MB / 0.5577 GB, free: 43.15 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.006218/0.4295, allocations: 6.005 MB / 0.5635 GB, free: 41.35 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004093/0.4337, allocations: 1.774 MB / 0.5653 GB, free: 40.09 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006683/0.4344, allocations: 12.06 kB / 0.5653 GB, free: 40.09 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005085/0.4349, allocations: 157.5 kB / 0.5654 GB, free: 40.02 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001578/0.4365, allocations: 0.5986 MB / 0.566 GB, free: 39.61 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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.001266/0.4377, allocations: 0.5232 MB / 0.5665 GB, free: 39.35 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001532/0.4393, allocations: 1.289 MB / 0.5678 GB, free: 38.69 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004689/0.4398, allocations: 271.7 kB / 0.568 GB, free: 38.57 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006712/0.4404, allocations: 0.5044 MB / 0.5685 GB, free: 38.34 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006722/0.4411, allocations: 0.6361 MB / 0.5692 GB, free: 38.06 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000123/0.4412, allocations: 52.03 kB / 0.5692 GB, free: 38.06 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004447/0.4417, allocations: 186.5 kB / 0.5694 GB, free: 38.02 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001702/0.4419, allocations: 219.3 kB / 0.5696 GB, free: 37.89 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001954/0.4421, allocations: 224.5 kB / 0.5698 GB, free: 37.74 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00092/0.443, allocations: 1.092 MB / 0.5709 GB, free: 37.4 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.443, allocations: 0 / 0.5709 GB, free: 37.4 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.443, allocations: 0 / 0.5709 GB, free: 37.4 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.359e-05/0.443, allocations: 0 / 0.5709 GB, free: 37.4 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.006376/0.4494, allocations: 2.412 MB / 0.5732 GB, free: 36.35 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.4495, allocations: 12.67 kB / 0.5732 GB, free: 36.35 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004347/0.4538, allocations: 0.7817 MB / 0.574 GB, free: 36.2 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001098/0.4549, allocations: 0.7301 MB / 0.5747 GB, free: 35.69 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002421/0.4552, allocations: 276.3 kB / 0.575 GB, free: 35.46 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001308/0.4553, allocations: 74.84 kB / 0.575 GB, free: 35.43 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002197/0.4575, allocations: 1.165 MB / 0.5762 GB, free: 35.04 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.4576, allocations: 0 / 0.5762 GB, free: 35.04 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.438e-05/0.4577, allocations: 32.62 kB / 0.5762 GB, free: 35.02 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.802e-05/0.4577, allocations: 22.98 kB / 0.5762 GB, free: 35.02 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002315/0.46, allocations: 1.235 MB / 0.5774 GB, free: 34.66 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.004859/0.4649, allocations: 3.537 MB / 0.5809 GB, free: 32.66 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001797/0.4667, allocations: 1.517 MB / 0.5824 GB, free: 31.72 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001402/0.4681, allocations: 0.872 MB / 0.5832 GB, free: 31.42 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001165/0.4682, allocations: 15.95 kB / 0.5832 GB, free: 31.41 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.4682, allocations: 42.44 kB / 0.5833 GB, free: 31.36 MB / 430.1 MB Notification: Performance of pre-optimization done (n=98): time 2.435e-06/0.4683, allocations: 2.844 kB / 0.5833 GB, free: 31.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=98): time 0.02277/0.491, allocations: 8.179 MB / 0.5913 GB, free: 29.94 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.119e-05/0.4911, allocations: 61.62 kB / 0.5913 GB, free: 29.88 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001861/0.493, allocations: 0.8799 MB / 0.5922 GB, free: 29.5 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001929/0.4932, allocations: 45.3 kB / 0.5922 GB, free: 29.46 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003327/0.4935, allocations: 0.4895 MB / 0.5927 GB, free: 29.06 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003441/0.4939, allocations: 351.5 kB / 0.5931 GB, free: 28.79 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.935e-05/0.494, allocations: 29.38 kB / 0.5931 GB, free: 28.77 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.264e-05/0.4941, allocations: 351.1 kB / 0.5934 GB, free: 28.44 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001822/0.4959, allocations: 0.8198 MB / 0.5942 GB, free: 28.18 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001756/0.4977, allocations: 0.9444 MB / 0.5951 GB, free: 27.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001821/0.4995, allocations: 0.8741 MB / 0.596 GB, free: 27.46 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.4995, allocations: 1.531 kB / 0.596 GB, free: 27.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01626/0.5158, allocations: 5.241 MB / 0.6011 GB, free: 26.31 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.214e-05/0.5159, allocations: 13.94 kB / 0.6011 GB, free: 26.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-05/0.5159, allocations: 3.453 kB / 0.6011 GB, free: 26.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006551/0.5225, allocations: 2.093 MB / 0.6032 GB, free: 25.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/0.5237, allocations: 234.1 kB / 0.6034 GB, free: 25.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01889/0.5426, allocations: 9.516 MB / 0.6127 GB, free: 19.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001549/0.5442, allocations: 222.9 kB / 0.6129 GB, free: 19.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.723e-05/0.5443, allocations: 39.98 kB / 0.6129 GB, free: 19.29 MB / 430.1 MB Warning: Assuming fixed start value for the following 1 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" fixed = true ) "d-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 (115): * Single equations (assignments): 114 * 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 {24 13} Notification: Performance of prepare postOptimizeDAE: time 0.0004793/0.5448, allocations: 248 kB / 0.6132 GB, free: 19.04 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001845/0.545, allocations: 122.5 kB / 0.6133 GB, free: 18.91 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01101/0.556, allocations: 4.956 MB / 0.6181 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.299e-05/0.5561, allocations: 11.94 kB / 0.6181 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.5561, allocations: 0 / 0.6181 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.886e-05/0.5561, allocations: 3.984 kB / 0.6181 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01273/0.5688, allocations: 6.553 MB / 0.6245 GB, free: 7.234 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.5689, allocations: 0 / 0.6245 GB, free: 7.234 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006827/0.5696, allocations: 151.8 kB / 0.6247 GB, free: 7.086 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005048/0.5746, allocations: 2.054 MB / 0.6267 GB, free: 5.027 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000123/0.5748, allocations: 19.94 kB / 0.6267 GB, free: 5.008 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01595/0.5907, allocations: 8.184 MB / 0.6347 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.5908, allocations: 0 / 0.6347 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01706/0.6079, allocations: 5.989 MB / 0.6406 GB, free: 6.672 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006056/0.6085, allocations: 207.4 kB / 0.6408 GB, free: 6.449 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002279/0.6088, allocations: 16 kB / 0.6408 GB, free: 6.434 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001339/0.6101, allocations: 151.9 kB / 0.6409 GB, free: 6.285 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009185/0.611, allocations: 224.5 kB / 0.6411 GB, free: 6.066 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001029/0.6112, allocations: 27.98 kB / 0.6412 GB, free: 6.039 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001224/0.6124, allocations: 0.5813 MB / 0.6417 GB, free: 5.449 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/0.6124, allocations: 0 / 0.6417 GB, free: 5.449 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001889/0.6143, allocations: 447.5 kB / 0.6421 GB, free: 5.012 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 (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.0003851/0.6147, allocations: 127.2 kB / 0.6423 GB, free: 4.875 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008742/0.6234, allocations: 2.79 MB / 0.645 GB, free: 2.086 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/0.6235, allocations: 0 / 0.645 GB, free: 2.086 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007059/0.6306, allocations: 1.802 MB / 0.6468 GB, free: 272 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001528/0.6321, allocations: 84.92 kB / 0.6468 GB, free: 188 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006535/0.6387, allocations: 2.48 MB / 0.6493 GB, free: 13.68 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001009/0.6397, allocations: 1.099 MB / 0.6503 GB, free: 12.54 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004897/0.6403, allocations: 63.42 kB / 0.6504 GB, free: 12.48 MB / 462.1 MB Notification: Performance of SimCode: time 1.032e-06/0.6403, allocations: 0 / 0.6504 GB, free: 12.48 MB / 462.1 MB Notification: Performance of Templates: time 0.03449/0.6748, allocations: 19.99 MB / 0.6699 GB, free: 8.484 MB / 478.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.makefile make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_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_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbationCalcHelperMain.o OMCppOpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbationCalcHelperMain.o] Error 1