Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 99.12 kB / 15.71 MB, free: 440 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.436/1.436, allocations: 223.3 MB / 239.7 MB, free: 5.637 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.001766/0.001767, allocations: 164.6 kB / 290.9 MB, free: 2.32 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5511/0.5511, allocations: 78.56 MB / 420.6 MB, free: 4.34 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004087/0.0004087, allocations: 12 kB / 0.4887 GB, free: 6.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.1795, allocations: 69.38 MB / 0.5564 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.3575/0.537, allocations: 5.3 MB / 0.5616 GB, free: 37.47 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003895/0.5409, allocations: 1.669 MB / 0.5632 GB, free: 37.24 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007849/0.5417, allocations: 11.78 kB / 0.5632 GB, free: 37.24 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004789/0.5422, allocations: 141.6 kB / 0.5634 GB, free: 37.18 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001661/0.5439, allocations: 0.569 MB / 0.5639 GB, free: 37.01 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001257/0.5452, allocations: 486.1 kB / 0.5644 GB, free: 36.99 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00153/0.5467, allocations: 1.13 MB / 0.5655 GB, free: 36.71 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004319/0.5471, allocations: 217.1 kB / 0.5657 GB, free: 36.67 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00071/0.5479, allocations: 457.1 kB / 0.5661 GB, free: 36.56 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006061/0.5485, allocations: 0.5685 MB / 0.5667 GB, free: 36.43 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.804e-05/0.5486, allocations: 49.88 kB / 0.5667 GB, free: 36.43 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004457/0.549, allocations: 171.6 kB / 0.5669 GB, free: 36.42 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001628/0.5492, allocations: 197.7 kB / 0.5671 GB, free: 36.37 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001754/0.5494, allocations: 196.3 kB / 0.5673 GB, free: 36.3 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009595/0.5504, allocations: 0.9957 MB / 0.5683 GB, free: 36.16 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.852e-06/0.5504, allocations: 3.625 kB / 0.5683 GB, free: 36.16 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.5504, allocations: 0 / 0.5683 GB, free: 36.16 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.25e-05/0.5504, allocations: 0.5625 kB / 0.5683 GB, free: 36.16 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.006622/0.557, allocations: 2.203 MB / 0.5704 GB, free: 35.38 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.5571, allocations: 8.344 kB / 0.5704 GB, free: 35.38 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004792/0.5619, allocations: 0.7674 MB / 0.5712 GB, free: 35.3 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001434/0.5634, allocations: 0.6734 MB / 0.5718 GB, free: 34.97 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002675/0.5637, allocations: 267.1 kB / 0.5721 GB, free: 34.77 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001286/0.5638, allocations: 69 kB / 0.5721 GB, free: 34.77 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002105/0.5659, allocations: 1.022 MB / 0.5731 GB, free: 34.71 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.5659, allocations: 0 / 0.5731 GB, free: 34.71 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.88e-05/0.566, allocations: 25.88 kB / 0.5732 GB, free: 34.71 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.965e-05/0.566, allocations: 17.44 kB / 0.5732 GB, free: 34.71 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001966/0.568, allocations: 1.062 MB / 0.5742 GB, free: 34.68 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.005278/0.5733, allocations: 3.242 MB / 0.5774 GB, free: 33.21 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001834/0.5752, allocations: 1.371 MB / 0.5787 GB, free: 32.31 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001323/0.5765, allocations: 0.7734 MB / 0.5795 GB, free: 32.04 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001072/0.5766, allocations: 20.78 kB / 0.5795 GB, free: 32.03 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.5766, allocations: 44.91 kB / 0.5795 GB, free: 31.98 MB / 430.1 MB Notification: Performance of pre-optimization done (n=82): time 3.437e-06/0.5767, allocations: 0 / 0.5795 GB, free: 31.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=82): time 0.02596/0.6026, allocations: 8.366 MB / 0.5877 GB, free: 30.61 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/0.6027, allocations: 58.81 kB / 0.5878 GB, free: 30.55 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001232/0.604, allocations: 0.794 MB / 0.5885 GB, free: 30.19 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002531/0.6042, allocations: 40.8 kB / 0.5886 GB, free: 30.15 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000301/0.6045, allocations: 432.7 kB / 0.589 GB, free: 29.8 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003071/0.6048, allocations: 296.2 kB / 0.5893 GB, free: 29.57 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.263e-05/0.6049, allocations: 20.44 kB / 0.5893 GB, free: 29.55 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.375e-05/0.605, allocations: 344.7 kB / 0.5896 GB, free: 29.23 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001555/0.6066, allocations: 0.7232 MB / 0.5903 GB, free: 28.99 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001631/0.6082, allocations: 0.8408 MB / 0.5912 GB, free: 28.64 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001622/0.6099, allocations: 0.7762 MB / 0.5919 GB, free: 28.32 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.6099, allocations: 1.281 kB / 0.5919 GB, free: 28.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01457/0.6244, allocations: 4.97 MB / 0.5968 GB, free: 27.26 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.027e-05/0.6246, allocations: 7.562 kB / 0.5968 GB, free: 27.26 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.255e-05/0.6246, allocations: 2.406 kB / 0.5968 GB, free: 27.26 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007825/0.6324, allocations: 2.101 MB / 0.5988 GB, free: 26.92 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/0.6335, allocations: 179.9 kB / 0.599 GB, free: 26.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0213/0.6548, allocations: 9.517 MB / 0.6083 GB, free: 22.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001494/0.6564, allocations: 193 kB / 0.6085 GB, free: 22.74 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001172/0.6565, allocations: 35.84 kB / 0.6085 GB, free: 22.73 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: order31.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order31.e1q:VARIABLE(start = order31.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 (96): * Single equations (assignments): 95 * 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.0004506/0.657, allocations: 222.7 kB / 0.6087 GB, free: 22.55 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001767/0.6572, allocations: 113.9 kB / 0.6088 GB, free: 22.48 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01201/0.6692, allocations: 4.733 MB / 0.6135 GB, free: 19.51 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.5e-05/0.6692, allocations: 8 kB / 0.6135 GB, free: 19.5 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.6693, allocations: 4 kB / 0.6135 GB, free: 19.5 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.098e-05/0.6693, allocations: 4.609 kB / 0.6135 GB, free: 19.49 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01263/0.6819, allocations: 6.262 MB / 0.6196 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/0.682, allocations: 0 / 0.6196 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005425/0.6825, allocations: 95.84 kB / 0.6197 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006328/0.6889, allocations: 2.059 MB / 0.6217 GB, free: 10.94 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002027/0.6891, allocations: 20 kB / 0.6217 GB, free: 10.92 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01502/0.7041, allocations: 8.197 MB / 0.6297 GB, free: 2.578 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.7042, allocations: 7.938 kB / 0.6297 GB, free: 2.57 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01371/0.7179, allocations: 5.684 MB / 0.6353 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004241/0.7184, allocations: 195.6 kB / 0.6355 GB, free: 12.65 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001289/0.7185, allocations: 16 kB / 0.6355 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008324/0.7194, allocations: 135.8 kB / 0.6356 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005952/0.72, allocations: 192.6 kB / 0.6358 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.496e-05/0.72, allocations: 24.94 kB / 0.6358 GB, free: 12.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006941/0.7207, allocations: 0.5265 MB / 0.6363 GB, free: 11.75 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.824e-06/0.7207, allocations: 0 / 0.6363 GB, free: 11.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00128/0.722, allocations: 415.5 kB / 0.6367 GB, free: 11.35 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order31.delta,order31.w,order31.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 (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 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002454/0.7223, allocations: 123.2 kB / 0.6368 GB, free: 11.22 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006108/0.7284, allocations: 2.563 MB / 0.6393 GB, free: 8.648 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.7284, allocations: 0 / 0.6393 GB, free: 8.648 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004312/0.7327, allocations: 1.689 MB / 0.641 GB, free: 6.949 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008825/0.7336, allocations: 80.53 kB / 0.6411 GB, free: 6.867 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003164/0.7368, allocations: 2.077 MB / 0.6431 GB, free: 4.793 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005973/0.7374, allocations: 1.029 MB / 0.6441 GB, free: 3.738 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002454/0.7377, allocations: 59.42 kB / 0.6442 GB, free: 3.68 MB / 446.1 MB Notification: Performance of SimCode: time 1.182e-06/0.7377, allocations: 4 kB / 0.6442 GB, free: 3.676 MB / 446.1 MB Notification: Performance of Templates: time 0.02804/0.7657, allocations: 17.74 MB / 0.6615 GB, free: 2.074 MB / 462.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.makefile make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.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.Order3test2CalcHelperMain.o OMCppOpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2CalcHelperMain.o] Error 1