Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009829/0.0009831, 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.471/1.471, allocations: 223.3 MB / 239.7 MB, free: 5.645 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.001262/0.001262, allocations: 172.5 kB / 290.9 MB, free: 2.328 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5239/0.5239, allocations: 79.47 MB / 421.5 MB, free: 3.969 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004037/0.0004038, allocations: 15.98 kB / 0.4897 GB, free: 5.605 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1657, allocations: 69.51 MB / 0.5576 GB, free: 44 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.3568/0.5225, allocations: 5.959 MB / 0.5634 GB, free: 37.38 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00459/0.5271, allocations: 1.903 MB / 0.5653 GB, free: 36.99 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007076/0.5279, allocations: 12.41 kB / 0.5653 GB, free: 36.99 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006598/0.5285, allocations: 169.4 kB / 0.5655 GB, free: 36.93 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001707/0.5303, allocations: 0.6604 MB / 0.5661 GB, free: 36.65 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001194/0.5315, allocations: 0.5174 MB / 0.5666 GB, free: 36.58 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001359/0.5328, allocations: 1.408 MB / 0.568 GB, free: 36.25 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004777/0.5333, allocations: 262.8 kB / 0.5682 GB, free: 36.2 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007076/0.534, allocations: 0.5579 MB / 0.5688 GB, free: 36.04 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007609/0.5348, allocations: 0.7252 MB / 0.5695 GB, free: 35.85 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001304/0.5349, allocations: 60.47 kB / 0.5696 GB, free: 35.85 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000476/0.5354, allocations: 185.6 kB / 0.5697 GB, free: 35.84 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002626/0.5357, allocations: 248.2 kB / 0.57 GB, free: 35.77 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002416/0.5359, allocations: 234 kB / 0.5702 GB, free: 35.69 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001202/0.5372, allocations: 1.219 MB / 0.5714 GB, free: 35.49 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.5372, allocations: 0.75 kB / 0.5714 GB, free: 35.49 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.5372, allocations: 0 / 0.5714 GB, free: 35.49 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.263e-05/0.5372, allocations: 1.625 kB / 0.5714 GB, free: 35.49 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.007319/0.5445, allocations: 2.512 MB / 0.5738 GB, free: 34.46 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/0.5446, allocations: 12.19 kB / 0.5739 GB, free: 34.46 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004547/0.5491, allocations: 0.7894 MB / 0.5746 GB, free: 34.31 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001438/0.5506, allocations: 0.8414 MB / 0.5754 GB, free: 33.76 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002744/0.5509, allocations: 271 kB / 0.5757 GB, free: 33.54 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001518/0.551, allocations: 85.05 kB / 0.5758 GB, free: 33.5 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001988/0.553, allocations: 1.135 MB / 0.5769 GB, free: 33.09 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.056e-05/0.5531, allocations: 1.391 kB / 0.5769 GB, free: 33.09 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.154e-05/0.5532, allocations: 37.47 kB / 0.5769 GB, free: 33.07 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.644e-05/0.5532, allocations: 19.8 kB / 0.5769 GB, free: 33.06 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00184/0.555, allocations: 1.047 MB / 0.578 GB, free: 32.73 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.005498/0.5605, allocations: 3.893 MB / 0.5818 GB, free: 30.52 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007008/0.5676, allocations: 2.912 MB / 0.5846 GB, free: 29.63 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001552/0.5691, allocations: 0.7411 MB / 0.5853 GB, free: 29.35 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001087/0.5692, allocations: 11 kB / 0.5853 GB, free: 29.35 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001729/0.571, allocations: 0.8674 MB / 0.5862 GB, free: 29.03 MB / 430.1 MB Notification: Performance of pre-optimization done (n=95): time 2.334e-06/0.571, allocations: 4 kB / 0.5862 GB, free: 29.03 MB / 430.1 MB Notification: Performance of matching and sorting (n=95): time 0.03037/0.6014, allocations: 8.761 MB / 0.5948 GB, free: 27.46 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.602e-05/0.6015, allocations: 117.1 kB / 0.5949 GB, free: 27.33 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001984/0.6035, allocations: 1.078 MB / 0.5959 GB, free: 26.89 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002565/0.6037, allocations: 47.48 kB / 0.596 GB, free: 26.84 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000383/0.6041, allocations: 497.8 kB / 0.5964 GB, free: 26.45 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004385/0.6046, allocations: 349.9 kB / 0.5968 GB, free: 26.18 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.6047, allocations: 30.16 kB / 0.5968 GB, free: 26.16 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.6048, allocations: 360.7 kB / 0.5971 GB, free: 25.83 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001832/0.6067, allocations: 0.8124 MB / 0.5979 GB, free: 25.54 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001929/0.6086, allocations: 0.9905 MB / 0.5989 GB, free: 25.1 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001804/0.6104, allocations: 0.945 MB / 0.5998 GB, free: 24.65 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.6104, allocations: 0 / 0.5998 GB, free: 24.65 MB / 430.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01479/0.6252, allocations: 5.142 MB / 0.6049 GB, free: 23.4 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.992e-05/0.6253, allocations: 59.84 kB / 0.6049 GB, free: 23.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.786e-05/0.6254, allocations: 2.219 kB / 0.6049 GB, free: 23.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006509/0.6319, allocations: 1.903 MB / 0.6068 GB, free: 23.03 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001649/0.6336, allocations: 292.8 kB / 0.607 GB, free: 23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01936/0.6529, allocations: 9.065 MB / 0.6159 GB, free: 16.88 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002072/0.655, allocations: 235.7 kB / 0.6161 GB, free: 16.65 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/0.6552, allocations: 56.14 kB / 0.6162 GB, free: 16.6 MB / 430.1 MB Warning: Assuming fixed start value for the following 4 variables: order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.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.e1q:VARIABLE(start = order3.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: 13 * 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 (160): * Single equations (assignments): 157 * 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 {19 14} Notification: Performance of prepare postOptimizeDAE: time 0.0006609/0.6558, allocations: 300 kB / 0.6165 GB, free: 16.29 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002053/0.6561, allocations: 126.4 kB / 0.6166 GB, free: 16.17 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01113/0.6672, allocations: 4.713 MB / 0.6212 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.707e-05/0.6673, allocations: 9 kB / 0.6212 GB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/0.6673, allocations: 11.95 kB / 0.6212 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-05/0.6673, allocations: 9.562 kB / 0.6212 GB, free: 11.4 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 postOpt removeSimpleEquations (simulation): time 0.01288/0.6802, allocations: 6.297 MB / 0.6274 GB, free: 4.992 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.228e-06/0.6802, allocations: 1.594 kB / 0.6274 GB, free: 4.992 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005536/0.6808, allocations: 95.91 kB / 0.6275 GB, free: 4.898 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004771/0.6856, allocations: 1.884 MB / 0.6293 GB, free: 3.008 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001554/0.6858, allocations: 25.23 kB / 0.6293 GB, free: 2.984 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01847/0.7042, allocations: 9.671 MB / 0.6388 GB, free: 9.035 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/0.7043, allocations: 4 kB / 0.6388 GB, free: 9.031 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01469/0.719, allocations: 5.631 MB / 0.6443 GB, free: 3.363 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006713/0.7197, allocations: 223.4 kB / 0.6445 GB, free: 3.125 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001852/0.7199, allocations: 20 kB / 0.6445 GB, free: 3.105 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001105/0.721, allocations: 143.9 kB / 0.6446 GB, free: 2.965 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006244/0.7216, allocations: 196.7 kB / 0.6448 GB, free: 2.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.947e-05/0.7217, allocations: 29.17 kB / 0.6449 GB, free: 2.742 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001172/0.7229, allocations: 0.7237 MB / 0.6456 GB, free: 2.012 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.7229, allocations: 0 / 0.6456 GB, free: 2.012 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001704/0.7246, allocations: 475.5 kB / 0.646 GB, free: 1.547 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.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 (63): * Single equations (assignments): 60 * 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 {(20,23.0%) 12} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003113/0.7249, allocations: 129.4 kB / 0.6461 GB, free: 1.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006722/0.7317, allocations: 2.774 MB / 0.6488 GB, free: 14.6 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.7317, allocations: 0 / 0.6488 GB, free: 14.6 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004281/0.736, allocations: 1.809 MB / 0.6506 GB, free: 12.76 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001426/0.7374, allocations: 114.6 kB / 0.6507 GB, free: 12.65 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005098/0.7425, allocations: 2.621 MB / 0.6533 GB, free: 10.03 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001014/0.7436, allocations: 1.124 MB / 0.6544 GB, free: 8.879 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004317/0.744, allocations: 79.42 kB / 0.6545 GB, free: 8.801 MB / 462.1 MB Notification: Performance of SimCode: time 1.142e-06/0.744, allocations: 4 kB / 0.6545 GB, free: 8.797 MB / 462.1 MB Notification: Performance of Templates: time 0.03849/0.7825, allocations: 23.37 MB / 0.6773 GB, free: 1.594 MB / 478.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.TwoAreaOld.ThirdOrder_AVRIICalcHelperMain.o OMCppOpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRIICalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRIICalcHelperMain.o] Error 1