Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.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.PSATSystems.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009032/0.0009031, allocations: 102.6 kB / 15.71 MB, free: 460 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.509/1.509, allocations: 223.3 MB / 239.7 MB, free: 5.469 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.0009496/0.0009496, allocations: 180.5 kB / 290.9 MB, free: 2.164 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5165/0.5165, allocations: 79.48 MB / 421.5 MB, free: 3.941 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00042/0.00042, allocations: 12 kB / 0.4897 GB, free: 5.57 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4344/0.4349, allocations: 69.52 MB / 0.5576 GB, free: 38.15 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII): time 0.01806/0.453, allocations: 20.8 MB / 0.5779 GB, free: 28.83 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01366/0.4667, allocations: 4.929 MB / 0.5827 GB, free: 25.22 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006858/0.4736, allocations: 49.56 kB / 0.5828 GB, free: 25.22 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00391/0.4776, allocations: 0.6111 MB / 0.5834 GB, free: 24.95 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00959/0.4872, allocations: 1.747 MB / 0.5851 GB, free: 23.74 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005996/0.4932, allocations: 1.758 MB / 0.5868 GB, free: 22.88 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01069/0.5039, allocations: 5.172 MB / 0.5919 GB, free: 20.17 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00302/0.507, allocations: 1.061 MB / 0.5929 GB, free: 19.69 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004779/0.5118, allocations: 2.001 MB / 0.5949 GB, free: 18.77 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006332/0.5182, allocations: 2.579 MB / 0.5974 GB, free: 17.58 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003309/0.5215, allocations: 234.4 kB / 0.5976 GB, free: 17.58 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005214/0.5268, allocations: 376.7 kB / 0.598 GB, free: 17.54 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004353/0.5312, allocations: 0.9012 MB / 0.5988 GB, free: 16.98 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007146/0.5384, allocations: 0.8336 MB / 0.5996 GB, free: 16.49 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01432/0.5527, allocations: 4.631 MB / 0.6042 GB, free: 15.01 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.64e-05/0.5528, allocations: 5.125 kB / 0.6042 GB, free: 15.01 MB / 430.1 MB Notification: Performance of FrontEnd: time 5.33e-06/0.5528, allocations: 0 / 0.6042 GB, free: 15.01 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005504/0.5534, allocations: 0 / 0.6042 GB, free: 15.01 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: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.03954/0.593, allocations: 8.449 MB / 0.6124 GB, free: 11.88 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.814e-05/0.593, allocations: 9.609 kB / 0.6124 GB, free: 11.88 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04236/0.6354, allocations: 4.055 MB / 0.6164 GB, free: 11.16 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01485/0.6503, allocations: 2.494 MB / 0.6188 GB, free: 9.691 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002001/0.6524, allocations: 0.9921 MB / 0.6198 GB, free: 8.859 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003176/0.6556, allocations: 354 kB / 0.6201 GB, free: 8.742 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02734/0.6829, allocations: 4.957 MB / 0.625 GB, free: 6.809 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002736/0.6833, allocations: 1.125 kB / 0.625 GB, free: 6.809 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00226/0.6856, allocations: 141 kB / 0.6251 GB, free: 6.699 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001929/0.6858, allocations: 87.34 kB / 0.6252 GB, free: 6.695 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01901/0.7048, allocations: 4.476 MB / 0.6296 GB, free: 3.336 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.06325/0.7681, allocations: 18.79 MB / 0.6479 GB, free: 15.36 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02009/0.7882, allocations: 5.719 MB / 0.6535 GB, free: 9.555 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01018/0.7985, allocations: 3.033 MB / 0.6565 GB, free: 6.512 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00114/0.7997, allocations: 72.59 kB / 0.6565 GB, free: 6.441 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01261/0.8123, allocations: 3.419 MB / 0.6599 GB, free: 2.98 MB / 462.1 MB Notification: Performance of pre-optimization done (n=382): time 1.665e-05/0.8124, allocations: 1.828 kB / 0.6599 GB, free: 2.98 MB / 462.1 MB Notification: Performance of matching and sorting (n=382): time 0.3977/1.21, allocations: 81.45 MB / 0.7394 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/1.21, allocations: 141.8 kB / 0.7396 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00553/1.216, allocations: 3.195 MB / 0.7427 GB, free: 13.95 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001336/1.217, allocations: 89.7 kB / 0.7428 GB, free: 13.86 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001666/1.219, allocations: 1.967 MB / 0.7447 GB, free: 11.88 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002583/1.221, allocations: 1.309 MB / 0.746 GB, free: 10.55 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004096/1.222, allocations: 84 kB / 0.746 GB, free: 10.47 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002832/1.222, allocations: 467 kB / 0.7465 GB, free: 10 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006031/1.228, allocations: 2.823 MB / 0.7492 GB, free: 7.172 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007489/1.236, allocations: 3.455 MB / 0.7526 GB, free: 3.496 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00763/1.243, allocations: 3.092 MB / 0.7556 GB, free: 396 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-05/1.243, allocations: 8 kB / 0.7556 GB, free: 388 kB / 0.545 GB Notification: Performance of matching and sorting (n=534) (initialization): time 0.4201/1.664, allocations: 20.71 MB / 0.7759 GB, free: 156.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.232e-05/1.664, allocations: 72.72 kB / 0.7759 GB, free: 156.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.794e-05/1.664, allocations: 13.97 kB / 0.7759 GB, free: 156.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02554/1.689, allocations: 8.627 MB / 0.7844 GB, free: 156.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003308/1.693, allocations: 0.6628 MB / 0.785 GB, free: 156.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08424/1.777, allocations: 35.44 MB / 0.8196 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006181/1.783, allocations: 0.7444 MB / 0.8204 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008676/1.784, allocations: 158.2 kB / 0.8205 GB, free: 149.6 MB / 0.5606 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(flow=false start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order3_1.e1q:VARIABLE(start = order3_1.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: 65 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (397): * Single equations (assignments): 394 * Array equations: 0 * Algorithm blocks: 2 * 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 {93 45} Notification: Performance of prepare postOptimizeDAE: time 0.001797/1.786, allocations: 0.6706 MB / 0.8212 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001062/1.787, allocations: 458.5 kB / 0.8216 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05094/1.838, allocations: 20.61 MB / 0.8417 GB, free: 138 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-05/1.838, allocations: 38.06 kB / 0.8418 GB, free: 138 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.906e-05/1.838, allocations: 28 kB / 0.8418 GB, free: 138 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001202/1.838, allocations: 24.02 kB / 0.8418 GB, free: 137.9 MB / 0.5606 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.05815/1.896, allocations: 25.59 MB / 0.8668 GB, free: 112.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.679e-05/1.896, allocations: 0 / 0.8668 GB, free: 112.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002219/1.899, allocations: 388.5 kB / 0.8672 GB, free: 112.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02368/1.922, allocations: 8.711 MB / 0.8757 GB, free: 103.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001485/1.924, allocations: 75.98 kB / 0.8758 GB, free: 103.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06833/1.992, allocations: 32.65 MB / 0.9076 GB, free: 70.72 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/1.992, allocations: 8 kB / 0.9076 GB, free: 70.71 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05753/2.05, allocations: 24.2 MB / 0.9313 GB, free: 46.43 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001911/2.052, allocations: 0.5648 MB / 0.9318 GB, free: 45.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002018/2.054, allocations: 60 kB / 0.9319 GB, free: 45.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005275/2.059, allocations: 0.5035 MB / 0.9324 GB, free: 45.28 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003919/2.063, allocations: 0.7841 MB / 0.9331 GB, free: 44.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006487/2.064, allocations: 95.98 kB / 0.9332 GB, free: 44.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003531/2.067, allocations: 2.078 MB / 0.9353 GB, free: 42.32 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.51e-07/2.067, allocations: 0 / 0.9353 GB, free: 42.32 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007564/2.075, allocations: 1.798 MB / 0.937 GB, free: 40.52 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.e1q,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (246): * Single equations (assignments): 243 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(100,5.4%) 36} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007144/2.075, allocations: 203.8 kB / 0.9372 GB, free: 40.31 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02388/2.099, allocations: 10.25 MB / 0.9472 GB, free: 30.02 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/2.099, allocations: 0 / 0.9472 GB, free: 30.02 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01898/2.118, allocations: 7.055 MB / 0.9541 GB, free: 22.94 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006311/2.125, allocations: 383.9 kB / 0.9545 GB, free: 22.56 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02128/2.146, allocations: 9.303 MB / 0.9636 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002812/2.149, allocations: 2.439 MB / 0.9659 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002139/2.151, allocations: 263.4 kB / 0.9662 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of SimCode: time 3.486e-06/2.151, allocations: 4 kB / 0.9662 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of Templates: time 0.4473/2.598, allocations: 87.96 MB / 1.052 GB, free: 149.5 MB / 0.5762 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.makefile make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.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.PSATSystems.TwoArea.ThirdOrder_AVRIICalcHelperMain.o OMCppOpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRIICalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRIICalcHelperMain.o] Error 1