Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_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.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.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 96.14 kB / 15.87 MB, free: 16 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.446/1.446, allocations: 222.9 MB / 239.5 MB, free: 4.754 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.001636/0.001636, allocations: 184.5 kB / 289.8 MB, free: 2.508 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.6029/0.6029, allocations: 78.52 MB / 418.4 MB, free: 3.371 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00154/0.001541, allocations: 79.89 kB / 497.4 MB, free: 6.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1826/0.1842, allocations: 68.17 MB / 0.5523 GB, free: 2.586 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.3401/0.5243, allocations: 6.949 MB / 0.5591 GB, free: 35.96 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003981/0.5283, allocations: 2.032 MB / 0.5611 GB, free: 35.41 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000446/0.5288, allocations: 12.56 kB / 0.5611 GB, free: 35.41 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007158/0.5296, allocations: 187 kB / 0.5613 GB, free: 35.4 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001649/0.5312, allocations: 0.7225 MB / 0.562 GB, free: 35.25 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001296/0.5326, allocations: 0.595 MB / 0.5626 GB, free: 35.17 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001419/0.534, allocations: 1.546 MB / 0.5641 GB, free: 35.09 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004403/0.5344, allocations: 289.6 kB / 0.5644 GB, free: 35.04 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006853/0.5351, allocations: 0.61 MB / 0.5649 GB, free: 34.9 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008091/0.5359, allocations: 0.8085 MB / 0.5657 GB, free: 34.7 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001657/0.5361, allocations: 76.06 kB / 0.5658 GB, free: 34.7 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004762/0.5366, allocations: 209.8 kB / 0.566 GB, free: 34.7 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002894/0.5369, allocations: 284.6 kB / 0.5663 GB, free: 34.62 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005362/0.5374, allocations: 0.6423 MB / 0.5669 GB, free: 34.36 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001087/0.5385, allocations: 1.291 MB / 0.5682 GB, free: 34.16 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.5386, allocations: 0 / 0.5682 GB, free: 34.16 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.5386, allocations: 5.062 kB / 0.5682 GB, free: 34.15 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.368e-05/0.5386, allocations: 1.938 kB / 0.5682 GB, free: 34.15 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.008829/0.5474, allocations: 2.756 MB / 0.5709 GB, free: 33.16 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.5475, allocations: 11.62 kB / 0.5709 GB, free: 33.16 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004772/0.5523, allocations: 0.776 MB / 0.5716 GB, free: 33.07 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001435/0.5537, allocations: 0.9162 MB / 0.5725 GB, free: 32.66 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002397/0.554, allocations: 256.7 kB / 0.5728 GB, free: 32.46 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001545/0.5541, allocations: 87.16 kB / 0.5729 GB, free: 32.46 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00211/0.5562, allocations: 1.097 MB / 0.5739 GB, free: 32.38 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/0.5563, allocations: 3.938 kB / 0.5739 GB, free: 32.38 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.752e-05/0.5564, allocations: 35.88 kB / 0.574 GB, free: 32.38 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.173e-05/0.5564, allocations: 23.23 kB / 0.574 GB, free: 32.37 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001907/0.5583, allocations: 0.9975 MB / 0.575 GB, free: 32.36 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.005989/0.5643, allocations: 3.873 MB / 0.5787 GB, free: 30.93 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007076/0.5714, allocations: 2.391 MB / 0.5811 GB, free: 30.1 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001488/0.5729, allocations: 0.685 MB / 0.5818 GB, free: 29.82 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001065/0.573, allocations: 15.69 kB / 0.5818 GB, free: 29.82 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001649/0.5747, allocations: 0.8291 MB / 0.5826 GB, free: 29.5 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 3.026e-06/0.5747, allocations: 1.406 kB / 0.5826 GB, free: 29.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.03066/0.6054, allocations: 7.214 MB / 0.5896 GB, free: 28.1 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.74e-05/0.6055, allocations: 117.8 kB / 0.5897 GB, free: 27.97 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002325/0.6078, allocations: 1.132 MB / 0.5908 GB, free: 27.5 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002777/0.6081, allocations: 42.77 kB / 0.5909 GB, free: 27.45 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004206/0.6086, allocations: 0.4937 MB / 0.5914 GB, free: 27.06 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00042/0.609, allocations: 365.2 kB / 0.5917 GB, free: 26.77 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005864/0.6096, allocations: 293 kB / 0.592 GB, free: 26.64 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.26e-05/0.6097, allocations: 303 kB / 0.5923 GB, free: 26.34 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001841/0.6115, allocations: 0.7764 MB / 0.593 GB, free: 26.05 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001985/0.6135, allocations: 0.9605 MB / 0.594 GB, free: 25.61 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02626/0.6398, allocations: 5.803 MB / 0.5996 GB, free: 23.82 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.504e-05/0.6398, allocations: 1.688 kB / 0.5996 GB, free: 23.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01561/0.6555, allocations: 4.451 MB / 0.604 GB, free: 22.61 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.913e-05/0.6556, allocations: 65.88 kB / 0.6041 GB, free: 22.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.1e-05/0.6556, allocations: 3.844 kB / 0.6041 GB, free: 22.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006218/0.6618, allocations: 1.631 MB / 0.6057 GB, free: 22 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001727/0.6636, allocations: 294.2 kB / 0.6059 GB, free: 21.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01851/0.6821, allocations: 7.932 MB / 0.6137 GB, free: 16.28 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002164/0.6843, allocations: 210.6 kB / 0.6139 GB, free: 16.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001305/0.6845, allocations: 60.59 kB / 0.6139 GB, free: 16.01 MB / 430.1 MB Warning: Assuming fixed start value for the following 5 variables: order5.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 order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order5.delta:VARIABLE(flow=false start = order5.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order5.e1q:VARIABLE(start = order5.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 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (167): * Single equations (assignments): 164 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006851/0.6851, allocations: 306.5 kB / 0.6142 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002233/0.6854, allocations: 126.4 kB / 0.6143 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01146/0.6968, allocations: 3.9 MB / 0.6182 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-05/0.6969, allocations: 12 kB / 0.6182 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.224e-05/0.6969, allocations: 12 kB / 0.6182 GB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.492e-05/0.6969, allocations: 3.984 kB / 0.6182 GB, free: 11.62 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.01316/0.7101, allocations: 5.513 MB / 0.6236 GB, free: 6.004 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/0.7102, allocations: 0 / 0.6236 GB, free: 6.004 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006701/0.7108, allocations: 99.89 kB / 0.6237 GB, free: 5.906 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004954/0.7158, allocations: 1.596 MB / 0.6252 GB, free: 4.305 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001994/0.716, allocations: 16 kB / 0.6252 GB, free: 4.289 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01833/0.7343, allocations: 8.819 MB / 0.6338 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.7344, allocations: 0 / 0.6338 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01463/0.749, allocations: 4.779 MB / 0.6385 GB, free: 6.383 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007022/0.7498, allocations: 219.4 kB / 0.6387 GB, free: 6.148 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001944/0.75, allocations: 27.94 kB / 0.6388 GB, free: 6.121 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001188/0.7512, allocations: 113.5 kB / 0.6389 GB, free: 6.012 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006677/0.7518, allocations: 184.7 kB / 0.639 GB, free: 5.828 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.623e-05/0.7519, allocations: 31.98 kB / 0.6391 GB, free: 5.797 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001199/0.7531, allocations: 0.7591 MB / 0.6398 GB, free: 5.031 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.7532, allocations: 0 / 0.6398 GB, free: 5.031 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001613/0.7548, allocations: 495.4 kB / 0.6403 GB, free: 4.547 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,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 (65): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(18,14,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003031/0.7551, allocations: 131.2 kB / 0.6404 GB, free: 4.406 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006898/0.762, allocations: 2.592 MB / 0.6429 GB, free: 1.777 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.762, allocations: 8.188 kB / 0.6429 GB, free: 1.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004333/0.7664, allocations: 1.576 MB / 0.6445 GB, free: 160 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001215/0.7676, allocations: 117.7 kB / 0.6446 GB, free: 44 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00491/0.7725, allocations: 2.832 MB / 0.6474 GB, free: 13.22 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007473/0.7733, allocations: 1.128 MB / 0.6485 GB, free: 12.07 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003813/0.7737, allocations: 83.41 kB / 0.6485 GB, free: 11.98 MB / 462.1 MB Notification: Performance of SimCode: time 1.143e-06/0.7737, allocations: 0 / 0.6485 GB, free: 11.98 MB / 462.1 MB Notification: Performance of Templates: time 0.0396/0.8133, allocations: 23.87 MB / 0.6719 GB, free: 4.293 MB / 478.1 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppOpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRIICalcHelperMain.o OMCppOpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRIICalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRIICalcHelperMain.o] Error 1