Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.Examples.TwoAreas.Two_Areas_PSAT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT") translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008639/0.0008642, 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.465/1.465, 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.001424/0.001424, allocations: 184.5 kB / 290.9 MB, free: 2.316 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5017/0.5017, allocations: 79.47 MB / 421.5 MB, free: 3.965 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003908/0.0003908, allocations: 8 kB / 0.4897 GB, free: 5.582 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1629, allocations: 69.51 MB / 0.5576 GB, free: 16 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT): time 0.3555/0.5184, allocations: 13.22 MB / 0.5705 GB, free: 34.2 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01024/0.5287, allocations: 4.017 MB / 0.5744 GB, free: 31.27 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003808/0.5326, allocations: 26.72 kB / 0.5745 GB, free: 31.27 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002469/0.5351, allocations: 494.2 kB / 0.5749 GB, free: 31.06 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00627/0.5414, allocations: 1.293 MB / 0.5762 GB, free: 30.21 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003021/0.5444, allocations: 1.026 MB / 0.5772 GB, free: 29.73 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006311/0.5507, allocations: 3.622 MB / 0.5807 GB, free: 27.86 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001426/0.5522, allocations: 0.6323 MB / 0.5814 GB, free: 27.61 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002879/0.5551, allocations: 1.347 MB / 0.5827 GB, free: 27.02 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004059/0.5591, allocations: 1.829 MB / 0.5845 GB, free: 26.24 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001405/0.5606, allocations: 169.6 kB / 0.5846 GB, free: 26.24 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001706/0.5623, allocations: 300.5 kB / 0.5849 GB, free: 26.2 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006436/0.5629, allocations: 0.619 MB / 0.5855 GB, free: 25.84 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001199/0.5641, allocations: 0.5422 MB / 0.586 GB, free: 25.5 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004128/0.5683, allocations: 3.509 MB / 0.5895 GB, free: 24.54 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.066e-05/0.5683, allocations: 0 / 0.5895 GB, free: 24.54 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.306e-06/0.5683, allocations: 0 / 0.5895 GB, free: 24.54 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001985/0.5685, allocations: 1.406 kB / 0.5895 GB, free: 24.54 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: 451 * Number of variables: 451 Notification: Performance of Generate backend data structure: time 0.02104/0.5896, allocations: 5.333 MB / 0.5947 GB, free: 22.44 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.381e-05/0.5897, allocations: 8.969 kB / 0.5947 GB, free: 22.44 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01453/0.6042, allocations: 2.058 MB / 0.5967 GB, free: 22.04 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007361/0.6116, allocations: 1.915 MB / 0.5986 GB, free: 20.86 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007267/0.6123, allocations: 460 kB / 0.599 GB, free: 20.5 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001328/0.6137, allocations: 198.2 kB / 0.5992 GB, free: 20.43 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009057/0.6228, allocations: 2.401 MB / 0.6015 GB, free: 19.55 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001079/0.6229, allocations: 6.094 kB / 0.6015 GB, free: 19.55 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006851/0.6236, allocations: 70.06 kB / 0.6016 GB, free: 19.5 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-05/0.6237, allocations: 44.12 kB / 0.6017 GB, free: 19.5 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006874/0.6306, allocations: 2.428 MB / 0.604 GB, free: 18.65 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.02332/0.6539, allocations: 9.838 MB / 0.6136 GB, free: 13 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01153/0.6655, allocations: 4.762 MB / 0.6183 GB, free: 10.85 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004441/0.67, allocations: 1.72 MB / 0.62 GB, free: 9.996 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004464/0.6704, allocations: 32.08 kB / 0.62 GB, free: 9.992 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.569e-05/0.6705, allocations: 60.67 kB / 0.6201 GB, free: 9.93 MB / 430.1 MB Notification: Performance of pre-optimization done (n=223): time 5.34e-06/0.6705, allocations: 1.062 kB / 0.6201 GB, free: 9.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=223): time 0.08568/0.7562, allocations: 23.07 MB / 0.6426 GB, free: 5.328 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.195e-05/0.7563, allocations: 77.39 kB / 0.6427 GB, free: 5.242 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005964/0.7623, allocations: 2.663 MB / 0.6453 GB, free: 2.566 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009317/0.7633, allocations: 65.7 kB / 0.6453 GB, free: 2.496 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001282/0.7646, allocations: 1.161 MB / 0.6465 GB, free: 1.324 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002042/0.7666, allocations: 0.8205 MB / 0.6473 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001095/0.7677, allocations: 64 kB / 0.6473 GB, free: 440 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003306/0.7681, allocations: 429 kB / 0.6477 GB, free: 4 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0046/0.7727, allocations: 1.9 MB / 0.6496 GB, free: 14.1 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00478/0.7775, allocations: 2.252 MB / 0.6518 GB, free: 11.77 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004893/0.7824, allocations: 2.077 MB / 0.6538 GB, free: 9.676 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.138e-05/0.7824, allocations: 4 kB / 0.6538 GB, free: 9.672 MB / 462.1 MB Notification: Performance of matching and sorting (n=429) (initialization): time 0.02424/0.8067, allocations: 8.387 MB / 0.662 GB, free: 1.203 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.704e-05/0.8067, allocations: 8 kB / 0.662 GB, free: 1.195 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.675e-05/0.8068, allocations: 8 kB / 0.662 GB, free: 1.188 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0146/0.8214, allocations: 3.88 MB / 0.6658 GB, free: 13.26 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007737/0.8292, allocations: 1.754 MB / 0.6675 GB, free: 11.51 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03169/0.8609, allocations: 19.17 MB / 0.6862 GB, free: 7.418 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005431/0.8664, allocations: 457.2 kB / 0.6867 GB, free: 6.969 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009979/0.8674, allocations: 119.9 kB / 0.6868 GB, free: 6.852 MB / 494.1 MB Warning: Assuming fixed start value for the following 8 variables: g4.order6_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real g3.order6_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real g2.order6_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real g1.order6_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real g4.order6_1.e2d:VARIABLE(start = g4.order6_1.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real g4.order6_1.delta:VARIABLE(flow=false start = g4.order6_1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real g3.order6_1.e2d:VARIABLE(start = g3.order6_1.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real g3.order6_1.delta:VARIABLE(flow=false start = g3.order6_1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (359): * Single equations (assignments): 343 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 9 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(4,75.0%) 2,(4,75.0%) 2,(1,100.0%) 1,(3,88.9%) 17,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 1 {8 22} Notification: Performance of prepare postOptimizeDAE: time 0.00254/0.8699, allocations: 0.5049 MB / 0.6873 GB, free: 6.348 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00162/0.8716, allocations: 308.2 kB / 0.6876 GB, free: 6.043 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02632/0.8979, allocations: 9.646 MB / 0.697 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.024e-05/0.898, allocations: 24 kB / 0.697 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.898, allocations: 0 / 0.697 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.931e-05/0.8981, allocations: 13.55 kB / 0.697 GB, free: 12.34 MB / 0.4981 GB 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.0353/0.9334, allocations: 13.67 MB / 0.7104 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.483e-05/0.9334, allocations: 3.984 kB / 0.7104 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001711/0.9352, allocations: 224.2 kB / 0.7106 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01333/0.9485, allocations: 4.703 MB / 0.7152 GB, free: 9.512 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006898/0.9492, allocations: 44 kB / 0.7152 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04045/0.9897, allocations: 16.71 MB / 0.7315 GB, free: 8.609 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.9897, allocations: 1.016 kB / 0.7316 GB, free: 8.609 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0319/1.022, allocations: 11.77 MB / 0.743 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001637/1.023, allocations: 476.6 kB / 0.7435 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001681/1.025, allocations: 40 kB / 0.7435 GB, free: 12.28 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00362/1.029, allocations: 227.8 kB / 0.7438 GB, free: 12.06 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001693/1.03, allocations: 382.3 kB / 0.7441 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005021/1.031, allocations: 56 kB / 0.7442 GB, free: 11.63 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003776/1.035, allocations: 1.751 MB / 0.7459 GB, free: 9.879 MB / 0.545 GB Notification: Performance of sort global known variables: time 6.51e-07/1.035, allocations: 0 / 0.7459 GB, free: 9.879 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005853/1.041, allocations: 1.1 MB / 0.747 GB, free: 8.777 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 24 (g1.order6_1.delta,g1.order6_1.w,g1.order6_1.e1q,g1.order6_1.e1d,g1.order6_1.e2q,g1.order6_1.e2d,g2.order6_1.delta,g2.order6_1.w,g2.order6_1.e1q,g2.order6_1.e1d,g2.order6_1.e2q,g2.order6_1.e2d,g3.order6_1.delta,g3.order6_1.w,g3.order6_1.e1q,g3.order6_1.e1d,g3.order6_1.e2q,g3.order6_1.e2d,g4.order6_1.delta,g4.order6_1.w,g4.order6_1.e1q,g4.order6_1.e1d,g4.order6_1.e2q,g4.order6_1.e2d) * 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 (136): * Single equations (assignments): 135 * 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 {54 42} Notification: Performance of Backend phase and start with SimCode phase: time 0.000726/1.041, allocations: 166.2 kB / 0.7471 GB, free: 8.605 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01589/1.057, allocations: 7.051 MB / 0.754 GB, free: 1.277 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/1.057, allocations: 8.062 kB / 0.754 GB, free: 1.27 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.01017/1.067, allocations: 3.675 MB / 0.7576 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004271/1.072, allocations: 226.1 kB / 0.7578 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01389/1.086, allocations: 6.822 MB / 0.7645 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002086/1.088, allocations: 1.764 MB / 0.7662 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00155/1.089, allocations: 167.4 kB / 0.7664 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of SimCode: time 1.162e-06/1.089, allocations: 0 / 0.7664 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of Templates: time 0.4568/1.546, allocations: 137 MB / 0.9001 GB, free: 68.05 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.makefile make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.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_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSATCalcHelperMain.o OMCppOpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSATCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSATCalcHelperMain.o] Error 1