Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.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/Complex 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/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|busbar.alpha_v|busbar1.alpha_v|generator.powerAngle|sensor.p.1.|sensor.p.2.|sensor.p.3.|sensor1.p.1.|sensor1.p.2.|sensor1.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine") translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|busbar.alpha_v|busbar1.alpha_v|generator.powerAngle|sensor.p.1.|sensor.p.2.|sensor.p.3.|sensor1.p.1.|sensor1.p.2.|sensor1.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009955/0.0009956, allocations: 106.3 kB / 17.16 MB, free: 6.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 202.9 kB / 18.08 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 222.9 MB / 241.7 MB, free: 15.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1651/0.1651, allocations: 38.05 MB / 329.9 MB, free: 9.109 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 57.59 kB / 398.7 MB, free: 34.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.137, allocations: 58.07 MB / 456.8 MB, free: 8.578 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.01646/0.1535, allocations: 11.18 MB / 468 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009453/0.163, allocations: 4.094 MB / 472.1 MB, free: 9.242 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001648/0.1647, allocations: 67.56 kB / 472.1 MB, free: 9.176 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002966/0.1677, allocations: 1.03 MB / 473.2 MB, free: 8.145 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002626/0.1703, allocations: 0.8287 MB / 474 MB, free: 7.312 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001383/0.1717, allocations: 423.3 kB / 474.4 MB, free: 6.898 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003347/0.1751, allocations: 2.783 MB / 477.2 MB, free: 4.109 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001595/0.1767, allocations: 0.9106 MB / 478.1 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001431/0.1781, allocations: 0.6573 MB / 478.8 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001716/0.1799, allocations: 0.9579 MB / 479.7 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003644/0.1803, allocations: 76 kB / 479.8 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001314/0.1816, allocations: 0.5264 MB / 480.3 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008245/0.1824, allocations: 0.6195 MB / 480.9 MB, free: 336 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001436/0.1839, allocations: 0.6568 MB / 481.6 MB, free: 15.67 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001872/0.1857, allocations: 1.462 MB / 483.1 MB, free: 14.2 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.1858, allocations: 4 kB / 483.1 MB, free: 14.2 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1858, allocations: 0 / 483.1 MB, free: 14.2 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.619e-05/0.1859, allocations: 0 / 483.1 MB, free: 14.2 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 298 * Number of variables: 298 Notification: Performance of Generate backend data structure: time 0.003932/0.1898, allocations: 1.625 MB / 484.7 MB, free: 12.52 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.1898, allocations: 8.031 kB / 484.7 MB, free: 12.51 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001567/0.1914, allocations: 271 kB / 485 MB, free: 12.25 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001661/0.1931, allocations: 0.9023 MB / 485.9 MB, free: 11.3 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.987e-05/0.1932, allocations: 78.11 kB / 485.9 MB, free: 11.22 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002863/0.1935, allocations: 139.8 kB / 486.1 MB, free: 11.09 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002108/0.1956, allocations: 1.489 MB / 487.6 MB, free: 9.527 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.617e-05/0.1956, allocations: 11.91 kB / 487.6 MB, free: 9.516 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001042/0.1957, allocations: 39.98 kB / 487.6 MB, free: 9.477 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002858/0.196, allocations: 98.16 kB / 487.7 MB, free: 9.379 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001838/0.1979, allocations: 1.258 MB / 489 MB, free: 8.113 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007144/0.205, allocations: 5.664 MB / 494.6 MB, free: 2.102 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008409/0.2059, allocations: 0.6029 MB / 495.2 MB, free: 1.48 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005159/0.2064, allocations: 399.3 kB / 495.6 MB, free: 1.086 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.383e-05/0.2065, allocations: 12.55 kB / 495.6 MB, free: 1.074 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/0.2065, allocations: 43.12 kB / 495.7 MB, free: 1.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=67): time 2.965e-06/0.2065, allocations: 0 / 495.7 MB, free: 1.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=74): time 0.006954/0.2135, allocations: 3.626 MB / 499.3 MB, free: 13.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.86e-05/0.2136, allocations: 93.73 kB / 499.4 MB, free: 13.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000815/0.2144, allocations: 0.7351 MB / 0.4884 GB, free: 12.38 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.267e-05/0.2145, allocations: 37.7 kB / 0.4884 GB, free: 12.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003932/0.2148, allocations: 0.5919 MB / 0.489 GB, free: 11.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002028/0.2151, allocations: 260.3 kB / 0.4893 GB, free: 11.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002572/0.2153, allocations: 182.5 kB / 0.4894 GB, free: 11.29 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001964/0.2155, allocations: 406.7 kB / 0.4898 GB, free: 10.89 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005487/0.2161, allocations: 397.7 kB / 0.4902 GB, free: 10.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007353/0.2168, allocations: 0.6613 MB / 0.4909 GB, free: 9.715 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001353/0.2182, allocations: 1.14 MB / 0.492 GB, free: 8.461 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.2182, allocations: 4 kB / 0.492 GB, free: 8.457 MB / 382.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00301/0.2212, allocations: 1.705 MB / 0.4936 GB, free: 6.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.2212, allocations: 8 kB / 0.4936 GB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002438/0.2237, allocations: 1.311 MB / 0.4949 GB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001794/0.2255, allocations: 0.5794 MB / 0.4955 GB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005554/0.2261, allocations: 175.7 kB / 0.4957 GB, free: 4.637 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01049/0.2366, allocations: 9.479 MB / 0.5049 GB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008495/0.2374, allocations: 47.88 kB / 0.505 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.911e-05/0.2375, allocations: 44 kB / 0.505 GB, free: 10.5 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0006468/0.2382, allocations: 377.4 kB / 0.5054 GB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/0.2383, allocations: 90.88 kB / 0.5055 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002165/0.2405, allocations: 1.248 MB / 0.5067 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.2405, allocations: 8 kB / 0.5067 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.2405, allocations: 4 kB / 0.5067 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.687e-06/0.2406, allocations: 7.984 kB / 0.5067 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003821/0.2444, allocations: 2.408 MB / 0.509 GB, free: 6.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.2444, allocations: 192 / 0.509 GB, free: 6.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004259/0.2448, allocations: 103.9 kB / 0.5091 GB, free: 6.129 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001036/0.2459, allocations: 383.9 kB / 0.5095 GB, free: 5.738 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.859e-05/0.2459, allocations: 31.97 kB / 0.5095 GB, free: 5.707 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2555/0.5015, allocations: 8.476 MB / 0.5178 GB, free: 66.6 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.5016, allocations: 3.094 kB / 0.5178 GB, free: 66.6 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003009/0.5046, allocations: 1.682 MB / 0.5195 GB, free: 66.36 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004345/0.505, allocations: 226.6 kB / 0.5197 GB, free: 66.26 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001349/0.5052, allocations: 30.73 kB / 0.5197 GB, free: 66.26 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004414/0.5056, allocations: 27.98 kB / 0.5197 GB, free: 66.26 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001989/0.5058, allocations: 68.42 kB / 0.5198 GB, free: 66.26 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.066e-05/0.5059, allocations: 22.27 kB / 0.5198 GB, free: 66.26 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009763/0.5069, allocations: 0.5077 MB / 0.5203 GB, free: 66.15 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.5069, allocations: 0 / 0.5203 GB, free: 66.15 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00174/0.5086, allocations: 362 kB / 0.5207 GB, free: 66.12 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 8 (turboGrp.phi,turboGrp.w,generator.i_s[1],generator.i_s[2],generator.i_s[3],RLgen1.i[1],RLgen1.i[2],RLgen1.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,10,100.0%), (1,3,100.0%), (1,3,100.0%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000424/0.5091, allocations: 146.7 kB / 0.5208 GB, free: 66.02 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002729/0.5118, allocations: 1.57 MB / 0.5223 GB, free: 65.21 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.5118, allocations: 3.188 kB / 0.5223 GB, free: 65.21 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001512/0.5133, allocations: 1.087 MB / 0.5234 GB, free: 64.48 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/0.5144, allocations: 191.2 kB / 0.5236 GB, free: 64.42 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005005/0.5194, allocations: 3.327 MB / 0.5268 GB, free: 62.59 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001285/0.5207, allocations: 1.252 MB / 0.528 GB, free: 61.82 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003097/0.5211, allocations: 72.31 kB / 0.5281 GB, free: 61.8 MB / 398.1 MB Notification: Performance of SimCode: time 1.112e-06/0.5211, allocations: 0.8125 kB / 0.5281 GB, free: 61.8 MB / 398.1 MB Notification: Performance of Templates: time 0.03695/0.558, allocations: 32.72 MB / 0.5601 GB, free: 39.02 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.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 OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLineCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLineCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLineCalcHelperMain.o] Error 1