Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine") translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_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.0009669/0.0009718, allocations: 109.2 kB / 17.17 MB, free: 6.32 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.0009862/0.0009862, allocations: 194.9 kB / 18.08 MB, free: 5.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.21/1.21, allocations: 205.1 MB / 223.9 MB, free: 12.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1584/0.1584, allocations: 37.99 MB / 309.3 MB, free: 6.234 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 71.02 kB / 375.3 MB, free: 4.109 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/0.1898, allocations: 55.24 MB / 430.5 MB, free: 19.95 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.007632/0.1975, allocations: 11.19 MB / 441.7 MB, free: 8.711 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004881/0.2024, allocations: 4.129 MB / 445.8 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005959/0.203, allocations: 71.62 kB / 445.9 MB, free: 4.496 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001893/0.205, allocations: 1.031 MB / 446.9 MB, free: 3.461 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001314/0.2063, allocations: 0.821 MB / 447.7 MB, free: 2.637 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007773/0.2071, allocations: 419.3 kB / 448.2 MB, free: 2.227 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001651/0.2087, allocations: 2.783 MB / 450.9 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001048/0.2098, allocations: 0.93 MB / 451.9 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007122/0.2105, allocations: 0.6456 MB / 452.5 MB, free: 13.83 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001035/0.2116, allocations: 0.9617 MB / 453.5 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001321/0.2117, allocations: 80 kB / 453.6 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008478/0.2126, allocations: 0.5264 MB / 454.1 MB, free: 12.26 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004738/0.213, allocations: 0.6079 MB / 454.7 MB, free: 11.65 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005833/0.2136, allocations: 0.6801 MB / 455.4 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001152/0.2148, allocations: 1.442 MB / 456.8 MB, free: 9.52 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.2148, allocations: 0 / 456.8 MB, free: 9.52 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2148, allocations: 0 / 456.8 MB, free: 9.52 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.68e-05/0.2148, allocations: 0 / 456.8 MB, free: 9.52 MB / 334.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.002534/0.2174, allocations: 1.629 MB / 458.4 MB, free: 7.836 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.2174, allocations: 12.03 kB / 458.5 MB, free: 7.824 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001429/0.2189, allocations: 271 kB / 458.7 MB, free: 7.559 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001517/0.2204, allocations: 0.8984 MB / 459.6 MB, free: 6.617 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.698e-05/0.2204, allocations: 82.09 kB / 459.7 MB, free: 6.535 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002663/0.2207, allocations: 135.8 kB / 459.8 MB, free: 6.402 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001934/0.2227, allocations: 1.493 MB / 461.3 MB, free: 4.84 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.902e-05/0.2227, allocations: 7.938 kB / 461.3 MB, free: 4.832 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.261e-05/0.2228, allocations: 44 kB / 461.4 MB, free: 4.789 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002826/0.2231, allocations: 98.16 kB / 461.5 MB, free: 4.691 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001727/0.2248, allocations: 1.254 MB / 462.7 MB, free: 3.43 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006499/0.2313, allocations: 5.664 MB / 468.4 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007934/0.2321, allocations: 0.5919 MB / 469 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004951/0.2327, allocations: 403.2 kB / 469.4 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.869e-05/0.2327, allocations: 12.55 kB / 469.4 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.2327, allocations: 51 kB / 469.4 MB, free: 12.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=67): time 2.435e-06/0.2328, allocations: 4 kB / 469.4 MB, free: 12.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=74): time 0.006669/0.2394, allocations: 3.622 MB / 473.1 MB, free: 8.559 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.623e-05/0.2395, allocations: 93.69 kB / 473.2 MB, free: 8.449 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008121/0.2403, allocations: 0.7312 MB / 473.9 MB, free: 7.711 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.933e-05/0.2404, allocations: 45.73 kB / 473.9 MB, free: 7.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003457/0.2407, allocations: 0.588 MB / 474.5 MB, free: 7.062 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000187/0.2409, allocations: 268.1 kB / 474.8 MB, free: 6.797 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002403/0.2412, allocations: 182.5 kB / 475 MB, free: 6.613 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.2413, allocations: 402.7 kB / 475.4 MB, free: 6.211 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005288/0.2419, allocations: 389.8 kB / 475.7 MB, free: 5.832 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007121/0.2426, allocations: 0.6652 MB / 476.4 MB, free: 5.043 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001317/0.2439, allocations: 1.14 MB / 477.5 MB, free: 3.789 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.2439, allocations: 4 kB / 477.5 MB, free: 3.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003001/0.2469, allocations: 1.709 MB / 479.2 MB, free: 2.055 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.247, allocations: 8 kB / 479.3 MB, free: 2.047 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002372/0.2494, allocations: 1.314 MB / 480.6 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001742/0.2511, allocations: 0.5812 MB / 481.2 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005588/0.2517, allocations: 175.7 kB / 481.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009885/0.2616, allocations: 9.471 MB / 490.8 MB, free: 5.918 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006594/0.2623, allocations: 39.97 kB / 490.8 MB, free: 5.879 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.908e-05/0.2623, allocations: 43.98 kB / 490.9 MB, free: 5.836 MB / 366.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.0005127/0.2629, allocations: 389.3 kB / 491.3 MB, free: 5.445 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001395/0.263, allocations: 94.88 kB / 491.4 MB, free: 5.352 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002043/0.265, allocations: 1.244 MB / 492.6 MB, free: 4.078 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-06/0.2651, allocations: 8 kB / 492.6 MB, free: 4.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.2651, allocations: 7.938 kB / 492.6 MB, free: 4.062 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.2651, allocations: 3.984 kB / 492.6 MB, free: 4.059 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003564/0.2687, allocations: 2.4 MB / 495 MB, free: 1.562 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.2687, allocations: 8.031 kB / 495 MB, free: 1.555 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004209/0.2691, allocations: 107.8 kB / 495.1 MB, free: 1.449 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009815/0.2701, allocations: 367.8 kB / 495.5 MB, free: 1.074 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-05/0.2702, allocations: 31.98 kB / 495.5 MB, free: 1.043 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006608/0.2768, allocations: 8.492 MB / 0.4922 GB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.2768, allocations: 7.969 kB / 0.4922 GB, free: 7.879 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002399/0.2792, allocations: 1.68 MB / 0.4938 GB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003156/0.2795, allocations: 227.9 kB / 0.4941 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/0.2797, allocations: 27.98 kB / 0.4941 GB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004159/0.2801, allocations: 19.98 kB / 0.4941 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/0.2802, allocations: 72.34 kB / 0.4942 GB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.273e-05/0.2803, allocations: 20 kB / 0.4942 GB, free: 5.758 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00059/0.2809, allocations: 0.5068 MB / 0.4947 GB, free: 5.254 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2809, allocations: 0 / 0.4947 GB, free: 5.254 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001214/0.2821, allocations: 368 kB / 0.495 GB, free: 4.895 MB / 382.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.0002867/0.2824, allocations: 147.1 kB / 0.4952 GB, free: 4.742 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002056/0.2845, allocations: 1.567 MB / 0.4967 GB, free: 3.129 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.2845, allocations: 0 / 0.4967 GB, free: 3.129 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001397/0.2859, allocations: 1.094 MB / 0.4978 GB, free: 1.973 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.2869, allocations: 195.2 kB / 0.498 GB, free: 1.781 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004255/0.2912, allocations: 3.319 MB / 0.5012 GB, free: 14.4 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008416/0.292, allocations: 1.258 MB / 0.5024 GB, free: 13.11 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000193/0.2922, allocations: 67.42 kB / 0.5025 GB, free: 13.04 MB / 398.1 MB Notification: Performance of SimCode: time 6.41e-07/0.2922, allocations: 4 kB / 0.5025 GB, free: 13.04 MB / 398.1 MB Notification: Performance of Templates: time 0.1754/0.4676, allocations: 32.71 MB / 0.5345 GB, free: 76.26 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.makefile make -j1 -f PowerSystems_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_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLineCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLineCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLineCalcHelperMain.o] Error 1