Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.101/0.101, allocations: 12.19 MB / 27.81 MB, free: 1.148 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.0008304/0.0008305, 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.647/1.647, 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.001122/0.001122, allocations: 176.5 kB / 291.3 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.545/0.545, allocations: 78.53 MB / 420.8 MB, free: 48.63 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.0008731/0.0008731, allocations: 28 kB / 0.4901 GB, free: 2.609 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4119/0.4128, allocations: 69.22 MB / 0.5577 GB, free: 43.08 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.005551/0.4184, allocations: 5.394 MB / 0.5629 GB, free: 41.7 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003039/0.4215, allocations: 1.647 MB / 0.5646 GB, free: 40.53 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003706/0.4219, allocations: 10.5 kB / 0.5646 GB, free: 40.53 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004141/0.4223, allocations: 145.2 kB / 0.5647 GB, free: 40.47 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001297/0.4236, allocations: 0.5635 MB / 0.5653 GB, free: 40.09 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.000991/0.4246, allocations: 0.4901 MB / 0.5657 GB, free: 39.84 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001222/0.4258, allocations: 1.139 MB / 0.5668 GB, free: 39.26 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003846/0.4262, allocations: 218.2 kB / 0.5671 GB, free: 39.17 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005428/0.4268, allocations: 466.6 kB / 0.5675 GB, free: 38.96 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006808/0.4274, allocations: 0.5662 MB / 0.5681 GB, free: 38.71 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001107/0.4276, allocations: 46.75 kB / 0.5681 GB, free: 38.71 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004028/0.428, allocations: 168.5 kB / 0.5683 GB, free: 38.68 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001637/0.4282, allocations: 193.8 kB / 0.5684 GB, free: 38.57 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001747/0.4283, allocations: 195.7 kB / 0.5686 GB, free: 38.44 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008608/0.4292, allocations: 0.9977 MB / 0.5696 GB, free: 38.12 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.4292, allocations: 7.938 kB / 0.5696 GB, free: 38.11 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.4292, allocations: 0 / 0.5696 GB, free: 38.11 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.129e-05/0.4292, allocations: 0 / 0.5696 GB, free: 38.11 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.005851/0.4351, allocations: 2.192 MB / 0.5718 GB, free: 37.16 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.4351, allocations: 16.77 kB / 0.5718 GB, free: 37.16 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004279/0.4394, allocations: 0.7713 MB / 0.5725 GB, free: 37.01 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009071/0.4403, allocations: 0.6678 MB / 0.5732 GB, free: 36.55 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002279/0.4406, allocations: 261.5 kB / 0.5734 GB, free: 36.33 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/0.4407, allocations: 68.06 kB / 0.5735 GB, free: 36.31 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00171/0.4424, allocations: 1.022 MB / 0.5745 GB, free: 35.95 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.4425, allocations: 5.078 kB / 0.5745 GB, free: 35.95 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.726e-05/0.4425, allocations: 35.19 kB / 0.5745 GB, free: 35.92 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.495e-05/0.4426, allocations: 17.73 kB / 0.5745 GB, free: 35.92 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001867/0.4444, allocations: 1.055 MB / 0.5756 GB, free: 35.6 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.004434/0.4489, allocations: 3.252 MB / 0.5787 GB, free: 33.72 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001689/0.4506, allocations: 1.382 MB / 0.5801 GB, free: 32.82 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001238/0.4518, allocations: 0.7756 MB / 0.5809 GB, free: 32.54 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001009/0.4519, allocations: 20.42 kB / 0.5809 GB, free: 32.53 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.452, allocations: 46.25 kB / 0.5809 GB, free: 32.48 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 2.534e-06/0.452, allocations: 0 / 0.5809 GB, free: 32.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.02171/0.4737, allocations: 8.03 MB / 0.5888 GB, free: 31.11 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/0.4738, allocations: 63.09 kB / 0.5888 GB, free: 31.04 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/0.4748, allocations: 0.7799 MB / 0.5896 GB, free: 30.71 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001215/0.475, allocations: 40.92 kB / 0.5896 GB, free: 30.67 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002755/0.4752, allocations: 432.4 kB / 0.59 GB, free: 30.32 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003146/0.4756, allocations: 301.1 kB / 0.5903 GB, free: 30.09 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.973e-05/0.4756, allocations: 19.31 kB / 0.5903 GB, free: 30.07 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.736e-05/0.4757, allocations: 345.1 kB / 0.5907 GB, free: 29.75 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001436/0.4772, allocations: 0.7315 MB / 0.5914 GB, free: 29.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001609/0.4788, allocations: 0.8609 MB / 0.5922 GB, free: 29.14 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001559/0.4804, allocations: 0.7742 MB / 0.593 GB, free: 28.84 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.4804, allocations: 1.094 kB / 0.593 GB, free: 28.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01344/0.4938, allocations: 5.038 MB / 0.5979 GB, free: 27.73 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.108e-05/0.4939, allocations: 10.19 kB / 0.5979 GB, free: 27.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/0.4939, allocations: 3.188 kB / 0.5979 GB, free: 27.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006393/0.5003, allocations: 2.087 MB / 0.5999 GB, free: 27.38 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000959/0.5013, allocations: 183.2 kB / 0.6001 GB, free: 27.36 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01987/0.5212, allocations: 9.523 MB / 0.6094 GB, free: 22.83 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/0.5226, allocations: 191.4 kB / 0.6096 GB, free: 22.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.999e-05/0.5227, allocations: 35.98 kB / 0.6096 GB, free: 22.7 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 (99): * Single equations (assignments): 98 * 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.0004036/0.5231, allocations: 228.1 kB / 0.6099 GB, free: 22.46 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.5233, allocations: 102.7 kB / 0.61 GB, free: 22.36 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01075/0.534, allocations: 4.728 MB / 0.6146 GB, free: 17.62 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.148e-06/0.534, allocations: 8 kB / 0.6146 GB, free: 17.61 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.544e-06/0.534, allocations: 0 / 0.6146 GB, free: 17.61 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.5341, allocations: 7.938 kB / 0.6146 GB, free: 17.61 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01179/0.5459, allocations: 6.28 MB / 0.6207 GB, free: 11.19 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.5459, allocations: 0 / 0.6207 GB, free: 11.19 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004313/0.5463, allocations: 99.89 kB / 0.6208 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004966/0.5513, allocations: 2.054 MB / 0.6228 GB, free: 9.035 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.663e-05/0.5514, allocations: 19.98 kB / 0.6228 GB, free: 9.016 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01479/0.5662, allocations: 8.197 MB / 0.6308 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.5662, allocations: 0 / 0.6308 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01449/0.5807, allocations: 5.72 MB / 0.6364 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004593/0.5812, allocations: 191.7 kB / 0.6366 GB, free: 10.72 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002473/0.5815, allocations: 12 kB / 0.6366 GB, free: 10.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009875/0.5825, allocations: 131.9 kB / 0.6368 GB, free: 10.58 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006893/0.5832, allocations: 200.6 kB / 0.6369 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.442e-05/0.5833, allocations: 24 kB / 0.637 GB, free: 10.36 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009206/0.5842, allocations: 0.5263 MB / 0.6375 GB, free: 9.836 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.5842, allocations: 0 / 0.6375 GB, free: 9.836 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001718/0.5859, allocations: 407.6 kB / 0.6379 GB, free: 9.438 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 (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.0003802/0.5863, allocations: 131.1 kB / 0.638 GB, free: 9.297 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0065/0.5928, allocations: 2.584 MB / 0.6405 GB, free: 6.707 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.5929, allocations: 0 / 0.6405 GB, free: 6.707 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004549/0.5974, allocations: 1.701 MB / 0.6422 GB, free: 4.996 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009637/0.5984, allocations: 75.34 kB / 0.6423 GB, free: 4.922 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004083/0.6025, allocations: 2.146 MB / 0.6443 GB, free: 2.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009069/0.6034, allocations: 1.033 MB / 0.6454 GB, free: 1.688 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003263/0.6038, allocations: 59.44 kB / 0.6454 GB, free: 1.629 MB / 446.1 MB Notification: Performance of SimCode: time 1.433e-06/0.6038, allocations: 0 / 0.6454 GB, free: 1.629 MB / 446.1 MB Notification: Performance of Templates: time 0.0276/0.6314, allocations: 17.72 MB / 0.6627 GB, free: 15.89 MB / 478.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.makefile make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.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.Order4test2CalcHelperMain.o OMCppOpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2CalcHelperMain.o] Error 1